aboutsummaryrefslogtreecommitdiff
path: root/src/application-service-appstore.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-03-14 16:41:39 -0500
committerTed Gould <ted@gould.cx>2011-03-14 16:41:39 -0500
commit1aeeeb0355a59efe470e798806f6814ae19f0c9a (patch)
tree3570c9006273a1650031327cba87b8cd37c25703 /src/application-service-appstore.c
parent7b316782e0acd1ef0e91f41feca4ddb9c4ac5c4f (diff)
downloadayatana-indicator-application-1aeeeb0355a59efe470e798806f6814ae19f0c9a.tar.gz
ayatana-indicator-application-1aeeeb0355a59efe470e798806f6814ae19f0c9a.tar.bz2
ayatana-indicator-application-1aeeeb0355a59efe470e798806f6814ae19f0c9a.zip
Use the passed in proxy to get the result to ensure it's valid.
Diffstat (limited to 'src/application-service-appstore.c')
-rw-r--r--src/application-service-appstore.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 5f343e5..77f0634 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -438,7 +438,7 @@ got_all_properties (GObject * source_object, GAsyncResult * res,
* icon_theme_path = NULL, * index = NULL, * label = NULL,
* guide = NULL;
- GVariant * properties = g_dbus_proxy_call_finish(app->props, res, &error);
+ GVariant * properties = g_dbus_proxy_call_finish(G_DBUS_PROXY(source_object), res, &error);
if (app->props_cancel != NULL) {
g_object_unref(app->props_cancel);