keyboard: remove CcKeyboardItem.model

No longer set without `shortcuts_model`. This wasn't being used anyway.
This commit is contained in:
Ian Douglas Scott 2020-06-26 15:11:35 -07:00 committed by Ian Douglas Scott
parent 44959e0049
commit 0a50d2b7ec
2 changed files with 0 additions and 13 deletions

View file

@ -44,7 +44,6 @@ struct _CcKeyboardItem
CcKeyCombo *primary_combo;
BindingGroupType group;
GtkTreeModel *model;
char *description;
gboolean editable;
GList *key_combos;
@ -859,14 +858,6 @@ cc_keyboard_item_get_item_type (CcKeyboardItem *item)
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 *
cc_keyboard_item_get_gsettings_path (CcKeyboardItem *item)
{

View file

@ -96,10 +96,6 @@ const gchar* cc_keyboard_item_get_key (CcKeyboardItem
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);
GSettings* cc_keyboard_item_get_settings (CcKeyboardItem *self);