aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-04-12 15:28:01 -0500
committerTed Gould <ted@gould.cx>2011-04-12 15:28:01 -0500
commit0edabc65075851f47d28247a8eb863d2afdfb051 (patch)
tree2d681229c25af0107d6dd550958626d4ec3e14e5
parentdd97a3c05e3fa507ad772591e788cf89dcad9db7 (diff)
parentce5dcdddf75b496c6b63f3a15f03cb788c4072f3 (diff)
downloadayatana-indicator-application-0edabc65075851f47d28247a8eb863d2afdfb051.tar.gz
ayatana-indicator-application-0edabc65075851f47d28247a8eb863d2afdfb051.tar.bz2
ayatana-indicator-application-0edabc65075851f47d28247a8eb863d2afdfb051.zip
Ensure we can cancel GetAll()
-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 e2d95c4..b8a429a 100644
--- a/src/application-service-appstore.c
+++ b/src/application-service-appstore.c
@@ -577,6 +577,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,