gtk-rs / gtk-rs-core

Rust bindings for GNOME libraries
https://gtk-rs.org/gtk-rs-core
MIT License
293 stars 115 forks source link

glib-macros: Derived boxed types are not TransparentPtrType but `TransparentType` #1559

Closed sdroege closed 1 month ago

sdroege commented 1 month ago

I.e. they're equal to their FFI representation, not equal to a pointer of their FFI representation.

Fixes https://github.com/gtk-rs/gtk-rs-core/issues/1554


@pbor you introduced this in 84c951ef5a62. Sorry for not catching that. I'll backport this breaking change to the 0.20 branch and include it in the next bugfix release because this was simply wrong and could've only worked by chance (and usually involve memory corruption).

sdroege commented 1 month ago

Will do a bugfix release some time later today