summaryrefslogtreecommitdiff
path: root/gtk/gtkglarea.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/gtkglarea.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/gtkglarea.c')
-rw-r--r--gtk/gtkglarea.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/gtk/gtkglarea.c b/gtk/gtkglarea.c
index 3c1965f674..3d5e47d6d9 100644
--- a/gtk/gtkglarea.c
+++ b/gtk/gtkglarea.c
@@ -957,8 +957,6 @@ gtk_gl_area_init (GtkGLArea *area)
{
GtkGLAreaPrivate *priv = gtk_gl_area_get_instance_private (area);
- gtk_widget_set_has_surface (GTK_WIDGET (area), FALSE);
-
priv->auto_render = TRUE;
priv->needs_render = TRUE;
priv->required_gl_version = 0;