aboutsummaryrefslogtreecommitdiff
path: root/debian/patches/lp_802384.patch
blob: 2c30c9f59b0fdd954b17efdd6df2e2791646c6a7 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
=== modified file 'src/datetime-service.c'
--- a/src/datetime-service.c	2011-10-13 04:30:40 +0000
+++ b/src/datetime-service.c	2011-10-23 21:54:15 +0000
@@ -1404,7 +1404,12 @@
 
 	geo_master = client;
 
-	if (geo_master != NULL) {
+	if (error != NULL) {
+		g_warning("Unable to get a GeoClue client!  '%s'  Geolocation based timezone support will not be available.", error->message);
+		return;
+	}
+
+	if (geo_master == NULL) {
 		g_warning(_("Unable to get a GeoClue client!  Geolocation based timezone support will not be available."));
 		return;
 	}