[vala] D-Bus: Fix error domain registration with GDBus



commit ba6f0a1d87a96be48dfa96ba316ca750da1e38dc
Author: Jürg Billeter <j bitron ch>
Date:   Tue Jun 29 00:08:22 2010 +0200

    D-Bus: Fix error domain registration with GDBus

 codegen/valagdbusmodule.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/codegen/valagdbusmodule.vala b/codegen/valagdbusmodule.vala
index 1e32ea7..82fc076 100644
--- a/codegen/valagdbusmodule.vala
+++ b/codegen/valagdbusmodule.vala
@@ -68,7 +68,7 @@ public class Vala.GDBusModule : GVariantModule {
 
 			var error_entry = new CCodeInitializerList ();
 			error_entry.append (new CCodeIdentifier (ecode.get_cname ()));
-			error_entry.append (new CCodeConstant ("\"%s\"".printf (ecode_dbus_name)));
+			error_entry.append (new CCodeConstant ("\"%s.%s\"".printf (edomain_dbus_name, ecode_dbus_name)));
 			error_entries.append (error_entry);
 		}
 



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