Skip to content
Unverified Commit 499718ed authored by Michael Catanzaro's avatar Michael Catanzaro Committed by Will Thompson
Browse files

timezone: fix critical on startup when geoclue is disabled

gnome-initial-setup is crashing on startup with this error:

(gnome-initial-setup:85469): InitialSetup-CRITICAL **: 09:18:43.280: Failed to connect to GeoClue2 service: GDBus.Error:org.freedesktop.DBus.Error.AccessDenied: Geolocation disabled for UID 1000

g_critical is only to be used to indicate programmer error. In this
case, it's entirely expected that we might fail to connect to geoclue,
so even g_warning() would be too much. I've changed the error message to
use g_info() instead, which does not print by default, though we could
just as well get rid of it entirely.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-initial-setup/-/merge_requests/119>
parent 76fffc3c
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment