summaryrefslogtreecommitdiff
path: root/gtk/gtkbox.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/gtkbox.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/gtkbox.c')
-rw-r--r--gtk/gtkbox.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkbox.c b/gtk/gtkbox.c
index 616b7d6e44..bd016c98c7 100644
--- a/gtk/gtkbox.c
+++ b/gtk/gtkbox.c
@@ -346,8 +346,6 @@ gtk_box_init (GtkBox *box)
{
GtkBoxPrivate *priv = gtk_box_get_instance_private (box);
- gtk_widget_set_has_surface (GTK_WIDGET (box), FALSE);
-
priv->orientation = GTK_ORIENTATION_HORIZONTAL;
_gtk_orientable_set_style_classes (GTK_ORIENTABLE (box));
}