application: mark menu/menubar getters as (transfer none)

Since they do not return a reference to the underlying GMenuModel.
This commit is contained in:
Cosimo Cecchi 2011-12-21 12:19:31 +01:00
parent 9ae0ffb9cb
commit 72c04c064a

View File

@ -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
*/