event-editor/multi-choice: Add prev/next value callbacks

These callbacks will be used in the next commit to jump to the
first day of the month.

Related: https://gitlab.gnome.org/GNOME/gnome-calendar/-/issues/1103
Co-authored-by: Maximiliano Sandoval <msandova@gnome.org>
Part-of: <https://gitlab.gnome.org/GNOME/gnome-calendar/-/merge_requests/369>
This commit is contained in:
Fabian Hügel
2026-02-21 20:22:25 -05:00
committed by Hari Rana
co-authored by Maximiliano Sandoval
parent da90b94bbd
commit 8af5298e50
2 changed files with 23 additions and 2 deletions
+6
View File
@@ -56,6 +56,12 @@ void gcal_multi_choice_set_format_callback (GcalMultiChoic
gpointer user_data,
GDestroyNotify notify);
typedef gint (*GcalMultiChoiceValueCallback) (gint value);
void gcal_multi_choice_set_value_callbacks (GcalMultiChoice *self,
GcalMultiChoiceValueCallback prev_cb,
GcalMultiChoiceValueCallback next_cb);
G_END_DECLS
#endif /* GCAL_MULTI_CHOICE_H */