[gtk/wip/matthiasc/popup2: 73/93] widget: Stop using child surface apis



commit 3f24b40673959f4e61e8a23dc05bea0b284d7e3a
Author: Matthias Clasen <mclasen redhat com>
Date:   Sat Mar 23 02:01:52 2019 -0400

    widget: Stop using child surface apis
    
    All our surfaces are toplevels now, and thus all native.

 gtk/gtkwidget.c | 4 ----
 1 file changed, 4 deletions(-)
---
diff --git a/gtk/gtkwidget.c b/gtk/gtkwidget.c
index 96a367aef9..d1f18457de 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -12809,10 +12809,6 @@ gtk_widget_render (GtkWidget            *widget,
   if (!GTK_IS_ROOT (widget))
     return;
 
-  /* We only render double buffered on native windows */
-  if (!gdk_surface_has_native (surface))
-    return;
-
   renderer = gtk_root_get_renderer (GTK_ROOT (widget));
   if (renderer == NULL)
     return;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]