92b74849bfcf7f206145d0fbc502b7466e45e355
This is future-proofing the uncertain decision of removing GtkWidget's `margin-*` properties in the future, which is what we're currently using to retrieve the height of certain widgets. Whenever the intention is to get the entire size of a particular widget, including properties that contribute to layout such as margins, the `get_width()`/`get_height()` methods don't include these properties during calculations. However, getting the size of the parent widget will include them in its entirety. As such, the safest path is to use AdwBin as the parent to the respective widgets, and using it to retrieve the height. See: <https://gitlab.gnome.org/GNOME/gtk/-/issues/6556#note_2056432> Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/739>
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%
