Closed oakes closed 9 years ago
Perfect, thanks !
It's wrong to put this type in gtk3-sys
. It has nothing to do with GTK. It isn't a part of the FFI layer, but a higher level Rust abstraction.
As discussed in #213, the enum needs to provide a variant to store other types with values we don't know in advance. You will not get from_primitive
and as u64
for free then.
I thought GType was part of GTK. I revert it then.
As discussed in #213, this replaces the
GType
constants brought in via FFI with thegtk::GType
enum.