]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Application.get_menu_by_id returns owned value
authorRico Tzschichholz <ricotz@ubuntu.com>
Sun, 13 Jul 2014 14:47:26 +0000 (16:47 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 13 Jul 2014 14:47:26 +0000 (16:47 +0200)
vapi/gtk+-3.0.vapi
vapi/packages/gtk+-3.0/gtk+-3.0.metadata

index 21cfa18a06c047f3fbd50466853db26c8c571a7f..4707464d02516d0801003ee5a1fcfa2459013597 100644 (file)
@@ -592,7 +592,7 @@ namespace Gtk {
                public string get_accels_for_action (string detailed_action_name);
                public unowned Gtk.Window get_active_window ();
                public unowned GLib.MenuModel get_app_menu ();
-               public unowned GLib.Menu get_menu_by_id (string id);
+               public 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 bd82616e98766d8d3982561d262633b1ab5f3641..df9fb21769559a01ac5ceb55361dfe927087e98a 100644 (file)
@@ -55,6 +55,7 @@ gtk_alignment_get_padding.padding_right is_out="1"
 GtkAllocation is_value_type="1"
 gtk_application_add_accelerator.parameter nullable="1"
 gtk_application_get_accels_for_action 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"