[gtk] reftests: Fix compilation
- From: Benjamin Otte <otte src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk] reftests: Fix compilation
- Date: Mon, 25 Jun 2018 22:55:54 +0000 (UTC)
commit 0c7626495391ebd08d9724fd60e1c409893b855e
Author: Benjamin Otte <otte redhat com>
Date: Tue Jun 26 00:53:39 2018 +0200
reftests: Fix compilation
FOREIGN surfaces are gone.
testsuite/reftests/reftest-snapshot.c | 3 +--
1 file changed, 1 insertion(+), 2 deletions(-)
---
diff --git a/testsuite/reftests/reftest-snapshot.c b/testsuite/reftests/reftest-snapshot.c
index 2640050dd8..b84d2f5832 100644
--- a/testsuite/reftests/reftest-snapshot.c
+++ b/testsuite/reftests/reftest-snapshot.c
@@ -108,8 +108,7 @@ snapshot_window_native (GdkSurface *window,
XWindowAttributes attrs;
if (gdk_surface_get_surface_type (window) == GDK_SURFACE_TOPLEVEL ||
- gdk_surface_get_surface_type (window) == GDK_SURFACE_TEMP ||
- gdk_surface_get_surface_type (window) == GDK_SURFACE_FOREIGN)
+ gdk_surface_get_surface_type (window) == GDK_SURFACE_TEMP)
{
/* give the WM/server some time to sync. They need it.
* Also, do use popups instead of toplevels in your tests
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]