aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-08 13:40:26 -0600
committerTed Gould <ted@gould.cx>2011-02-08 13:40:26 -0600
commita0328a7ca5a8aad4a8713ee53ff3b790fa958c86 (patch)
treecc94bf1e0fa6eeb41e92a4f12bad147e67420e4c /src/datetime-service.c
parent21d4207e212d99af143f75b6544e3eb907bfde48 (diff)
downloadayatana-indicator-datetime-a0328a7ca5a8aad4a8713ee53ff3b790fa958c86.tar.gz
ayatana-indicator-datetime-a0328a7ca5a8aad4a8713ee53ff3b790fa958c86.tar.bz2
ayatana-indicator-datetime-a0328a7ca5a8aad4a8713ee53ff3b790fa958c86.zip
Changing warning.
Diffstat (limited to 'src/datetime-service.c')
-rw-r--r--src/datetime-service.c5
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));