[gnome-utils] Fix build with current GTK+
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] Fix build with current GTK+
- Date: Fri, 3 Dec 2010 01:35:15 +0000 (UTC)
commit 6f22c056496b375bbd01018e24537b23d48d1dcf
Author: Matthias Clasen <mclasen redhat com>
Date: Thu Dec 2 20:34:32 2010 -0500
Fix build with current GTK+
Replace GDK_WINDOW_XWINDOW calls by GDK_WINDOW_XID
gnome-screenshot/screenshot-utils.c | 4 ++--
1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gnome-screenshot/screenshot-utils.c b/gnome-screenshot/screenshot-utils.c
index 1195329..c06980c 100644
--- a/gnome-screenshot/screenshot-utils.c
+++ b/gnome-screenshot/screenshot-utils.c
@@ -678,7 +678,7 @@ screenshot_get_pixbuf (GdkWindow *window,
{
Window xid, wm;
- xid = GDK_WINDOW_XWINDOW (window);
+ xid = GDK_WINDOW_XID (window);
wm = find_wm_window (xid);
if (wm != None)
@@ -742,7 +742,7 @@ screenshot_get_pixbuf (GdkWindow *window,
*/
rectangles = XShapeGetRectangles (GDK_DISPLAY_XDISPLAY (gdk_display_get_default()),
- GDK_WINDOW_XWINDOW (window),
+ GDK_WINDOW_XID (window),
ShapeBounding,
&rectangle_count,
&rectangle_order);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]