From 4940310cda91a4bea223deb7568fb77829518ded Mon Sep 17 00:00:00 2001 From: Pablo Barciela Date: Sun, 6 Jan 2019 12:44:59 +0100 Subject: 'meta_error_trap_push' instead 'meta_error_trap_push_with_return' both functions have the same code --- src/core/screen.c | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) (limited to 'src/core/screen.c') diff --git a/src/core/screen.c b/src/core/screen.c index 1259ca8a..5bc5d2e2 100644 --- a/src/core/screen.c +++ b/src/core/screen.c @@ -379,7 +379,7 @@ meta_screen_new (MetaDisplay *display, } /* We want to find out when the current selection owner dies */ - meta_error_trap_push_with_return (display); + meta_error_trap_push (display); attrs.event_mask = StructureNotifyMask; XChangeWindowAttributes (xdisplay, current_wm_sn_owner, CWEventMask, &attrs); @@ -438,7 +438,7 @@ meta_screen_new (MetaDisplay *display, } /* select our root window events */ - meta_error_trap_push_with_return (display); + meta_error_trap_push (display); /* We need to or with the existing event mask since * gtk+ may be interested in other events. @@ -669,7 +669,7 @@ meta_screen_free (MetaScreen *screen, meta_stack_free (screen->stack); - meta_error_trap_push_with_return (screen->display); + meta_error_trap_push (screen->display); XSelectInput (screen->display->xdisplay, screen->xroot, 0); if (meta_error_trap_pop_with_return (screen->display, FALSE) != Success) meta_warning (_("Could not release screen %d on display \"%s\"\n"), @@ -735,7 +735,7 @@ list_windows (MetaScreen *screen) { WindowInfo *info = g_new0 (WindowInfo, 1); - meta_error_trap_push_with_return (screen->display); + meta_error_trap_push (screen->display); XGetWindowAttributes (screen->display->xdisplay, children[i], &info->attrs); -- cgit v1.2.1