aboutsummaryrefslogtreecommitdiff
path: root/src/datetime-service.c
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2011-02-09 13:07:25 -0600
committerTed Gould <ted@gould.cx>2011-02-09 13:07:25 -0600
commit298635b80cdeb7083c62f07acfb23849a561d190 (patch)
tree1e949c4fddaf7af2fedce2e364d5edbcd150b2e2 /src/datetime-service.c
parent3162d34af9b5e91e2aaa7aa3c0d866a82db843b5 (diff)
parentc7df3f691e9dd028eae7a044caed06806cb3b05b (diff)
downloadayatana-indicator-datetime-298635b80cdeb7083c62f07acfb23849a561d190.tar.gz
ayatana-indicator-datetime-298635b80cdeb7083c62f07acfb23849a561d190.tar.bz2
ayatana-indicator-datetime-298635b80cdeb7083c62f07acfb23849a561d190.zip
Merging in U. Desktop changes
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 9f4943c..e373ae8 100644
--- a/src/datetime-service.c
+++ b/src/datetime-service.c
@@ -807,7 +807,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));