[gnome-panel/gtk3] force-quit: Use gdk_error_trap_pop_ignored() to fix compile warnings



commit 7af044a7f3240329a7a5b053b361e62615216e4d
Author: Germán Póo-Caamaño <gpoo gnome org>
Date:   Sat Jan 29 21:43:26 2011 -0800

    force-quit: Use gdk_error_trap_pop_ignored() to fix compile warnings
    
    Use the new gdk_error_trap_pop_ignored() function instead of
    gdk_error_trap_pop() when there is no need of the returned
    value.
    
    Signed-off-by: Germán Póo-Caamaño <gpoo gnome org>

 gnome-panel/panel-force-quit.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gnome-panel/panel-force-quit.c b/gnome-panel/panel-force-quit.c
index 9ac9040..a80bdca 100644
--- a/gnome-panel/panel-force-quit.c
+++ b/gnome-panel/panel-force-quit.c
@@ -202,7 +202,7 @@ kill_window_response (GtkDialog *dialog,
 		gdk_error_trap_push ();
 		XKillClient (display, window);
 		gdk_flush ();
-		gdk_error_trap_pop ();
+		gdk_error_trap_pop_ignored ();
 	}
 
 	gtk_widget_destroy (GTK_WIDGET (dialog));



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