[gtk/wip/matthiasc/popup4: 45/115] widget: Stop using child surface apis
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup4: 45/115] widget: Stop using child surface apis
- Date: Wed, 24 Apr 2019 19:34:23 +0000 (UTC)
commit bf3c8598539c543af7f321be055803e4630657b4
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 a717055bcd..e75131b885 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -13245,10 +13245,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]