mindonwarp 81fa0f29c4 core: Catch errors when trying to read from settings portal
`g_dbus_proxy_call_sync` will return NULL and set the recoverable
`error` in case of failure.

We didn't catch this previously so reading the variant from the return
value caused a CRITICAL because a user didn't have the `week-start-day`
setting (introduced in 50.alpha) and the returned `GVariant` was NULL.

Now, we check whether en error is set after calling
`g_dbus_proxy_call_sync` and propagate it to the calling method so it
can gracefully handle it.

Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/862>
2026-10-03 13:26:49 +02:00
2026-10-02 21:27:15 +00:00
2026-10-03 10:47:15 +00:00
2025-04-04 23:59:13 +00:00
2019-05-04 12:05:39 -03:00
2018-07-31 12:35:56 -03:00
2012-04-25 23:56:34 -04:00
2026-09-13 17:37:54 -03:00
2026-03-12 01:02:30 -04:00

GNOME Calendar

Manage your schedule

Installation

Flatpak

Contributing

For information on how to contribute, please check CONTRIBUTING.md and HACKING.md.

S
Description
No description provided
Readme
19 MiB
Languages
C 97.6%
Meson 1.2%
CSS 0.7%
Python 0.3%
Shell 0.2%