aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-appstore.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-02-06 11:58:19 -0800
committerTed Gould <ted@gould.cx>2010-02-06 11:58:19 -0800
commit28b0ba50227548758db097d0c6097b1a394e413f (patch)
treebd5f00d2bfab07f7918025ebd1ee3b2f1139effc /src/application-service-appstore.c
parent035f56558cccf52c5c2052bb1f80a4b7519ed4c5 (diff)
downloadlibayatana-appindicator-28b0ba50227548758db097d0c6097b1a394e413f.tar.gz
libayatana-appindicator-28b0ba50227548758db097d0c6097b1a394e413f.tar.bz2
libayatana-appindicator-28b0ba50227548758db097d0c6097b1a394e413f.zip
Ready to recieve the boxed type on the other side.
Diffstat (limited to 'src/application-service-appstore.c')
-rw-r--r--src/application-service-appstore.c5
1 files changed, 4 insertions, 1 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 70fab18..5e0c601 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -222,7 +222,10 @@ get_all_properties_cb (DBusGProxy * proxy, GHashTable * properties, GError * err
app_lru_file_touch(priv->lrufile, app->id, app->category);
app->icon = g_value_dup_string(g_hash_table_lookup(properties, NOTIFICATION_ITEM_PROP_ICON_NAME));
- app->menu = g_value_dup_string(g_hash_table_lookup(properties, NOTIFICATION_ITEM_PROP_MENU));
+
+ GValue * menuval = (GValue *)g_hash_table_lookup(properties, NOTIFICATION_ITEM_PROP_MENU);
+ app->menu = g_strdup((gchar *)g_value_get_boxed(menuval));
+
if (g_hash_table_lookup(properties, NOTIFICATION_ITEM_PROP_AICON_NAME) != NULL) {
app->aicon = g_value_dup_string(g_hash_table_lookup(properties, NOTIFICATION_ITEM_PROP_ICON_NAME));
}