[PATCH] similar change to dbus_connection_unregister_object_path

Havoc Pennington hp at redhat.com
Wed Oct 10 11:18:05 PDT 2007


Simon McVittie wrote:
>> I'm struggling to think of an example of non-broken code that 
>> unregisters without knowing whether it's registered.
> Language bindings don't necessarily want to know what paths they've
> registered - they want (their) user code to be responsible for knowing that.
> However, if we used that strategy at the moment, failure looks like a D-Bus
> bug, rather than a user code bug (high-level language users expect *their*
> bugs to manifest as exceptions or whatever).

That's still not an argument for silently failing though - it's an 
argument for returning a DBusError.


More information about the dbus mailing list