[gnome-calendar] weather service: Reduce location accuracy



commit 0838616102880b79d56d18de14f8247739615d5f
Author: Jan Alexander Steffens (heftig) <heftig archlinux org>
Date:   Sat Apr 2 21:40:40 2022 +0000

    weather service: Reduce location accuracy
    
    This avoids activating the compass.

 src/weather/gcal-weather-service.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/weather/gcal-weather-service.c b/src/weather/gcal-weather-service.c
index f8f45e33..8d05ee16 100644
--- a/src/weather/gcal-weather-service.c
+++ b/src/weather/gcal-weather-service.c
@@ -1117,7 +1117,7 @@ gcal_weather_service_run (GcalWeatherService *self,
       g_cancellable_reset (self->location_cancellable);
 
       gclue_simple_new (APPLICATION_ID,
-                        GCLUE_ACCURACY_LEVEL_EXACT,
+                        GCLUE_ACCURACY_LEVEL_CITY,
                         self->location_cancellable,
                         (GAsyncReadyCallback) on_gclue_simple_creation_cb,
                         self);


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]