[gnome-utils] screenshot: adapt for GDK backend API changes
- From: Cosimo Cecchi <cosimoc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-utils] screenshot: adapt for GDK backend API changes
- Date: Wed, 22 Dec 2010 17:23:49 +0000 (UTC)
commit 0c64a8af2ef6c0cf8b3ee4fef3bda39624a90797
Author: Cosimo Cecchi <cosimoc gnome org>
Date: Wed Dec 22 18:22:39 2010 +0100
screenshot: adapt for GDK backend API changes
gnome-screenshot/screenshot-utils.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-screenshot/screenshot-utils.c b/gnome-screenshot/screenshot-utils.c
index c06980c..0a44be9 100644
--- a/gnome-screenshot/screenshot-utils.c
+++ b/gnome-screenshot/screenshot-utils.c
@@ -682,7 +682,7 @@ screenshot_get_pixbuf (GdkWindow *window,
wm = find_wm_window (xid);
if (wm != None)
- window = gdk_window_foreign_new (wm);
+ window = gdk_x11_window_foreign_new_for_display (gdk_window_get_display (window), wm);
/* fallback to no border if we can't find the WM window. */
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]