diff options
author | monsta <[email protected]> | 2016-01-21 11:31:18 +0300 |
---|---|---|
committer | monsta <[email protected]> | 2016-01-21 11:31:46 +0300 |
commit | 73e3b4764a37a280998c136a6900842181b326fd (patch) | |
tree | 0ca11c48990adc8d394dd46dd80e06989ab58f6f | |
parent | abeef28b60a5e9338fde21ec83b86dcd48964780 (diff) | |
download | mate-netbook-73e3b4764a37a280998c136a6900842181b326fd.tar.bz2 mate-netbook-73e3b4764a37a280998c136a6900842181b326fd.tar.xz |
[GTK+3] maximus: use gdk_error_trap_pop_ignored
-rw-r--r-- | maximus/main.c | 4 | ||||
-rw-r--r-- | maximus/maximus-app.c | 4 |
2 files changed, 8 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 (); diff --git a/maximus/maximus-app.c b/maximus/maximus-app.c index 76aed8e..f6ee627 100644 --- a/maximus/maximus-app.c +++ b/maximus/maximus-app.c @@ -481,7 +481,11 @@ on_app_undecorate_changed (GSettings *settings, wnck_window_unmaximize (window); wnck_window_maximize (window); gdk_flush (); +#if GTK_CHECK_VERSION (3, 0, 0) + gdk_error_trap_pop_ignored (); +#else gdk_error_trap_pop (); +#endif sleep (1); } |