summaryrefslogtreecommitdiff
path: root/gtk/gtkstatusbar.c
diff options
context:
space:
mode:
authorTimm Bäder <mail@baedert.org>2017-08-09 16:26:26 +0200
committerTimm Bäder <mail@baedert.org>2017-08-09 16:26:26 +0200
commita8a755e5cddc0f1736cc198301088310a6e26627 (patch)
tree4f8f78501f11a79c45e1f47980d6c36124ebd1e0 /gtk/gtkstatusbar.c
parent5874a30c738397f88efd92199c79eff81a7bdd2a (diff)
downloadgtk+-a8a755e5cddc0f1736cc198301088310a6e26627.tar.gz
widget: Remove gtk_widget_set_redraw_on_alloc
Since gtk+ draws more than the widget and allocates more size to it than it knows about, this flag doesn't work anymore. Removing it (or setting it to TRUE for widgets that used to set it to FALSE) fixes drawing invalidation when these widgets get allocated a new size.
Diffstat (limited to 'gtk/gtkstatusbar.c')
-rw-r--r--gtk/gtkstatusbar.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkstatusbar.c b/gtk/gtkstatusbar.c
index 9ffca74435..56bf58ff39 100644
--- a/gtk/gtkstatusbar.c
+++ b/gtk/gtkstatusbar.c
@@ -237,7 +237,6 @@ gtk_statusbar_init (GtkStatusbar *statusbar)
priv->keys = NULL;
gtk_widget_init_template (GTK_WIDGET (statusbar));
- gtk_widget_set_redraw_on_allocate (GTK_WIDGET (statusbar), TRUE);
}
/**