From ce5dcdddf75b496c6b63f3a15f03cb788c4072f3 Mon Sep 17 00:00:00 2001 From: Michael Terry Date: Mon, 11 Apr 2011 14:18:15 -0400 Subject: make sure we can cancel GetAll call --- src/application-service-appstore.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/application-service-appstore.c') 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, -- cgit v1.2.3