[Xfce4-commits] <xfce4-vala:xfce-dev> Throw Xfconf.Error on Xfconf.init()

Mike Massonnet mmassonnet at xfce.org
Fri Aug 28 19:16:02 CEST 2009


Updating branch refs/heads/xfce-dev
         to a99b7404b2f0bd01caf2c0e2638dbf76d6a31611 (commit)
       from fbd55c3fc65c743d43b0aff6760abf4c7222734d (commit)

commit a99b7404b2f0bd01caf2c0e2638dbf76d6a31611
Author: Mike Massonnet <mmassonnet at xfce.org>
Date:   Fri Aug 28 19:12:29 2009 +0200

    Throw Xfconf.Error on Xfconf.init()

 packages/libxfconf-0/libxfconf-0-custom.vala |    2 ++
 packages/libxfconf-0/libxfconf-0.metadata    |    1 +
 vapi/libxfconf-0.vapi                        |    4 ++--
 3 files changed, 5 insertions(+), 2 deletions(-)

diff --git a/packages/libxfconf-0/libxfconf-0-custom.vala b/packages/libxfconf-0/libxfconf-0-custom.vala
index f67cd6d..3466c64 100644
--- a/packages/libxfconf-0/libxfconf-0-custom.vala
+++ b/packages/libxfconf-0/libxfconf-0-custom.vala
@@ -1,5 +1,7 @@
 namespace Xfconf {
 
+	public static bool init () throws Xfconf.Error;
+
 	[Compact]
 	public class Property {
 		[CCode (cname = "xfconf_g_property_bind")]
diff --git a/packages/libxfconf-0/libxfconf-0.metadata b/packages/libxfconf-0/libxfconf-0.metadata
index 6b5fee5..f6b9daa 100644
--- a/packages/libxfconf-0/libxfconf-0.metadata
+++ b/packages/libxfconf-0/libxfconf-0.metadata
@@ -1,5 +1,6 @@
 Xfconf cheader_filename="xfconf/xfconf.h"
 
+xfconf_init hidden="1"
 xfconf_free_array hidden="1"
 xfconf_list_channels is_array="1" no_array_length="1" transfer_ownership="1"
 xfconf_named_struct_register.n_members hidden="1"
diff --git a/vapi/libxfconf-0.vapi b/vapi/libxfconf-0.vapi
index a022283..497debe 100644
--- a/vapi/libxfconf-0.vapi
+++ b/vapi/libxfconf-0.vapi
@@ -4,7 +4,7 @@
 namespace Xfconf {
 	[CCode (cheader_filename = "xfconf/xfconf.h")]
 	public class Channel : GLib.Object {
-		public static unowned Xfconf.Channel get (string channel_name);
+		public static unowned Xfconf.Channel @get (string channel_name);
 		[CCode (sentinel = "G_TYPE_INVALID")]
 		public bool get_array (string property, ...);
 		public bool get_bool (string property, bool default_value);
@@ -74,7 +74,7 @@ namespace Xfconf {
 	[CCode (cheader_filename = "xfconf/xfconf.h")]
 	public static void array_free (GLib.PtrArray arr);
 	[CCode (cheader_filename = "xfconf/xfconf.h")]
-	public static bool init () throws GLib.Error;
+	public static bool init () throws Xfconf.Error;
 	[CCode (cheader_filename = "xfconf/xfconf.h", array_length = false)]
 	public static string[] list_channels ();
 	[CCode (cheader_filename = "xfconf/xfconf.h")]



More information about the Xfce4-commits mailing list