summaryrefslogtreecommitdiffstats
path: root/binding/afm-geoclue-binding.c
diff options
context:
space:
mode:
Diffstat (limited to 'binding/afm-geoclue-binding.c')
-rw-r--r--binding/afm-geoclue-binding.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/binding/afm-geoclue-binding.c b/binding/afm-geoclue-binding.c
index ad93a87..3f8e4f4 100644
--- a/binding/afm-geoclue-binding.c
+++ b/binding/afm-geoclue-binding.c
@@ -125,6 +125,8 @@ static void on_ready(GObject *source_object, GAsyncResult *res, gpointer ptr)
abort();
}
+ send_event(simple);
+
g_signal_connect(simple, "notify::location", G_CALLBACK(send_event), NULL);
}