[Xfce4-commits] <midori:master> Minimum Katze.Array vapi including add_item signal
Christian Dywan
noreply at xfce.org
Tue Mar 27 00:56:02 CEST 2012
Updating branch refs/heads/master
to 1de28a8a7a0128e27ad95354608482cb2b6f6d34 (commit)
from ebf2c2d1d9c34a718708f93be49000374d366353 (commit)
commit 1de28a8a7a0128e27ad95354608482cb2b6f6d34
Author: André Stösel <andre at stoesel.de>
Date: Mon Mar 26 19:16:08 2012 +0200
Minimum Katze.Array vapi including add_item signal
extensions/wscript_build | 4 ++--
katze/katze.vapi | 11 +++++++++++
2 files changed, 13 insertions(+), 2 deletions(-)
diff --git a/extensions/wscript_build b/extensions/wscript_build
index e209aed..3ccf937 100644
--- a/extensions/wscript_build
+++ b/extensions/wscript_build
@@ -33,8 +33,8 @@ for extension in extensions:
obj.includes = '..'
obj.source = source
obj.uselib = 'UNIQUE LIBSOUP GIO GTK SQLITE WEBKIT LIBXML HILDON'
- obj.vapi_dirs = '../midori'
- obj.packages = 'glib-2.0 gio-2.0 libsoup-2.4 midori'
+ obj.vapi_dirs = '../midori ../katze'
+ obj.packages = 'glib-2.0 gio-2.0 libsoup-2.4 midori katze'
if bld.env['HAVE_GTK3']:
obj.packages += ' gtk+-3.0 webkitgtk-3.0'
else:
diff --git a/katze/katze.vapi b/katze/katze.vapi
new file mode 100644
index 0000000..6ba5cfa
--- /dev/null
+++ b/katze/katze.vapi
@@ -0,0 +1,11 @@
+/* Copyright (C) 2012 André Stösel <andre at stoesel.de>
+ This file is licensed under the terms of the expat license, see the file EXPAT. */
+
+[CCode (cprefix = "Katze", lower_case_cprefix = "katze_")]
+namespace Katze {
+ public class Array : GLib.Object {
+ public Array (GLib.Type type);
+ public void add_item (GLib.Object item);
+ }
+}
+
More information about the Xfce4-commits
mailing list