Why DBus errors name cannot contains "_" or "-" in dbus-glib?

Will Thompson will.thompson at collabora.co.uk
Thu Sep 16 02:50:13 PDT 2010

On 15/09/10 22:17, maxprofitisback wrote:
> Next to 0.84 release of dbus-glib if a name of a GError contains "_" or
> "-", this character is squashed (see git commit
> 9637ed9f0c66982a06048b18ccf983881643e456)
> Why an error name like "FAILED_ERROR" will be replaced in "FAILEDERROR" ?

 From the D-Bus specification 
this is incorrect behaviour. Error names follow the same rules as 
interfaces; so, they can't contain hyphens, but should be able to 
contain underscores.

I think I reviewed this patch. Whoops!


More information about the dbus mailing list