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

Replace atom borrow #263

merged 1 commit into from Jan 22, 2019


None yet
3 participants
Copy link

EPashkin commented Jan 22, 2019

Previous has wrong input types (not fully sure that it unneeded totally)
so regenerated gtk shows this error:

error[E0277]: the trait bound `gdk::Atom: glib::translate::FromGlibPtrBorrow<*mut gdk_ffi::_GdkAtom>` is not satisfied
  --> D:/eap/rust/0/gtk\src\auto\
89 |             let format = from_glib_borrow(format);
   |                          ^^^^^^^^^^^^^^^^ the trait `glib::translate::FromGlibPtrBorrow<*mut gdk_ffi::_GdkAtom>` is not implemented for `gdk::Atom`
   = help: the following implementations were found:
             <gdk::Atom as glib::translate::FromGlibPtrBorrow<*const *mut gdk_ffi::_GdkAtom>>
             <gdk::Atom as glib::translate::FromGlibPtrBorrow<*mut *mut gdk_ffi::_GdkAtom>>
   = note: required by `glib::translate::from_glib_borrow`

cc @GuillaumeGomez , @sdroege


This comment has been minimized.

Copy link

sdroege commented Jan 22, 2019



This comment has been minimized.

Copy link

GuillaumeGomez commented Jan 22, 2019

I just followed what the error said, seems like I was wrong. Thanks for the fix!

@GuillaumeGomez GuillaumeGomez merged commit 8c2102b 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:borrow2 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.