Markus Göllnitz 3dce4414a8 enums+window: make GcalWindowView iterators order and length agnostic
Currently, iterators over the GcalWindowView enum relied
on knowing the first and last enum value. But we know,
without knowing which is the first, that an enum in C
will assign 0 to its first value if not otherwise
specified.

And with the trick of a new end value similar to N_PROPS,
we can determine the amount of available window views
without relying on know which it is.

Signed-off-by: Markus Göllnitz <camelcasenick@bewares.it>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/542>
2025-06-08 09:59:00 +00:00
2025-06-05 11:06:17 +00:00
2025-03-19 12:21:39 -03: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
2025-03-19 19:43:31 -03:00

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.

Flatpak

Contributors Guide

Check out our CONTRIBUTING.md and HACKING.md for more details.

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