Work around gtk/gdk bindings bug in gtkvideooverlay example

https://github.com/gtk-rs/gtk/issues/570
This commit is contained in:
Sebastian Dröge 2017-08-31 13:03:58 +03:00
parent c94eb34f34
commit 3d1a7efb64

View file

@ -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;