Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Fix unstable super_calback's list for g_vfs_register_uri_scheme #701

merged 1 commit into from Jan 22, 2019


None yet
3 participants
Copy link

EPashkin commented Jan 22, 2019

Gir sometimes swap boxes for gio's g_vfs_unregister_uri_scheme

--- a/src/auto/
+++ b/src/auto/
@@ -121,8 +121,8 @@ impl<O: IsA<Vfs>> VfsExt for O {
             let _callback: Box_<Option<P>> = Box_::from_raw(data as *mut _);
         let destroy_call7 = Some(parse_name_destroy_func::<P, R> as _);
+        let super_callback1: Box_<Option<R>> = parse_name_func_data;
         let super_callback0: Box_<Option<P>> = uri_func_data;
-        let super_callback1: Box_<Option<R>> = parse_name_func_data;
         unsafe {

cc @GuillaumeGomez, @sdroege


This comment has been minimized.

Copy link

GuillaumeGomez commented Jan 22, 2019


1 similar comment

This comment has been minimized.

Copy link

sdroege commented Jan 22, 2019


@EPashkin EPashkin merged commit cfbc40d into gtk-rs:master Jan 22, 2019

2 checks passed

continuous-integration/appveyor/pr AppVeyor build succeeded
continuous-integration/travis-ci/pr The Travis CI build passed

@EPashkin EPashkin deleted the EPashkin:replace_hashmap branch Jan 22, 2019

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
You can’t perform that action at this time.