diff options
author | Ted Gould <ted@gould.cx> | 2010-10-22 09:31:37 -0400 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2010-10-22 09:31:37 -0400 |
commit | 1149b84d2b7b8c22f27f8acc507ed8af7342345f (patch) | |
tree | 0be77c534fc6345ec5910d641b82a7191594aad1 /src/datetime-service.c | |
parent | 1fdf38754c8f332a5b2e385b8f9d781e8669cf72 (diff) | |
download | ayatana-indicator-datetime-1149b84d2b7b8c22f27f8acc507ed8af7342345f.tar.gz ayatana-indicator-datetime-1149b84d2b7b8c22f27f8acc507ed8af7342345f.tar.bz2 ayatana-indicator-datetime-1149b84d2b7b8c22f27f8acc507ed8af7342345f.zip |
Setting up a callback for the address changing.
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r-- | src/datetime-service.c | 2 |
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; } |