aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMichael Terry <mike@mterry.name>2011-04-11 14:18:15 -0400
committerMichael Terry <mike@mterry.name>2011-04-11 14:18:15 -0400
commitce5dcdddf75b496c6b63f3a15f03cb788c4072f3 (patch)
treea9cec0dbaf73089356e39d75b502833a7425f080
parentf17f35feaf2f6d413302b813ef451d20491f4894 (diff)
downloadayatana-indicator-application-ce5dcdddf75b496c6b63f3a15f03cb788c4072f3.tar.gz
ayatana-indicator-application-ce5dcdddf75b496c6b63f3a15f03cb788c4072f3.tar.bz2
ayatana-indicator-application-ce5dcdddf75b496c6b63f3a15f03cb788c4072f3.zip
make sure we can cancel GetAll call
-rw-r--r--src/application-service-appstore.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/application-service-appstore.c b/src/application-service-appstore.c
index 3e827d5..0c1028f 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -576,6 +576,7 @@ static void
get_all_properties (Application * app)
{
if (app->props != NULL && app->props_cancel == NULL) {
+ app->props_cancel = g_cancellable_new();
g_dbus_proxy_call(app->props, "GetAll",
g_variant_new("(s)", NOTIFICATION_ITEM_DBUS_IFACE),
G_DBUS_CALL_FLAGS_NONE, -1, app->props_cancel,