prefs: Completely remove references to REVERSES

And fill up the gap in the flags as well
This commit is contained in:
Jasper St. Pierre 2014-08-17 22:48:12 -04:00
parent 20a6243c85
commit 652fe57cdd
2 changed files with 1 additions and 8 deletions

View File

@ -29,7 +29,6 @@ guint meta_key_binding_get_mask (MetaKeyBinding *binding);
gboolean meta_key_binding_is_builtin (MetaKeyBinding *binding); gboolean meta_key_binding_is_builtin (MetaKeyBinding *binding);
gboolean meta_key_binding_is_reversed (MetaKeyBinding *binding); gboolean meta_key_binding_is_reversed (MetaKeyBinding *binding);
gboolean meta_keybindings_set_custom_handler (const gchar *name, gboolean meta_keybindings_set_custom_handler (const gchar *name,
MetaKeyHandlerFunc handler, MetaKeyHandlerFunc handler,
gpointer user_data, gpointer user_data,

View File

@ -369,7 +369,6 @@ typedef enum _MetaKeyBindingAction
* @META_KEY_BINDING_NONE: none * @META_KEY_BINDING_NONE: none
* @META_KEY_BINDING_PER_WINDOW: per-window * @META_KEY_BINDING_PER_WINDOW: per-window
* @META_KEY_BINDING_BUILTIN: built-in * @META_KEY_BINDING_BUILTIN: built-in
* @META_KEY_BINDING_REVERSES: reverses
* @META_KEY_BINDING_IS_REVERSED: is reversed * @META_KEY_BINDING_IS_REVERSED: is reversed
*/ */
typedef enum typedef enum
@ -377,8 +376,7 @@ typedef enum
META_KEY_BINDING_NONE, META_KEY_BINDING_NONE,
META_KEY_BINDING_PER_WINDOW = 1 << 0, META_KEY_BINDING_PER_WINDOW = 1 << 0,
META_KEY_BINDING_BUILTIN = 1 << 1, META_KEY_BINDING_BUILTIN = 1 << 1,
/* 1 << 2 used to be META_KEY_BINDING_REVERSES which is deprecated */ META_KEY_BINDING_IS_REVERSED = 1 << 2,
META_KEY_BINDING_IS_REVERSED = 1 << 3
} MetaKeyBindingFlags; } MetaKeyBindingFlags;
/** /**
@ -407,7 +405,3 @@ gboolean meta_prefs_bell_is_audible (void);
GDesktopVisualBellType meta_prefs_get_visual_bell_type (void); GDesktopVisualBellType meta_prefs_get_visual_bell_type (void);
#endif #endif