[evolution-data-server] Vala bindings: use metadata to get the correct types for signals
- From: Raul Gutierrez Segales <raulgs src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server] Vala bindings: use metadata to get the correct types for signals
- Date: Wed, 18 May 2011 20:10:42 +0000 (UTC)
commit 59ece77ed30d70ffded96218475ecfda74752354
Author: Raul Gutierrez Segales <raul gutierrez segales collabora co uk>
Date: Wed May 18 21:08:02 2011 +0100
Vala bindings: use metadata to get the correct types for signals
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 | 3 +++
vala/Makefile.am | 1 +
2 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/vala/EBook-1.2.metadata b/vala/EBook-1.2.metadata
new file mode 100644
index 0000000..53b168a
--- /dev/null
+++ b/vala/EBook-1.2.metadata
@@ -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*>"
diff --git a/vala/Makefile.am b/vala/Makefile.am
index 5f6300d..66f19df 100644
--- a/vala/Makefile.am
+++ b/vala/Makefile.am
@@ -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)
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]