]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Application.get_menu_by_id return value should not be owned
authorEvan Nemerson <evan@nemerson.com>
Tue, 19 Aug 2014 20:28:21 +0000 (13:28 -0700)
committerEvan Nemerson <evan@nemerson.com>
Tue, 19 Aug 2014 20:28:46 +0000 (13:28 -0700)
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 77a83331c6a46b666f578077a474f64b6d123e28..697d5322cbe70b2388ec4a272d63ec990e1370fa 100644 (file)
@@ -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 ();
index 5f6192706b0183d7187a74e3c031eb4bad6a88b3..d0daa0d9db047708efcbcb219bfb79d61aa75b49 100644 (file)
@@ -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"