a1c343953566254d590d0749bd3ddb53eeca6fec
`gtk_list_view_scroll_to()` is documented to require that `pos` is smaller than the number of items in the model. We were not checking if the model was empty before calling this function, which could lead to criticals. Check if the listview model has any items before scrolling it. Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/860>
Installation
Links
- Homepage: apps.gnome.org/Calendar
- Report an issue: gitlab.gnome.org/GNOME/gnome-calendar/issues
- Donate: donate.gnome.org
- Translate: l10n.gnome.org/module/gnome-calendar
- Contact: matrix.to/#/#gnome-calendar:gnome.org
Contributing
For information on how to contribute, please check CONTRIBUTING.md and HACKING.md.
Languages
C
97.6%
Meson
1.2%
CSS
0.7%
Python
0.3%
Shell
0.2%
