From 2df86e1966d9409963c94196beda1bad498744ff Mon Sep 17 00:00:00 2001 From: "Jasper St. Pierre" Date: Sat, 16 Feb 2013 00:31:26 -0500 Subject: [PATCH] shell-keybinding-modes: Don't use expression references This confuses the gobject-introspection scanner, silently making SHELL_KEYBINDING_MODE_NONE into -1. https://bugzilla.gnome.org/show_bug.cgi?id=693940 --- src/shell-keybinding-modes.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/shell-keybinding-modes.h b/src/shell-keybinding-modes.h index e02429a74..c9ba8dab9 100644 --- a/src/shell-keybinding-modes.h +++ b/src/shell-keybinding-modes.h @@ -30,6 +30,6 @@ typedef enum { SHELL_KEYBINDING_MODE_SYSTEM_MODAL = 1 << 6, SHELL_KEYBINDING_MODE_LOOKING_GLASS = 1 << 7, - SHELL_KEYBINDING_MODE_ALL = ~SHELL_KEYBINDING_MODE_NONE + SHELL_KEYBINDING_MODE_ALL = ~0, } ShellKeyBindingMode;