summaryrefslogtreecommitdiff
path: root/gtk/gtkgrid.c
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2019-05-17 21:08:38 +0000
committerMatthias Clasen <mclasen@redhat.com>2019-05-28 20:25:15 +0000
commit18788c2a860f4779757633a4d44babd2cc4f9e2c (patch)
treee55f09ef3b28b16b751976dd33ca8507017c3024 /gtk/gtkgrid.c
parentdb855e092d0fcbb49b9b44b2c4497cc89a596215 (diff)
downloadgtk+-18788c2a860f4779757633a4d44babd2cc4f9e2c.tar.gz
Remove gtk_widget_get/set_has_surface
These serve no purpose anymore - widgets don't have surfaces, unless they're a GtkNative.
Diffstat (limited to 'gtk/gtkgrid.c')
-rw-r--r--gtk/gtkgrid.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkgrid.c b/gtk/gtkgrid.c
index 18d005280b..a0c3ac107e 100644
--- a/gtk/gtkgrid.c
+++ b/gtk/gtkgrid.c
@@ -389,8 +389,6 @@ gtk_grid_init (GtkGrid *grid)
{
GtkGridPrivate *priv = gtk_grid_get_instance_private (grid);
- gtk_widget_set_has_surface (GTK_WIDGET (grid), FALSE);
-
priv->layout_manager = gtk_widget_get_layout_manager (GTK_WIDGET (grid));
priv->orientation = GTK_ORIENTATION_HORIZONTAL;