summaryrefslogtreecommitdiff
path: root/demo/gclue-service-agent.c
diff options
context:
space:
mode:
authorZeeshan Ali (Khattak) <zeeshanak@gnome.org>2014-01-28 20:42:15 +0000
committerZeeshan Ali (Khattak) <zeeshanak@gnome.org>2014-01-28 20:45:19 +0000
commiteafeeb7f9777fc759234bd37b72d7e1feb4b3f8d (patch)
tree9965a6590b28bdd89fca6676650583c7dc916e4e /demo/gclue-service-agent.c
parentf9fad47173ae15d4fd226915f8eaa952a42a7f7c (diff)
downloadgeoclue-eafeeb7f9777fc759234bd37b72d7e1feb4b3f8d.tar.gz
agent: Recognize agents by desktop IDs
rather than binary paths. The rationale is the same as for commit 0d96468f88e4a8f39da521952a21f27d700542df.
Diffstat (limited to 'demo/gclue-service-agent.c')
-rw-r--r--demo/gclue-service-agent.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/demo/gclue-service-agent.c b/demo/gclue-service-agent.c
index 79b7f55..93ac318 100644
--- a/demo/gclue-service-agent.c
+++ b/demo/gclue-service-agent.c
@@ -175,7 +175,8 @@ on_manager_proxy_ready (GObject *source_object,
g_dbus_proxy_call (proxy,
"AddAgent",
- NULL,
+ g_variant_new ("(s)",
+ "geoclue-demo-agent"),
G_DBUS_CALL_FLAGS_NONE,
-1,
g_task_get_cancellable (task),