]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
libpeas-1.0: Fix ExtensionSetForeachFunc binding
authorLuca Bruno <lucabru@src.gnome.org>
Sun, 29 Jan 2012 09:00:48 +0000 (10:00 +0100)
committerLuca Bruno <lucabru@src.gnome.org>
Sun, 29 Jan 2012 09:00:48 +0000 (10:00 +0100)
Fixes bug 660362.

vapi/libpeas-1.0.vapi
vapi/metadata/Peas-1.0.metadata

index 5bba19d0a79f906897c20ef3bbf3bf3201a25361..8036834836d36e1f32cbf9a1b88fab81f678ae08 100644 (file)
@@ -111,8 +111,8 @@ namespace Peas {
                DEP_LOADING_FAILED;
                public static GLib.Quark quark ();
        }
-       [CCode (cheader_filename = "libpeas/peas.h", has_target = false)]
-       public delegate void ExtensionSetForeachFunc (Peas.ExtensionSet @set, Peas.PluginInfo info, Peas.Extension exten, void* data);
+       [CCode (cheader_filename = "libpeas/peas.h", instance_pos = 3.9)]
+       public delegate void ExtensionSetForeachFunc (Peas.ExtensionSet @set, Peas.PluginInfo info, Peas.Extension exten);
        [CCode (cheader_filename = "libpeas/peas.h", instance_pos = 1.9)]
        public delegate GLib.Object FactoryFunc ([CCode (array_length_cname = "n_parameters", array_length_pos = 0.5, array_length_type = "guint")] GLib.Parameter[] parameters);
 }
index 00d908a1df57bc9cd10831e5aa6f2a1cf0bdaf1d..bcc44c9ac98888a587bb944a466cf531535b789e 100644 (file)
@@ -7,3 +7,4 @@ ExtensionBase
        .get_plugin_info unowned=true
 ExtensionSet
        .new skip=false
+ExtensionSetForeachFunc.data closure=3