diff options
author | Stefano Karapetsas <[email protected]> | 2013-11-20 03:54:22 -0800 |
---|---|---|
committer | Stefano Karapetsas <[email protected]> | 2013-11-20 03:54:22 -0800 |
commit | ef1bad990c74e1b39e3184139c7742fa6569a612 (patch) | |
tree | 8c15d5fee1941b34cfdb13452c5c77ec550e071f /mate-panel/panel-force-quit.c | |
parent | 6baad9dafc848b65cc469e03ea12388d98db9cd1 (diff) | |
parent | 22dae140b0fcc7050c524ff6785673b5eee59c2b (diff) | |
download | mate-panel-ef1bad990c74e1b39e3184139c7742fa6569a612.tar.bz2 mate-panel-ef1bad990c74e1b39e3184139c7742fa6569a612.tar.xz |
Merge pull request #142 from NiceandGently/master
GTK3: Fix compile warning by using gdk_error_trap_pop_ignored()
Diffstat (limited to 'mate-panel/panel-force-quit.c')
-rw-r--r-- | mate-panel/panel-force-quit.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/mate-panel/panel-force-quit.c b/mate-panel/panel-force-quit.c index b86517e4..34fd8ee2 100644 --- a/mate-panel/panel-force-quit.c +++ b/mate-panel/panel-force-quit.c @@ -194,7 +194,11 @@ kill_window_response (GtkDialog *dialog, gdk_error_trap_push (); XKillClient (display, window); gdk_flush (); +#if GTK_CHECK_VERSION (3, 0, 0) + gdk_error_trap_pop_ignored (); +#else gdk_error_trap_pop (); +#endif } gtk_widget_destroy (GTK_WIDGET (dialog)); |