Skip to content

🐛 zx: Fix declaring proxies for writable properties#453

Merged
zeenix merged 1 commit intoz-galaxy:mainfrom
mvidner:proxy-for-writable-properties
Aug 23, 2023
Merged

🐛 zx: Fix declaring proxies for writable properties#453
zeenix merged 1 commit intoz-galaxy:mainfrom
mvidner:proxy-for-writable-properties

Conversation

@mvidner
Copy link
Copy Markdown
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
Copy Markdown
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.

@zeenix zeenix enabled auto-merge August 23, 2023 16:25
@zeenix zeenix merged commit 6b81f08 into z-galaxy:main Aug 23, 2023
@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