diff options
author | Peter Hofmann <scm@uninformativ.de> | 2016-06-14 19:28:02 +0200 |
---|---|---|
committer | Peter Hofmann <scm@uninformativ.de> | 2016-06-14 19:28:02 +0200 |
commit | eee4c98bc27d2e9c2512bbb7828acd7a996f2251 (patch) | |
tree | 53452b11610f784dcab4dbd7da1f75a198e872a7 | |
parent | 8b89648426c50cbc07997bd488458bcf4abe2a06 (diff) | |
download | lariza-eee4c98bc27d2e9c2512bbb7828acd7a996f2251.tar.gz |
Get rid of Gtk warning
Fixes this:
(lariza:675): Gtk-WARNING **: Negative content width -2 (allocation 0, extents 1x1) while allocating gadget (node block, owner GtkLevelBar)
Funny enough, even without calling gtk_level_bar_set_value(), I get this
warning. Almost feels like a Gtk bug?
Closes #20.
-rw-r--r-- | browser.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -203,7 +203,7 @@ client_new(const gchar *uri) /* XXX Progress bars don't work/look as intended anymore. Level bars * are a dirty workaround (kind of). */ c->progress = gtk_level_bar_new(); - gtk_level_bar_set_value(GTK_LEVEL_BAR(c->progress), 0); + gtk_level_bar_set_value(GTK_LEVEL_BAR(c->progress), 1); gtk_widget_set_size_request(c->progress, 100, -1); c->top_box = gtk_box_new(GTK_ORIENTATION_HORIZONTAL, 0); |