184d77ef4df561f595db7bc16f54a698f7d87c16
Every once in a while when I'm deleting an event gnome-calendar crashes. I dug in a bit, and it seems the reason is adw_toast_overlay_add_toast takes ownership of the passed in reference. This is a little idiosyncratic for something that's not GInitiallyUnowned, but it appears to be the API nonetheless. GCalWindow assumes it owns the reference. This commit makes both users of the toast happy by adding a ref call.
GNOME Calendar
GNOME Calendar is a simple and beautiful calendar application for GNOME. We give a lot of attention to details, and as such, design is an essential and ongoing effort.
Useful links
- Homepage: https://wiki.gnome.org/Apps/Calendar
- Report issues: https://gitlab.gnome.org/GNOME/gnome-calendar/issues/
- Donate: https://www.gnome.org/friends/
- Translate: https://wiki.gnome.org/TranslationProject
Languages
C
97.6%
Meson
1.2%
CSS
0.7%
Python
0.3%
Shell
0.2%