Multiple message_function
Havoc Pennington
hp at redhat.com
Wed Aug 3 02:42:37 EST 2005
On Tue, 2005-08-02 at 15:15 +0200, P. Durante wrote:
> Hi,
> if I have a connection to the system bus, and a couple of objects
> (each one under a different path) is it ok to call
> dbus_connection_register_object_path() to save a different message
> handler for each of them?
> The documentation doesn't say anything against that, but dbus complains with
>
> A handler is already registered for the path starting with path[0] = "org"
>
> is it just my own fault?
You can only have one handler per path, that warning should mean that
you registered a second handler for the same path. But dbus could be
buggy of course. Try writing a small, compilable test case and if it
shows the problem send it along.
Havoc
More information about the dbus
mailing list