summaryrefslogtreecommitdiff
path: root/src/weather/gcal-weather-service.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/weather/gcal-weather-service.c')
-rw-r--r--src/weather/gcal-weather-service.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/weather/gcal-weather-service.c b/src/weather/gcal-weather-service.c
index a3e8021d..4dc34d54 100644
--- a/src/weather/gcal-weather-service.c
+++ b/src/weather/gcal-weather-service.c
@@ -743,7 +743,8 @@ on_gclue_simple_creation_cb (GClueSimple *_source,
{
g_assert_null (self->location_service);
- if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED))
+ if (!g_error_matches (error, G_IO_ERROR, G_IO_ERROR_CANCELLED) &&
+ !(g_dbus_error_is_remote_error (error) && strcmp (g_dbus_error_get_remote_error (error), "org.freedesktop.DBus.Error.AccessDenied") == 0))
g_warning ("Could not create GCLueSimple: %s", error->message);
GCAL_RETURN ();