[gtk+/rendering-cleanup: 5/65] x11: Use window macros in test code



commit 0df6b94351b5ad161bc727170cd9918cc566eabf
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]