From 3d1a7efb6430bf016ccf7cf669a812e9d953f72b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 31 Aug 2017 13:03:58 +0300 Subject: [PATCH] Work around gtk/gdk bindings bug in gtkvideooverlay example https://github.com/gtk-rs/gtk/issues/570 --- examples/src/bin/gtkvideooverlay.rs | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/examples/src/bin/gtkvideooverlay.rs b/examples/src/bin/gtkvideooverlay.rs index bef8a1754..0cb140a2e 100644 --- a/examples/src/bin/gtkvideooverlay.rs +++ b/examples/src/bin/gtkvideooverlay.rs @@ -22,11 +22,15 @@ use gio::prelude::*; extern crate gtk; #[cfg(feature = "gtkvideooverlay")] use gtk::prelude::*; +#[cfg(feature = "gtkvideooverlay")] +use gtk::prelude::WindowExt as GtkWindowExt; #[cfg(feature = "gtkvideooverlay")] extern crate gdk; #[cfg(feature = "gtkvideooverlay")] use gdk::prelude::*; +#[cfg(feature = "gtkvideooverlay")] +use gdk::prelude::WindowExt as GdkWindowExt; #[cfg(feature = "gtkvideooverlay")] use std::env;