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

Regenerate with latest GIR #191

Merged
merged 2 commits into from
Sep 10, 2017
Merged

Regenerate with latest GIR #191

merged 2 commits into from
Sep 10, 2017

Conversation

sdroege
Copy link
Member

@sdroege sdroege commented Sep 9, 2017

No description provided.

@EPashkin
Copy link
Member

EPashkin commented Sep 9, 2017

Manual files need update too.

@EPashkin
Copy link
Member

EPashkin commented Sep 9, 2017

Here (gdk) and gtk too.

@sdroege
Copy link
Member Author

sdroege commented Sep 9, 2017

There's nothing in the manual implementations here that needs updating. In GTK I updated the manual implementations (and in GIO).

@EPashkin
Copy link
Member

EPashkin commented Sep 9, 2017

There still problem with latest glib and your 3 PRs:

error[E0277]: the trait bound `gdk::Rectangle: glib::translate::FromGlibPtrBorrow<*mut gdk_ffi::GdkRectangle>` is not satisfied
   --> D:/eap/rust/0/gtk\src\auto\cell_area.rs:466:122
    |
466 |     f(&CellArea::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(renderer), &from_glib_borrow(editable), &from_glib_borrow(cell_area), path)
    |                                                                                                                          ^^^^^^^^^^^^^^^^ the trait `glib::translate::FromGlibPtrBorrow<*mut gdk_ffi::GdkRectangle>` is not implemented for `gdk::Rectangle`
    |
    = note: required by `glib::translate::from_glib_borrow`

error[E0277]: the trait bound `gdk::RGBA: glib::translate::FromGlibPtrBorrow<*mut gdk_ffi::GdkRGBA>` is not satisfied
   --> D:/eap/rust/0/gtk\src\auto\color_chooser.rs:100:68
    |
100 |     f(&ColorChooser::from_glib_borrow(this).downcast_unchecked(), &from_glib_borrow(color))
    |                                                                    ^^^^^^^^^^^^^^^^ the trait `glib::translate::FromGlibPtrBorrow<*mut gdk_ffi::GdkRGBA>` is not implemented for `gdk::RGBA`
    |
    = note: required by `glib::translate::from_glib_borrow`

error[E0277]: the trait bound `gdk::EventButton: glib::translate::FromGlibPtrBorrow<*mut gdk_ffi::GdkEventButton>` is not satisfied
    --> D:/eap/rust/0/gtk\src\auto\entry.rs:1844:82
     |
1844 |     f(&Entry::from_glib_borrow(this).downcast_unchecked(), from_glib(icon_pos), &from_glib_borrow(event))
     |                                                                                  ^^^^^^^^^^^^^^^^ the trait `glib::translate::FromGlibPtrBorrow<*mut gdk_ffi::GdkEventButton>` is not implemented for `gdk::EventButton`
     |
     = note: required by `glib::translate::from_glib_borrow`

error[E0277]: the trait bound `gdk::EventButton: glib::translate::FromGlibPtrBorrow<*mut gdk_ffi::GdkEventButton>` is not satisfied
    --> D:/eap/rust/0/gtk\src\auto\entry.rs:1851:82
     |
1851 |     f(&Entry::from_glib_borrow(this).downcast_unchecked(), from_glib(icon_pos), &from_glib_borrow(event))
     |                                                                                  ^^^^^^^^^^^^^^^^ the trait `glib::translate::FromGlibPtrBorrow<*mut gdk_ffi::GdkEventButton>` is not implemented for `gdk::EventButton`
     |
     = note: required by `glib::translate::from_glib_borrow`

@sdroege
Copy link
Member Author

sdroege commented Sep 9, 2017

Meh, missing impls for those indeed. Need to be added manually

@sdroege
Copy link
Member Author

sdroege commented Sep 9, 2017

Together with gtk-rs/cairo#155 and the changes to gdk in the same PR, it builds fine here now.

@EPashkin
Copy link
Member

Thanks, @sdroege, it builds fine
@GuillaumeGomez, 👍 for this, gtk-rs/gio#55, gtk-rs/gtk#572 and gtk-rs/cairo#155

@GuillaumeGomez
Copy link
Member

Thanks!

@GuillaumeGomez GuillaumeGomez merged commit 72ecfd3 into gtk-rs:master Sep 10, 2017
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.

3 participants