[vala] gtk+-3.0: Application.get_menu_by_id return value should not be owned



commit 9d0d573d99c0cb3003a3e956195a7f444b7b7beb
Author: Evan Nemerson <evan nemerson com>
Date:   Tue Aug 19 13:28:21 2014 -0700

    gtk+-3.0: Application.get_menu_by_id return value should not be owned

 vapi/gtk+-3.0.vapi                       |    2 +-
 vapi/packages/gtk+-3.0/gtk+-3.0.metadata |    1 -
 2 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/vapi/gtk+-3.0.vapi b/vapi/gtk+-3.0.vapi
index 77a8333..697d532 100644
--- a/vapi/gtk+-3.0.vapi
+++ b/vapi/gtk+-3.0.vapi
@@ -593,7 +593,7 @@ namespace Gtk {
                public string get_actions_for_accel (string accel);
                public unowned Gtk.Window get_active_window ();
                public unowned GLib.MenuModel get_app_menu ();
-               public GLib.Menu get_menu_by_id (string id);
+               public unowned GLib.Menu get_menu_by_id (string id);
                public unowned GLib.MenuModel get_menubar ();
                public unowned Gtk.Window get_window_by_id (uint id);
                public unowned GLib.List<weak Gtk.Window> get_windows ();
diff --git a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
index 5f61927..d0daa0d 100644
--- a/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
+++ b/vapi/packages/gtk+-3.0/gtk+-3.0.metadata
@@ -56,7 +56,6 @@ GtkAllocation is_value_type="1"
 gtk_application_add_accelerator.parameter nullable="1"
 gtk_application_get_accels_for_action transfer_ownership="1"
 gtk_application_get_actions_for_accel transfer_ownership="1"
-gtk_application_get_menu_by_id transfer_ownership="1"
 gtk_application_get_windows type_arguments="unowned Window"
 gtk_application_inhibit.window nullable="1"
 gtk_application_inhibit.reason nullable="1"


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