Skip to content

Conversation

elmarco
Copy link
Contributor

@elmarco elmarco commented Sep 29, 2025

No description provided.

Signed-off-by: Marc-André Lureau <[email protected]>
@elmarco
Copy link
Contributor Author

elmarco commented Sep 29, 2025

btw, is BoxedInline for GString best solution? it does a copy when calling from_glib_full()...

@sdroege
Copy link
Member

sdroege commented Sep 29, 2025

btw, is BoxedInline for GString best solution? it does a copy when calling from_glib_full()...

It should probably steal the contained string in that case, but also where are you passing GStrings in public API?

@elmarco
Copy link
Contributor Author

elmarco commented Sep 29, 2025

btw, is BoxedInline for GString best solution? it does a copy when calling from_glib_full()...

It should probably steal the contained string in that case, but also where are you passing GStrings in public API?

https://gitlab.com/qemu-project/qemu/-/blob/master/include/qobject/qjson.h?ref_type=heads#L28

@sdroege
Copy link
Member

sdroege commented Sep 30, 2025

Shouldn't that just return a char *? But anyway, this here needs to be fixed.

@sdroege sdroege merged commit 869678d into gtk-rs:main Sep 30, 2025
45 of 48 checks passed
@sdroege sdroege added the needs-backport PR needs backporting to the current stable branch label Sep 30, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

needs-backport PR needs backporting to the current stable branch

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants