[empathy] use gdk_error_trap_pop_ignored() instead of gdk_error_trap_pop()



commit e7e4a5c52a92f3d0b328b7a66b14063d9ef96fa8
Author: Guillaume Desmottes <guillaume desmottes collabora co uk>
Date:   Wed Sep 29 15:55:59 2010 +0200

    use gdk_error_trap_pop_ignored() instead of gdk_error_trap_pop()
    
    We actually ignore the return value.

 libempathy-gtk/empathy-avatar-image.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy-gtk/empathy-avatar-image.c b/libempathy-gtk/empathy-avatar-image.c
index c74557f..a8041d2 100644
--- a/libempathy-gtk/empathy-avatar-image.c
+++ b/libempathy-gtk/empathy-avatar-image.c
@@ -166,7 +166,7 @@ avatar_image_add_filter (EmpathyAvatarImage *avatar_image)
 
 	XSelectInput (GDK_DISPLAY_XDISPLAY (gdk_display_get_default ()), window, mask);
 
-	gdk_error_trap_pop ();
+	gdk_error_trap_pop_ignored ();
 
 	gdk_window_add_filter (NULL, avatar_image_filter_func, avatar_image);
 }



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]