aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2010-10-22 09:31:37 -0400
committerTed Gould <ted@gould.cx>2010-10-22 09:31:37 -0400
commit1149b84d2b7b8c22f27f8acc507ed8af7342345f (patch)
tree0be77c534fc6345ec5910d641b82a7191594aad1
parent1fdf38754c8f332a5b2e385b8f9d781e8669cf72 (diff)
downloadayatana-indicator-datetime-1149b84d2b7b8c22f27f8acc507ed8af7342345f.tar.gz
ayatana-indicator-datetime-1149b84d2b7b8c22f27f8acc507ed8af7342345f.tar.bz2
ayatana-indicator-datetime-1149b84d2b7b8c22f27f8acc507ed8af7342345f.zip
Setting up a callback for the address changing.
-rw-r--r--src/datetime-service.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c
index 70c37cd..8a31940 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -399,6 +399,8 @@ geo_create_address (GeoclueMasterClient * master, GeoclueAddress * address, GErr
geoclue_address_get_address_async(geo_address, geo_address_cb, NULL);
+ g_signal_connect(G_OBJECT(address), "address-changed", G_CALLBACK(geo_address_cb), NULL);
+
return;
}