aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy-gtk/empathy-avatar-image.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-23 18:39:03 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-12-23 18:39:03 +0800
commit23a647a3dcb0109aadcb9a3f40d788754cd48767 (patch)
treef4f416979d1adb727c5aa568ca67109991997d2b /libempathy-gtk/empathy-avatar-image.c
parent1968b5ac26a4e2dac0220cb3203def2854de095d (diff)
downloadgsoc2013-empathy-23a647a3dcb0109aadcb9a3f40d788754cd48767.tar
gsoc2013-empathy-23a647a3dcb0109aadcb9a3f40d788754cd48767.tar.gz
gsoc2013-empathy-23a647a3dcb0109aadcb9a3f40d788754cd48767.tar.bz2
gsoc2013-empathy-23a647a3dcb0109aadcb9a3f40d788754cd48767.tar.lz
gsoc2013-empathy-23a647a3dcb0109aadcb9a3f40d788754cd48767.tar.xz
gsoc2013-empathy-23a647a3dcb0109aadcb9a3f40d788754cd48767.tar.zst
gsoc2013-empathy-23a647a3dcb0109aadcb9a3f40d788754cd48767.zip
gdk_xid_table_lookup has been deprecated (#637855)
Diffstat (limited to 'libempathy-gtk/empathy-avatar-image.c')
-rw-r--r--libempathy-gtk/empathy-avatar-image.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-avatar-image.c b/libempathy-gtk/empathy-avatar-image.c
index a8041d2ba..a11627d15 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) {