Skip to content
This repository was archived by the owner on Jun 8, 2021. It is now read-only.

Conversation

bvinc
Copy link
Contributor

@bvinc bvinc commented Apr 23, 2018

No description provided.

@EPashkin
Copy link
Member

@bvinc Thanks
👍

src/key_file.rs Outdated
if !error.is_null() {
return Err(from_glib_full(error));
}
let v: Vec<ffi::gboolean> = FromGlibContainer::from_glib_container_num(ret, length as usize);
Copy link
Member

Choose a reason for hiding this comment

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

I thought we had a FromGlibContainer implementation for bool already

Copy link
Contributor Author

Choose a reason for hiding this comment

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

No, there wasn't one. There was a FromGlib<glib_ffi::gboolean> for bool. But there was nothing to translate a *mut gboolean to a Vec<bool>. I added one in the next commit.

@sdroege
Copy link
Member

sdroege commented Apr 24, 2018

Looks good to me

@GuillaumeGomez
Copy link
Member

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit ae0ef7b into gtk-rs:master Apr 24, 2018
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants