[mutter] prefs: Remove per_window flag from MetaKeyPref
- From: Jasper St. Pierre <jstpierre src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [mutter] prefs: Remove per_window flag from MetaKeyPref
- Date: Fri, 9 Jan 2015 22:15:33 +0000 (UTC)
commit 9abcf424b8ddebdd75933ac4cf4fa1e7e7203367
Author: Jasper St. Pierre <jstpierre mecheye net>
Date: Thu Jan 8 18:12:35 2015 -0800
prefs: Remove per_window flag from MetaKeyPref
It's unused.
src/core/keybindings-private.h | 3 ---
src/core/prefs.c | 1 -
2 files changed, 0 insertions(+), 4 deletions(-)
---
diff --git a/src/core/keybindings-private.h b/src/core/keybindings-private.h
index bb2d5cb..7608bff 100644
--- a/src/core/keybindings-private.h
+++ b/src/core/keybindings-private.h
@@ -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;
diff --git a/src/core/prefs.c b/src/core/prefs.c
index 4b98ef0..183aa11 100644
--- a/src/core/prefs.c
+++ b/src/core/prefs.c
@@ -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);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]