]> git.ipfire.org Git - thirdparty/vala.git/commitdiff
D-Bus: Fix error domain registration with GDBus
authorJürg Billeter <j@bitron.ch>
Mon, 28 Jun 2010 22:08:22 +0000 (00:08 +0200)
committerJürg Billeter <j@bitron.ch>
Mon, 28 Jun 2010 22:08:22 +0000 (00:08 +0200)
codegen/valagdbusmodule.vala

index 1e32ea7ea893732ec8c2f23c2470f2d8b5f35f48..82fc076ed3ed5a4905f1f3fbb9fd371de9c64172 100644 (file)
@@ -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);
                }