Skip to content

Conversation

sdroege
Copy link
Member

@sdroege sdroege commented Sep 9, 2024

No description provided.

sdroege and others added 7 commits September 9, 2024 19:38
…ss::Instance`

This defaults to `std::ffi::c_void` but can be used to provide a newtype
wrapper around it instead for additional type-safety in FFI code.

Fixes gtk-rs#1485
Interfaces can't carry any data themselves.
While this method consumes a given `VariantDict`, the underlying object
could still be accessed through other clones because of the reference
counted clone semantics.
All that is guaranteed about them is that they give the correct order
for the original strings when passed to strcmp().

Also add a separate integration test for this that calls setlocale() to
get the default system locale. This makes sure that not just the "C"
locale is selected, which returns literally the same string as collation
key.

Fixes gtk-rs#1504
@bilelmoussaoui bilelmoussaoui merged commit f255231 into gtk-rs:0.20 Sep 9, 2024
48 checks passed
@sdroege sdroege deleted the 0.20-backports branch September 9, 2024 16:57
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.

4 participants