Skip to content

gs-plugin: Add D-Bus connection properties

These must be set at construction time, forcing the caller to setup bus connections already. This avoids having to set them up during setup of the plugin itself. This should be an overall simplification of plugins’ code.

By providing D-Bus connections to plugins, rather than having plugins construct them themselves, it becomes easy to pass mock D-Bus connections in during unit tests.

Signed-off-by: Philip Withnall pwithnall@endlessos.org

Fixes: #1694 (closed)

Closes #1694 (closed)

Edited by Philip Withnall

Merge request reports

Loading