You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The macro call doesn't resolve for me if I simply follow the instructions in Chapter 2: Project Setup. I have to manually cargo add glib-macros and then alter the example with:
// [...]use glib_macros;// [...]// Trait shared by all GObjects#[glib_macros::derived_properties]implObjectImplforCustomButton{
After that everything compiles and runs properly.
I'm I doing something wrong or is this a documentation problem?
Thanks!
The text was updated successfully, but these errors were encountered:
In Chapter 5.4: Adding Properties to Custom GObjects, the example makes use of the
derived_properties
macro:The macro call doesn't resolve for me if I simply follow the instructions in Chapter 2: Project Setup. I have to manually
cargo add glib-macros
and then alter the example with:After that everything compiles and runs properly.
I'm I doing something wrong or is this a documentation problem?
Thanks!
The text was updated successfully, but these errors were encountered: