Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Exported objects that use @DBusBoundProperty only do not export org.freedesktop.DBus.Properties #252

Merged
merged 1 commit into from
Mar 12, 2024

Conversation

brett-smith
Copy link
Contributor

@brett-smith brett-smith commented Mar 11, 2024

If an interface uses this annotation, but doesn't implement org.freedesktop.dbus.interfaces.Properties, then no introspection data will be generated for org.freedesktop.DBus.Properties.

This patch will automatically generate the introspection data for this interface if a @DBusBoundProperty annotation is found on any method in the class.

Note that this doesn't actually stop the properties from working, but this generic interface should always be exported. All other services do.

After fix ...

after-export-fix

Before fix ..

before-export-fix

…matically exporting `org.freedesktop.DBus.Properties`. Note that this doesn't actually stop the properties from work, but this generic interface should always be exported.
@hypfvieh hypfvieh merged commit 4362e22 into hypfvieh:master Mar 12, 2024
4 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants