Vala bindings: use metadata to get the correct types for signals
authorRaul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk>
Wed, 18 May 2011 20:08:02 +0000 (21:08 +0100)
committerRaul Gutierrez Segales <raul.gutierrez.segales@collabora.co.uk>
Wed, 18 May 2011 20:08:02 +0000 (21:08 +0100)
The contacts_{added,removed,changed} signals were specified with
the wrong parameter types (void * instead of GLib.List<void *>) in the
generated VAPI file for libebook.

vala/EBook-1.2.metadata [new file with mode: 0644]
vala/Makefile.am

diff --git a/vala/EBook-1.2.metadata b/vala/EBook-1.2.metadata
new file mode 100644 (file)
index 0000000..53b168a
--- /dev/null
@@ -0,0 +1,3 @@
+BookView.contacts_added#signal.object type="GLib.List<weak void*>"
+BookView.contacts_removed#signal.object type="GLib.List<weak void*>"
+BookView.contacts_changed#signal.object type="GLib.List<weak void*>"
index 5f6300d..66f19df 100644 (file)
@@ -31,6 +31,7 @@ libebook-1.2.vapi: $(top_builddir)/addressbook/libebook/EBook-1.2.gir libedatase
                --vapidir=. \
                --pkg libedataserver-1.2 \
                --library libebook-1.2 \
+               --metadatadir=. \
                $< \
                $(NULL)