[vala] libpeas-1.0: Fix ExtensionSetForeachFunc binding
- From: Luca Bruno <lucabru src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [vala] libpeas-1.0: Fix ExtensionSetForeachFunc binding
- Date: Sun, 29 Jan 2012 09:01:50 +0000 (UTC)
commit 0a6bfcdb9599f57ebf5123086784adfba2a98b8a
Author: Luca Bruno <lucabru src gnome org>
Date: Sun Jan 29 10:00:48 2012 +0100
libpeas-1.0: Fix ExtensionSetForeachFunc binding
Fixes bug 660362.
vapi/libpeas-1.0.vapi | 4 ++--
vapi/metadata/Peas-1.0.metadata | 1 +
2 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/vapi/libpeas-1.0.vapi b/vapi/libpeas-1.0.vapi
index 5bba19d..8036834 100644
--- a/vapi/libpeas-1.0.vapi
+++ b/vapi/libpeas-1.0.vapi
@@ -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);
}
diff --git a/vapi/metadata/Peas-1.0.metadata b/vapi/metadata/Peas-1.0.metadata
index 00d908a..bcc44c9 100644
--- a/vapi/metadata/Peas-1.0.metadata
+++ b/vapi/metadata/Peas-1.0.metadata
@@ -7,3 +7,4 @@ ExtensionBase
.get_plugin_info unowned=true
ExtensionSet
.new skip=false
+ExtensionSetForeachFunc.data closure=3
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]