aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r--src/datetime-service.c11
1 files changed, 11 insertions, 0 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 3c922c9..b32faa1 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -240,11 +240,22 @@ setup_timer (void)
return;
}
+/* Callback from creating the address */
+static void
+geo_create_address (GeoclueMasterClient * master, GeoclueAddress * address, GError * error, gpointer user_data)
+{
+ geo_address = address;
+ return;
+}
+
/* Callback from creating the client */
static void
geo_create_client (GeoclueMaster * master, GeoclueMasterClient * client, gchar * path, GError * error, gpointer user_data)
{
+ g_debug("Created Geoclue client at: %s", path);
+ geo_master = client;
+ geoclue_master_client_create_address_async(geo_master, geo_create_address, NULL);
return;
}