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

🐛 zx: Fix declaring proxies for writable properties #453

Merged
merged 1 commit into from
Aug 23, 2023

Conversation

mvidner
Copy link
Contributor

@mvidner mvidner commented Aug 23, 2023

The #[dbus_proxy(property)] attribute needs to be present also at the set_foo function, otherwise the proxy will call a SetFoo method instead of Setting the Foo property.

Example:
agama-project/agama#712

The `#[dbus_proxy(property)]` attribute needs to be present also at the
`set_foo` function, otherwise the proxy will call a `SetFoo` method instead of
`Set`ting the `Foo` property.

Example:
agama-project/agama#712
Copy link
Contributor

@zeenix zeenix left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Super thanks for your contrbution and bonus points for adhering to our contribution guide! However, I've a question.

zbus_xmlgen/src/lib.rs Show resolved Hide resolved
@zeenix zeenix enabled auto-merge August 23, 2023 16:25
@zeenix zeenix merged commit 6b81f08 into dbus2:main Aug 23, 2023
7 checks passed
@mvidner mvidner deleted the proxy-for-writable-properties branch August 23, 2023 17:24
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.

2 participants