diff options
author | Timm Bäder <mail@baedert.org> | 2020-02-04 14:38:19 +0100 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-02-07 13:16:32 -0500 |
commit | 1151da5cf36430cb927000670845469e917b0c1e (patch) | |
tree | 4f3504fefa13d3c2f05d26349b514deaa90899c7 /gtk/gtkcalendar.h | |
parent | a6f9052cf1c1c7b4224834ed18a63e70477d8729 (diff) | |
download | gtk+-1151da5cf36430cb927000670845469e917b0c1e.tar.gz |
calendar: Use GDateTime to select days
Diffstat (limited to 'gtk/gtkcalendar.h')
-rw-r--r-- | gtk/gtkcalendar.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/gtk/gtkcalendar.h b/gtk/gtkcalendar.h index bb4c04cd72..c1f0189832 100644 --- a/gtk/gtkcalendar.h +++ b/gtk/gtkcalendar.h @@ -51,12 +51,12 @@ GDK_AVAILABLE_IN_ALL GtkWidget* gtk_calendar_new (void); GDK_AVAILABLE_IN_ALL -void gtk_calendar_select_month (GtkCalendar *calendar, - guint month, - guint year); +void gtk_calendar_select_month (GtkCalendar *self, + GDateTime *date); + GDK_AVAILABLE_IN_ALL -void gtk_calendar_select_day (GtkCalendar *calendar, - guint day); +void gtk_calendar_select_day (GtkCalendar *self, + GDateTime *date); GDK_AVAILABLE_IN_ALL void gtk_calendar_mark_day (GtkCalendar *calendar, |