summaryrefslogtreecommitdiff
path: root/gtk/gtkgrid.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/gtkgrid.c')
-rw-r--r--gtk/gtkgrid.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c
index 2fe3024e5b..674ba18025 100644
--- a/gtk/gtkgrid.c
+++ b/gtk/gtkgrid.c
@@ -1729,7 +1729,7 @@ gtk_grid_init (GtkGrid *grid)
{
GtkGridPrivate *priv = gtk_grid_get_instance_private (grid);
- gtk_widget_set_has_window (GTK_WIDGET (grid), FALSE);
+ gtk_widget_set_has_surface (GTK_WIDGET (grid), FALSE);
priv->children = NULL;
priv->orientation = GTK_ORIENTATION_HORIZONTAL;