GError names over the bus
ross at burtonini.com
Mon Jul 4 12:23:19 PDT 2005
On Mon, 2005-07-04 at 16:25 +0100, Ross Burton wrote:
> As discussed with Colin earlier, when serialising a GEnum to a string to
> form a DBus error message, the enum's name, not nick, should be used.
> Attached patch to fix this.
And this patch fixes the issue and also changes the tests so that the
name element of the enum is "Foo" not "MY_OBJECT_ERROR_FOO". I think
this is the right thing to do (as this is what glib-mkenums does).
Ross Burton mail: ross at burtonini.com
jabber: ross at burtonini.com
PGP Fingerprint: 1A21 F5B0 D8D0 CFE3 81D4 E25A 2D09 E447 D0B4 33DF
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1042 bytes
Desc: not available
Url : http://lists.freedesktop.org/archives/dbus/attachments/20050704/16a93942/dbus-enum.bin
More information about the dbus