aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/app-menu-item.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index 19179c8..e24d43b 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -500,5 +500,7 @@ app_menu_item_get_desktop (AppMenuItem * appitem)
GList *
app_menu_item_get_items (AppMenuItem * appitem)
{
- return NULL;
+ g_return_val_if_fail(IS_APP_MENU_ITEM(appitem), NULL);
+ AppMenuItemPrivate * priv = APP_MENU_ITEM_GET_PRIVATE(appitem);
+ return priv->shortcuts;
}