Skip to content

Conversation

bash
Copy link
Contributor

@bash bash commented Oct 7, 2025

No description provided.

+ InitableImpl
+ ObjectSubclass<Type: IsA<DBusProxy>>
{
fn g_properties_changed(
Copy link
Member

Choose a reason for hiding this comment

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

Remove the g_ prefix

Copy link
Member

Choose a reason for hiding this comment

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

That's how it's called though. The signal is g-properties-changed for whatever reason :)

Comment on lines 55 to 56
sender_name: Option<&str>,
signal_name: &str,
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
sender_name: Option<&str>,
signal_name: &str,
sender_name: Option<&glib::GStr>,
signal_name: &glib::GStr,

maybe so we don't have to do heap allocations for all the NUL-termination?

sdroege
sdroege previously approved these changes Oct 12, 2025
@sdroege
Copy link
Member

sdroege commented Oct 12, 2025

Can you add an example here?

@bash bash force-pushed the dbus-proxy-implementable branch from 351609b to 4fc1bed Compare October 12, 2025 14:48
type ParentType = DBusProxy;
}

#[derived_properties]
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
#[derived_properties]
#[glib::derived_properties]

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.

3 participants