aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--libempathy-gtk/empathy-location-manager.c8
1 files changed, 7 insertions, 1 deletions
diff --git a/libempathy-gtk/empathy-location-manager.c b/libempathy-gtk/empathy-location-manager.c
index f4f1e0ae3..3fd324917 100644
--- a/libempathy-gtk/empathy-location-manager.c
+++ b/libempathy-gtk/empathy-location-manager.c
@@ -553,7 +553,13 @@ setup_geoclue (EmpathyLocationManager *self)
return;
}
- update_resources (self);
+ if (!geoclue_master_client_set_requirements (priv->gc_client,
+ GEOCLUE_ACCURACY_LEVEL_COUNTRY, 0, FALSE, priv->resources,
+ NULL))
+ {
+ DEBUG ("set_requirements failed");
+ return;
+ }
/* Get updated when the position is changes */
priv->gc_position = geoclue_master_client_create_position (