(This is a WIP, as new tests for this feature are missing, and old tests are failing; I'll fix this once the code has been reviewed, to avoid updating the templates every time :-) )
Stubs can be registered on multiple connections, and also multiple times
on the same connection, as long as object paths are different. This
commit enables this, by turning the object registration data into an
array.
Note that signals need to be emitted on each connection/path.
A check to avoid duplicate registrations (with the same connection/path)
is not needed, as it's already performed by
g_dbus_connection_register_object().
(This is a WIP, as new tests for this feature are missing, and old tests are failing; I'll fix this once the code has been reviewed, to avoid updating the templates every time :-) )
Stubs can be registered on multiple connections, and also multiple times on the same connection, as long as object paths are different. This commit enables this, by turning the object registration data into an array.
Note that signals need to be emitted on each connection/path.
A check to avoid duplicate registrations (with the same connection/path) is not needed, as it's already performed by g_dbus_connection_register_object().
Fixes: #81
Signed-off-by: Alberto Mardegan amardegan@luxoft.com