aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-17 20:41:56 -0600
committerTed Gould <ted@gould.cx>2010-02-17 20:41:56 -0600
commit1df34439fe9a32a2f9f3288d500fdb8a53046185 (patch)
tree7ae1731c5a2c5207aa7b84b1c70053fd8fa37ee0
parent0d8b02c5c23e4e66d99481888e8e82baa937ce8f (diff)
downloadayatana-indicator-messages-1df34439fe9a32a2f9f3288d500fdb8a53046185.tar.gz
ayatana-indicator-messages-1df34439fe9a32a2f9f3288d500fdb8a53046185.tar.bz2
ayatana-indicator-messages-1df34439fe9a32a2f9f3288d500fdb8a53046185.zip
Eh, forgot to flesh out the lists
-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;
}