aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-01-15 01:01:11 -0600
committerTed Gould <ted@gould.cx>2010-01-15 01:01:11 -0600
commit8045abdf6b0390572dbeb1a224431ec4c3e3355e (patch)
treefff33f819c47987b3eea7e2594ecce53abeb3b54
parent00cad2ec8d5a143b3970dd63825cbd4b6265092a (diff)
downloadayatana-indicator-application-8045abdf6b0390572dbeb1a224431ec4c3e3355e.tar.gz
ayatana-indicator-application-8045abdf6b0390572dbeb1a224431ec4c3e3355e.tar.bz2
ayatana-indicator-application-8045abdf6b0390572dbeb1a224431ec4c3e3355e.zip
Setting the proper type for the GValue of an 'o'
-rw-r--r--src/application-service-appstore.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 95f8dde..df4213a 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -656,8 +656,8 @@ _application_service_server_get_applications (ApplicationServiceAppstore * appst
g_value_unset(&value);
/* DBus Object */
- g_value_init(&value, G_TYPE_STRING);
- g_value_set_string(&value, ((Application *)listpntr->data)->dbus_object);
+ g_value_init(&value, DBUS_TYPE_G_OBJECT_PATH);
+ g_value_set_static_boxed(&value, ((Application *)listpntr->data)->dbus_object);
g_value_array_append(values, &value);
g_value_unset(&value);