Commit 0841281b authored by Benjamin Otte's avatar Benjamin Otte

x11: Use window macros in test code

parent 28ba4c21
......@@ -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:
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment