aboutsummaryrefslogtreecommitdiff
path: root/src/libappindicator
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/libappindicator
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/libappindicator')
-rw-r--r--src/libappindicator/app-indicator.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/libappindicator/app-indicator.c b/src/libappindicator/app-indicator.c
index 2befb34..19b4fd9 100644
--- a/src/libappindicator/app-indicator.c
+++ b/src/libappindicator/app-indicator.c
@@ -544,9 +544,9 @@ app_indicator_get_property (GObject * object, guint prop_id, GValue * value, GPa
if (priv->menuservice != NULL) {
GValue strval = {0};
g_value_init(&strval, G_TYPE_STRING);
- g_object_get_property (G_OBJECT (priv->menuservice), DBUSMENU_SERVER_PROP_DBUS_OBJECT, &strvalue);
- g_value_set_boxed(value, g_value_get_string(&strvalue));
- g_value_unset(&strvalue);
+ g_object_get_property (G_OBJECT (priv->menuservice), DBUSMENU_SERVER_PROP_DBUS_OBJECT, &strval);
+ g_value_set_boxed(value, g_value_get_string(&strval));
+ g_value_unset(&strval);
}
break;