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:
committed by
Hari Rana
co-authored by
Maximiliano Sandoval
parent
da90b94bbd
commit
8af5298e50
@@ -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 */
|
||||
|
||||
Reference in New Issue
Block a user