[PATCH] vala: grl_init in vapi



Signed-off-by: Víctor Manuel Jáquez Leal <vjaquez igalia com>
---
 bindings/vala/grilo-0.1.metadata |    2 ++
 tools/vala/grilo-test.vala       |    1 +
 2 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/bindings/vala/grilo-0.1.metadata b/bindings/vala/grilo-0.1.metadata
index 8f75940..1b26661 100644
--- a/bindings/vala/grilo-0.1.metadata
+++ b/bindings/vala/grilo-0.1.metadata
@@ -7,3 +7,5 @@ GrlMediaSourceResultCb hidden="1"
 GrlMediaSourceStoreCb hidden="1"
 GrlMetadataSourceResolveCb hidden="1"
 grl_list_from_va ellipsis="1"
+grl_init.argc hidden="1"
+grl_init.argv is_array="1" is_ref="1" array_length_pos="0.9"
diff --git a/tools/vala/grilo-test.vala b/tools/vala/grilo-test.vala
index e5b1f11..b1fc6a7 100644
--- a/tools/vala/grilo-test.vala
+++ b/tools/vala/grilo-test.vala
@@ -77,6 +77,7 @@ public class SimplePlaylist : Object {
 	}
 
 	public static int main (string[] args) {
+		Grl.init(ref args);
 		var playlist = new SimplePlaylist ();
 
         if (args[1] != null) {
-- 
1.7.1



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]