[gtk+] application: mark menu/menubar getters as (transfer none)



commit 72c04c064a1b35673ef6e65bd1c0d3389c029bd4
Author: Cosimo Cecchi <cosimoc gnome org>
Date:   Wed Dec 21 12:19:31 2011 +0100

    application: mark menu/menubar getters as (transfer none)
    
    Since they do not return a reference to the underlying GMenuModel.

 gtk/gtkapplication.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/gtk/gtkapplication.c b/gtk/gtkapplication.c
index 30f3ff4..5f428e2 100644
--- a/gtk/gtkapplication.c
+++ b/gtk/gtkapplication.c
@@ -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
  */



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]