diff options
author | Ted Gould <ted@gould.cx> | 2011-02-08 13:40:26 -0600 |
---|---|---|
committer | Ted Gould <ted@gould.cx> | 2011-02-08 13:40:26 -0600 |
commit | a0328a7ca5a8aad4a8713ee53ff3b790fa958c86 (patch) | |
tree | cc94bf1e0fa6eeb41e92a4f12bad147e67420e4c /src | |
parent | 21d4207e212d99af143f75b6544e3eb907bfde48 (diff) | |
download | ayatana-indicator-datetime-a0328a7ca5a8aad4a8713ee53ff3b790fa958c86.tar.gz ayatana-indicator-datetime-a0328a7ca5a8aad4a8713ee53ff3b790fa958c86.tar.bz2 ayatana-indicator-datetime-a0328a7ca5a8aad4a8713ee53ff3b790fa958c86.zip |
Changing warning.
Diffstat (limited to 'src')
-rw-r--r-- | src/datetime-service.c | 5 |
1 files changed, 4 insertions, 1 deletions
diff --git a/src/datetime-service.c b/src/datetime-service.c index 7d35a38..e7b20fb 100644 --- a/src/datetime-service.c +++ b/src/datetime-service.c @@ -513,7 +513,10 @@ geo_create_client (GeoclueMaster * master, GeoclueMasterClient * client, gchar * geo_master = client; - g_return_if_fail(geo_master != NULL); + if (geo_master != NULL) { + g_warning("Unable to get a GeoClue client! Geolocation based timezone support will not be available."); + return; + } g_object_ref(G_OBJECT(geo_master)); |