widget: Stop using child surface apis

All our surfaces are toplevels now, and thus all native.
This commit is contained in:
Matthias Clasen
2019-03-23 02:01:52 -04:00
parent 7454f41283
commit 6cc1e557dd

View File

@@ -13201,10 +13201,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;