Merge branch 'get-key-capture-widget-nullable' into 'main'

GtkSearchBar - Mark get_key_capture_widget() return value as nullable

See merge request GNOME/gtk!4286
This commit is contained in:
Matthias Clasen 2021-12-27 15:06:56 +00:00
commit c7df5ef957
2 changed files with 2 additions and 2 deletions

View File

@ -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)

View File

@ -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)