common/date-chooser: Housekeeping

Add some assertions and comments
This commit is contained in:
Titouan Real
2025-04-09 15:35:20 +00:00
committed by Georges Basile Stavracas Neto
parent 303cba1622
commit 931254c2a4
4 changed files with 45 additions and 11 deletions
+12
View File
@@ -1090,6 +1090,18 @@ gcal_date_chooser_init (GcalDateChooser *self)
gtk_widget_add_controller (GTK_WIDGET (self), GTK_EVENT_CONTROLLER (drop_target));
}
/*
* Public API
*/
/**
* gcal_date_chooser_new:
*
* Creates a new `DateChooser`.
*
* Returns: the newly created `DateChooser`
*/
GtkWidget*
gcal_date_chooser_new (void)
{