errors: Kill off meta_error_trap_push_with_return

It isn't special; it's just an alias for meta_error_trap_push.
This commit is contained in:
Jasper St. Pierre
2014-04-06 15:52:44 -04:00
parent 75de29f5f7
commit b9e9595e8b
11 changed files with 18 additions and 25 deletions

View File

@ -1065,7 +1065,7 @@ meta_change_keygrab (MetaDisplay *display,
mods = (XIGrabModifiers) { modmask | ignored_mask, 0 };
if (meta_is_debugging ())
meta_error_trap_push_with_return (display);
meta_error_trap_push (display);
if (grab)
XIGrabKeycode (display->xdisplay,
META_VIRTUAL_CORE_KEYBOARD_ID,
@ -1410,7 +1410,7 @@ grab_keyboard (MetaDisplay *display,
/* Grab the keyboard, so we get key releases and all key
* presses
*/
meta_error_trap_push_with_return (display);
meta_error_trap_push (display);
/* Strictly, we only need to set grab_mode on the keyboard device
* while the pointer should always be XIGrabModeAsync. Unfortunately