summaryrefslogtreecommitdiff
path: root/plugins/keybindings/msd-keybindings-manager.c
diff options
context:
space:
mode:
Diffstat (limited to 'plugins/keybindings/msd-keybindings-manager.c')
-rw-r--r--plugins/keybindings/msd-keybindings-manager.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/plugins/keybindings/msd-keybindings-manager.c b/plugins/keybindings/msd-keybindings-manager.c
index c4fd858..e73f57e 100644
--- a/plugins/keybindings/msd-keybindings-manager.c
+++ b/plugins/keybindings/msd-keybindings-manager.c
@@ -330,7 +330,11 @@ binding_unregister_keys (MsdKeybindingsManager *manager)
if (need_flush)
gdk_flush ();
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gdk_error_trap_pop_ignored ();
+#else
gdk_error_trap_pop ();
+#endif
}
static void