mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-12-26 21:51:08 +00:00
dropdown: Annotate the get_selected_item method
We need to specify the type as we already know that it is at least a GObject and in case of no selection, NULL is returned.
This commit is contained in:
parent
0ef0edfa9a
commit
721396b6d6
@ -821,7 +821,7 @@ gtk_drop_down_get_selected (GtkDropDown *self)
|
||||
*
|
||||
* Gets the selected item. If no item is selected, %NULL is returned.
|
||||
*
|
||||
* Returns: (transfer none): The selected item
|
||||
* Returns: (transfer none) (type GObject) (nullable): The selected item
|
||||
*/
|
||||
gpointer
|
||||
gtk_drop_down_get_selected_item (GtkDropDown *self)
|
||||
|
Loading…
Reference in New Issue
Block a user