aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-04-16 10:12:11 -0500
committerTed Gould <ted@gould.cx>2010-04-16 10:12:11 -0500
commite879cc91687bded6248f806ee711c73bfc57fb8b (patch)
treefefbc362578f5113e6d136632d775f66c6809c2e
parent76042f59f0f26647a1b7ab645da5f51ce17ce3d2 (diff)
downloadayatana-indicator-messages-e879cc91687bded6248f806ee711c73bfc57fb8b.tar.gz
ayatana-indicator-messages-e879cc91687bded6248f806ee711c73bfc57fb8b.tar.bz2
ayatana-indicator-messages-e879cc91687bded6248f806ee711c73bfc57fb8b.zip
Forgot to pass the object here.
-rw-r--r--src/app-menu-item.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/app-menu-item.c b/src/app-menu-item.c
index 5ffe74f..c276a90 100644
--- a/src/app-menu-item.c
+++ b/src/app-menu-item.c
@@ -431,7 +431,7 @@ root_changed (DbusmenuClient * client, DbusmenuMenuitem * newroot, gpointer data
if (priv->root != NULL) {
if (dbusmenu_menuitem_get_children(DBUSMENU_MENUITEM(priv->root)) != NULL) {
- g_list_foreach(priv->shortcuts, func_unref, NULL);
+ g_list_foreach(priv->shortcuts, func_unref, data);
g_list_free(priv->shortcuts);
priv->shortcuts = NULL;
}