forked from mirrors/gstreamer-rs
Work around gtk/gdk bindings bug in gtkvideooverlay example
https://github.com/gtk-rs/gtk/issues/570
This commit is contained in:
parent
c94eb34f34
commit
3d1a7efb64
1 changed files with 4 additions and 0 deletions
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue