Merge branch 'nullable-widget' into 'main'

eventcontroller: mark get_widget as nullable

See merge request GNOME/gtk!7359
This commit is contained in:
Matthias Clasen 2024-07-04 09:45:42 +00:00
commit 77cf390727

View File

@ -405,7 +405,7 @@ gtk_event_controller_handle_crossing (GtkEventController *controller,
* *
* Returns the `GtkWidget` this controller relates to. * Returns the `GtkWidget` this controller relates to.
* *
* Returns: (transfer none): a `GtkWidget` * Returns: (nullable) (transfer none): a `GtkWidget`
**/ **/
GtkWidget * GtkWidget *
gtk_event_controller_get_widget (GtkEventController *controller) gtk_event_controller_get_widget (GtkEventController *controller)