diff options
author | Diego Escalante Urrelo <descalante@igalia.com> | 2010-09-20 07:06:27 +0800 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-09-28 16:26:00 +0800 |
commit | 8031eb1f58dff35e0deb3b01f80d75b6dce16454 (patch) | |
tree | ab3cc3be2c3c76815df5d5afe37181185ee20ae9 /libempathy-gtk/empathy-avatar-image.c | |
parent | 96da6bac8ac2cfa4b39cb27d6284b8f5d3dcfece (diff) | |
download | gsoc2013-empathy-8031eb1f58dff35e0deb3b01f80d75b6dce16454.tar gsoc2013-empathy-8031eb1f58dff35e0deb3b01f80d75b6dce16454.tar.gz gsoc2013-empathy-8031eb1f58dff35e0deb3b01f80d75b6dce16454.tar.bz2 gsoc2013-empathy-8031eb1f58dff35e0deb3b01f80d75b6dce16454.tar.lz gsoc2013-empathy-8031eb1f58dff35e0deb3b01f80d75b6dce16454.tar.xz gsoc2013-empathy-8031eb1f58dff35e0deb3b01f80d75b6dce16454.tar.zst gsoc2013-empathy-8031eb1f58dff35e0deb3b01f80d75b6dce16454.zip |
empathy-avatar-image: don't use gdk_display global
This is deprecated for GTK+ 2.22.
Bug #630107
Diffstat (limited to 'libempathy-gtk/empathy-avatar-image.c')
-rw-r--r-- | libempathy-gtk/empathy-avatar-image.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/libempathy-gtk/empathy-avatar-image.c b/libempathy-gtk/empathy-avatar-image.c index cfc73b702..c74557fc2 100644 --- a/libempathy-gtk/empathy-avatar-image.c +++ b/libempathy-gtk/empathy-avatar-image.c @@ -160,11 +160,11 @@ avatar_image_add_filter (EmpathyAvatarImage *avatar_image) gdk_error_trap_push (); if (gdkwindow) { XWindowAttributes attrs; - XGetWindowAttributes (gdk_display, window, &attrs); + XGetWindowAttributes (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), window, &attrs); mask |= attrs.your_event_mask; } - XSelectInput (gdk_display, window, mask); + XSelectInput (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), window, mask); gdk_error_trap_pop (); |