diff options
Diffstat (limited to 'libempathy-gtk/empathy-avatar-image.c')
-rw-r--r-- | 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 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) { |