[gnome-session] Fix build with current GTK+



commit ce7828bbd9446fd08edfaca9815b76c1314b99ed
Author: Matthias Clasen <mclasen redhat com>
Date:   Thu Dec 2 18:05:48 2010 -0500

    Fix build with current GTK+

 gnome-session/test-inhibit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-session/test-inhibit.c b/gnome-session/test-inhibit.c
index 68cc0a7..8a08ab9 100644
--- a/gnome-session/test-inhibit.c
+++ b/gnome-session/test-inhibit.c
@@ -87,7 +87,7 @@ do_inhibit_for_window (GdkWindow *window)
         app_id = "nautilus";
         reason = "A file transfer is in progress.";
 #endif
-        toplevel_xid = GDK_DRAWABLE_XID (window);
+        toplevel_xid = gdk_x11_window_get_xid (window);
         flags = GSM_INHIBITOR_FLAG_LOGOUT
                 | GSM_INHIBITOR_FLAG_SWITCH_USER
                 | GSM_INHIBITOR_FLAG_SUSPEND;



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