[vala] D-Bus: Set D-Bus name for DBus.Error errordomain



commit 421113d20febcd6013f480e7cbe5b07d1f6071c5
Author: Didier 'Ptitjes <ptitjes free fr>
Date:   Wed May 6 02:04:08 2009 +0200

    D-Bus: Set D-Bus name for DBus.Error errordomain
    
    Signed-off-by: Didier 'Ptitjes <ptitjes free fr>

 vapi/dbus-glib-1.vapi |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)
---
diff --git a/vapi/dbus-glib-1.vapi b/vapi/dbus-glib-1.vapi
index 0c921c2..11f7bd6 100644
--- a/vapi/dbus-glib-1.vapi
+++ b/vapi/dbus-glib-1.vapi
@@ -54,6 +54,7 @@ namespace DBus {
 		public bool is_set ();
 	}
 
+	[DBus (name = "org.freedesktop.DBus.Error")]
 	[CCode (cname = "DBusGError", lower_case_csuffix = "gerror", cprefix = "DBUS_GERROR_")]
 	public errordomain Error {
 		FAILED,
@@ -61,6 +62,7 @@ namespace DBus {
 		SERVICE_UNKNOWN,
 		NAME_HAS_NO_OWNER,
 		NO_REPLY,
+		[DBus (name = "IOError")]
 		IO_ERROR,
 		BAD_ADDRESS,
 		NOT_SUPPORTED,
@@ -79,14 +81,20 @@ namespace DBus {
 		TIMED_OUT,
 		MATCH_RULE_NOT_FOUND,
 		MATCH_RULE_INVALID,
+		[DBus (name = "Spawn.ExecFailed")]
 		SPAWN_EXEC_FAILED,
+		[DBus (name = "Spawn.ForkFailed")]
 		SPAWN_FORK_FAILED,
+		[DBus (name = "Spawn.ChildExited")]
 		SPAWN_CHILD_EXITED,
+		[DBus (name = "Spawn.ChildSignaled")]
 		SPAWN_CHILD_SIGNALED,
+		[DBus (name = "Spawn.Failed")]
 		SPAWN_FAILED,
 		UNIX_PROCESS_ID_UNKNOWN,
 		INVALID_SIGNATURE,
 		INVALID_FILE_CONTENT,
+		[DBus (name = "SELinuxSecurityContextUnknown")]
 		SELINUX_SECURITY_CONTEXT_UNKNOWN,
 		REMOTE_EXCEPTION
 	}



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