From 0841281b5554579ca6d6529ace20a8ab88b05e0b Mon Sep 17 00:00:00 2001 From: Benjamin Otte Date: Wed, 6 Oct 2010 01:05:19 +0200 Subject: [PATCH] x11: Use window macros in test code --- gdk/x11/gdktestutils-x11.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gdk/x11/gdktestutils-x11.c b/gdk/x11/gdktestutils-x11.c index d4d47fbad7..cfb38ebc53 100644 --- a/gdk/x11/gdktestutils-x11.c +++ b/gdk/x11/gdktestutils-x11.c @@ -41,7 +41,7 @@ void gdk_test_render_sync (GdkWindow *window) { - Display *display = gdk_x11_drawable_get_xdisplay (window); + Display *display = GDK_WINDOW_XDISPLAY (window); XImage *ximage; /* syncronize to X drawing queue, see: