[empathy] gdk_xid_table_lookup has been deprecated (#637855)
- From: Guillaume Desmottes <gdesmott src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [empathy] gdk_xid_table_lookup has been deprecated (#637855)
- Date: Thu, 23 Dec 2010 10:39:12 +0000 (UTC)
commit 23a647a3dcb0109aadcb9a3f40d788754cd48767
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date: Thu Dec 23 11:39:03 2010 +0100
gdk_xid_table_lookup has been deprecated (#637855)
libempathy-gtk/empathy-avatar-image.c | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-avatar-image.c b/libempathy-gtk/empathy-avatar-image.c
index a8041d2..a11627d 100644
--- a/libempathy-gtk/empathy-avatar-image.c
+++ b/libempathy-gtk/empathy-avatar-image.c
@@ -155,7 +155,8 @@ avatar_image_add_filter (EmpathyAvatarImage *avatar_image)
mask = PropertyChangeMask;
window = GDK_ROOT_WINDOW ();
- gdkwindow = gdk_xid_table_lookup (window);
+ gdkwindow = gdk_x11_window_lookup_for_display (gdk_display_get_default (),
+ window);
gdk_error_trap_push ();
if (gdkwindow) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]