diff options
Diffstat (limited to 'libmate-desktop/mate-rr.c')
-rw-r--r-- | libmate-desktop/mate-rr.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/libmate-desktop/mate-rr.c b/libmate-desktop/mate-rr.c index e7147bc..079ce2c 100644 --- a/libmate-desktop/mate-rr.c +++ b/libmate-desktop/mate-rr.c @@ -499,12 +499,7 @@ fill_out_screen_info (Display *xdisplay, info->primary = None; gdk_error_trap_push (); info->primary = XRRGetOutputPrimary (xdisplay, xroot); -#if GTK_CHECK_VERSION (3, 0, 0) gdk_error_trap_pop_ignored (); -#else - gdk_flush (); - gdk_error_trap_pop (); /* ignore error */ -#endif return TRUE; #else @@ -851,12 +846,7 @@ mate_rr_screen_set_size (MateRRScreen *screen, gdk_error_trap_push (); XRRSetScreenSize (screen->priv->xdisplay, screen->priv->xroot, width, height, mm_width, mm_height); - #if GTK_CHECK_VERSION (3, 0, 0) gdk_error_trap_pop_ignored (); - #else - gdk_flush (); - gdk_error_trap_pop (); /* ignore error */ - #endif #endif } |