[gnome-shell] shell-keybinding-modes: Don't use expression references
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-shell] shell-keybinding-modes: Don't use expression references
- Date: Sat, 16 Feb 2013 16:45:00 +0000 (UTC)
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]