mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-09-30 11:07:38 +00:00
application: mark menu/menubar getters as (transfer none)
Since they do not return a reference to the underlying GMenuModel.
This commit is contained in:
parent
9ae0ffb9cb
commit
72c04c064a
@ -785,7 +785,7 @@ gtk_application_set_app_menu (GtkApplication *application,
|
||||
* Returns the menu model that has been set with
|
||||
* g_application_set_app_menu().
|
||||
*
|
||||
* Returns: the application menu of @application
|
||||
* Returns: (transfer none): the application menu of @application
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
@ -833,7 +833,7 @@ gtk_application_set_menubar (GtkApplication *application,
|
||||
* Returns the menu model that has been set with
|
||||
* g_application_set_menubar().
|
||||
*
|
||||
* Returns: the menubar for windows of @application
|
||||
* Returns: (transfer none): the menubar for windows of @application
|
||||
*
|
||||
* Since: 3.4
|
||||
*/
|
||||
|
Loading…
Reference in New Issue
Block a user