[gtk/wip/matthiasc/popup5: 24/115] widget: Stop using child surface apis
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk/wip/matthiasc/popup5: 24/115] widget: Stop using child surface apis
- Date: Sun, 19 May 2019 04:46:25 +0000 (UTC)
commit 378214890f859ca896289018e9988b7ed88f360e
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 60f5d06c46..02f8667cb8 100644
--- a/gtk/gtkwidget.c
+++ b/gtk/gtkwidget.c
@@ -13009,10 +13009,6 @@ gtk_widget_render (GtkWidget *widget,
if (!GTK_IS_NATIVE (widget))
return;
- /* We only render double buffered on native windows */
- if (!gdk_surface_has_native (surface))
- return;
-
renderer = gtk_native_get_renderer (GTK_NATIVE (widget));
if (renderer == NULL)
return;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]