[gtk+] x11: Use window macros in test code



commit 0841281b5554579ca6d6529ace20a8ab88b05e0b
Author: Benjamin Otte <otte redhat com>
Date:   Wed Oct 6 01:05:19 2010 +0200

    x11: Use window macros in test code

 gdk/x11/gdktestutils-x11.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gdk/x11/gdktestutils-x11.c b/gdk/x11/gdktestutils-x11.c
index d4d47fb..cfb38eb 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:



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]