]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
gtk+-3.0: Fix ModuleInitFunc binding
authorRico Tzschichholz <ricotz@ubuntu.com>
Wed, 31 Mar 2021 13:03:57 +0000 (15:03 +0200)
committerRico Tzschichholz <ricotz@ubuntu.com>
Sun, 4 Apr 2021 13:43:21 +0000 (15:43 +0200)
vapi/gtk+-3.0.vapi
vapi/metadata/Gtk-3.0.metadata

index c9eca25c24508efa40cf699be506b8835b0200ef..d963e7f20f708bf0fd35245d04cd19b9c433f715 100644 (file)
@@ -12384,7 +12384,7 @@ namespace Gtk {
        [Version (since = "2.2")]
        public delegate void ModuleDisplayInitFunc (Gdk.Display display);
        [CCode (cheader_filename = "gtk/gtk.h", has_target = false)]
-       public delegate void ModuleInitFunc ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] string[]? argv);
+       public delegate void ModuleInitFunc ([CCode (array_length_cname = "argc", array_length_pos = 0.5)] ref unowned string[]? argv);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 1.9)]
        public delegate void PageSetupDoneFunc (Gtk.PageSetup page_setup);
        [CCode (cheader_filename = "gtk/gtk.h", instance_pos = 2.9)]
index 17c199caeb5883235ced91733b293fb060d5339f..64019301b2c0d4312f2862a5e801821360cdde61 100644 (file)
@@ -691,6 +691,7 @@ Widget
 
 // Sure
 binding_set_by_class.object_class type="GLib.ObjectClass"
+ModuleInitFunc.argv ref unowned
 *.ref unowned
 
 // These delegate types don't have targets in the typedefs, but they