summaryrefslogtreecommitdiff
path: root/gtk/gtkgrid.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/gtkgrid.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/gtkgrid.c')
-rw-r--r--gtk/gtkgrid.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c
index fbd7814a51..73ae2eb5ff 100644
--- a/gtk/gtkgrid.c
+++ b/gtk/gtkgrid.c
@@ -1727,7 +1727,6 @@ gtk_grid_init (GtkGrid *grid)
priv = grid->priv;
gtk_widget_set_has_window (GTK_WIDGET (grid), FALSE);
- gtk_widget_set_redraw_on_allocate (GTK_WIDGET (grid), FALSE);
priv->children = NULL;
priv->orientation = GTK_ORIENTATION_HORIZONTAL;