keyboard: shortcut-row: Add API to get shortcut item
This commit is contained in:
parent
0fa1c1ec65
commit
19548906c7
2 changed files with 9 additions and 0 deletions
|
@ -130,3 +130,11 @@ cc_keyboard_shortcut_row_new (CcKeyboardItem *item,
|
|||
|
||||
return self;
|
||||
}
|
||||
|
||||
CcKeyboardItem *
|
||||
cc_keyboard_shortcut_row_get_item (CcKeyboardShortcutRow *self)
|
||||
{
|
||||
g_return_val_if_fail (CC_IS_KEYBOARD_SHORTCUT_ROW (self), NULL);
|
||||
|
||||
return self->item;
|
||||
}
|
||||
|
|
|
@ -34,5 +34,6 @@ CcKeyboardShortcutRow *cc_keyboard_shortcut_row_new (CcKeyboardItem *i
|
|||
CcKeyboardManager *manager,
|
||||
CcKeyboardShortcutEditor *editor,
|
||||
GtkSizeGroup *size_group);
|
||||
CcKeyboardItem *cc_keyboard_shortcut_row_get_item (CcKeyboardShortcutRow *self);
|
||||
|
||||
G_END_DECLS
|
||||
|
|
Loading…
Add table
Reference in a new issue