summaryrefslogtreecommitdiff
path: root/maximus/main.c
diff options
context:
space:
mode:
Diffstat (limited to 'maximus/main.c')
-rw-r--r--maximus/main.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/maximus/main.c b/maximus/main.c
index bfbc284..159c7bf 100644
--- a/maximus/main.c
+++ b/maximus/main.c
@@ -83,7 +83,11 @@ gint main (gint argc, gchar *argv[])
gdk_error_trap_push ();
app = maximus_app_get_default ();
+#if GTK_CHECK_VERSION (3, 0, 0)
+ gdk_error_trap_pop_ignored ();
+#else
gdk_error_trap_pop ();
+#endif
gtk_main ();