keyboard: remove CcKeyboardItem.model
No longer set without `shortcuts_model`. This wasn't being used anyway.
This commit is contained in:
parent
44959e0049
commit
0a50d2b7ec
2 changed files with 0 additions and 13 deletions
|
@ -44,7 +44,6 @@ struct _CcKeyboardItem
|
||||||
|
|
||||||
CcKeyCombo *primary_combo;
|
CcKeyCombo *primary_combo;
|
||||||
BindingGroupType group;
|
BindingGroupType group;
|
||||||
GtkTreeModel *model;
|
|
||||||
char *description;
|
char *description;
|
||||||
gboolean editable;
|
gboolean editable;
|
||||||
GList *key_combos;
|
GList *key_combos;
|
||||||
|
@ -859,14 +858,6 @@ cc_keyboard_item_get_item_type (CcKeyboardItem *item)
|
||||||
return item->type;
|
return item->type;
|
||||||
}
|
}
|
||||||
|
|
||||||
void
|
|
||||||
cc_keyboard_item_set_model (CcKeyboardItem *item, GtkTreeModel *model, BindingGroupType group)
|
|
||||||
{
|
|
||||||
g_return_if_fail (CC_IS_KEYBOARD_ITEM (item));
|
|
||||||
item->model = model;
|
|
||||||
item->group = group;
|
|
||||||
}
|
|
||||||
|
|
||||||
const gchar *
|
const gchar *
|
||||||
cc_keyboard_item_get_gsettings_path (CcKeyboardItem *item)
|
cc_keyboard_item_get_gsettings_path (CcKeyboardItem *item)
|
||||||
{
|
{
|
||||||
|
|
|
@ -96,10 +96,6 @@ const gchar* cc_keyboard_item_get_key (CcKeyboardItem
|
||||||
|
|
||||||
CcKeyboardItemType cc_keyboard_item_get_item_type (CcKeyboardItem *self);
|
CcKeyboardItemType cc_keyboard_item_get_item_type (CcKeyboardItem *self);
|
||||||
|
|
||||||
void cc_keyboard_item_set_model (CcKeyboardItem *self,
|
|
||||||
GtkTreeModel *model,
|
|
||||||
BindingGroupType group);
|
|
||||||
|
|
||||||
const gchar* cc_keyboard_item_get_gsettings_path (CcKeyboardItem *self);
|
const gchar* cc_keyboard_item_get_gsettings_path (CcKeyboardItem *self);
|
||||||
|
|
||||||
GSettings* cc_keyboard_item_get_settings (CcKeyboardItem *self);
|
GSettings* cc_keyboard_item_get_settings (CcKeyboardItem *self);
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue