[gnome-shell] shell-keybinding-modes: Don't use expression references



commit 2df86e1966d9409963c94196beda1bad498744ff
Author: Jasper St. Pierre <jstpierre mecheye net>
Date:   Sat Feb 16 00:31:26 2013 -0500

    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 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/shell-keybinding-modes.h b/src/shell-keybinding-modes.h
index e02429a..c9ba8da 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;
 


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]