[gtk+/rendering-cleanup: 13/55] x11: Use GDK_WINDOW_XID() instead of writing it out



commit d7fbf297e43221635d95e59bafa3aa320009002b
Author: Benjamin Otte <otte redhat com>
Date:   Wed Oct 6 02:14:59 2010 +0200

    x11: Use GDK_WINDOW_XID() instead of writing it out

 gdk/x11/gdkgeometry-x11.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gdk/x11/gdkgeometry-x11.c b/gdk/x11/gdkgeometry-x11.c
index f7e967f..a9a10ef 100644
--- a/gdk/x11/gdkgeometry-x11.c
+++ b/gdk/x11/gdkgeometry-x11.c
@@ -309,8 +309,8 @@ _gdk_x11_window_translate (GdkWindow      *window,
   gdk_window_queue (window, item);
 
   XCopyArea (GDK_WINDOW_XDISPLAY ((GdkWindow *) impl),
-             GDK_DRAWABLE_IMPL_X11 (private->impl)->xid,
-             GDK_DRAWABLE_IMPL_X11 (impl->impl)->xid,
+             GDK_WINDOW_XID (private),
+             GDK_WINDOW_XID (impl),
              xgc,
              extents.x - dx, extents.y - dy,
              extents.width, extents.height,



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