forked from AuroraMiddleware/gtk
gtk: add nullable annotations to PopoverMenuBar/PopoverMenu
The constructor/setter accepts a null as a model so should the getter
This commit is contained in:
parent
ddb2e91a42
commit
95169ad54b
@ -819,7 +819,7 @@ gtk_popover_menu_set_menu_model (GtkPopoverMenu *popover,
|
||||
*
|
||||
* Returns the menu model used to populate the popover.
|
||||
*
|
||||
* Returns: (transfer none): the menu model of @popover
|
||||
* Returns: (transfer none) (nullable): the menu model of @popover
|
||||
*/
|
||||
GMenuModel *
|
||||
gtk_popover_menu_get_menu_model (GtkPopoverMenu *popover)
|
||||
|
@ -746,7 +746,7 @@ gtk_popover_menu_bar_set_menu_model (GtkPopoverMenuBar *bar,
|
||||
*
|
||||
* Returns the model from which the contents of @bar are taken.
|
||||
*
|
||||
* Returns: (transfer none): a `GMenuModel`
|
||||
* Returns: (transfer none) (nullable): a `GMenuModel`
|
||||
*/
|
||||
GMenuModel *
|
||||
gtk_popover_menu_bar_get_menu_model (GtkPopoverMenuBar *bar)
|
||||
|
Loading…
Reference in New Issue
Block a user