prefs: Remove per_window flag from MetaKeyPref

It's unused.
This commit is contained in:
Jasper St. Pierre 2015-01-08 18:12:35 -08:00
parent cc7af83f8a
commit 9abcf424b8
2 changed files with 0 additions and 4 deletions

View File

@ -84,9 +84,6 @@ typedef struct
*/
GSList *combos;
/* for keybindings that apply only to a window */
gboolean per_window:1;
/* for keybindings not added with meta_display_add_keybinding() */
gboolean builtin:1;
} MetaKeyPref;

View File

@ -2111,7 +2111,6 @@ meta_prefs_add_keybinding (const char *name,
pref->settings = g_object_ref (settings);
pref->action = action;
pref->combos = NULL;
pref->per_window = (flags & META_KEY_BINDING_PER_WINDOW) != 0;
pref->builtin = (flags & META_KEY_BINDING_BUILTIN) != 0;
strokes = g_settings_get_strv (settings, name);