diff --git a/gtk/gtksearchbar.c b/gtk/gtksearchbar.c index 7be0f004ef..edb9094db8 100644 --- a/gtk/gtksearchbar.c +++ b/gtk/gtksearchbar.c @@ -663,7 +663,7 @@ gtk_search_bar_set_key_capture_widget (GtkSearchBar *bar, * * Gets the widget that @bar is capturing key events from. * - * Returns: (transfer none): The key capture widget. + * Returns: (nullable) (transfer none): The key capture widget. **/ GtkWidget * gtk_search_bar_get_key_capture_widget (GtkSearchBar *bar) diff --git a/gtk/gtksearchentry.c b/gtk/gtksearchentry.c index 6708fcc3af..2e30446a4d 100644 --- a/gtk/gtksearchentry.c +++ b/gtk/gtksearchentry.c @@ -763,7 +763,7 @@ gtk_search_entry_set_key_capture_widget (GtkSearchEntry *entry, * * Gets the widget that @entry is capturing key events from. * - * Returns: (transfer none): The key capture widget. + * Returns: (nullable) (transfer none): The key capture widget. */ GtkWidget * gtk_search_entry_get_key_capture_widget (GtkSearchEntry *entry)