mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-10 11:39:46 +00:00
Fix some unused import compiler warnings if using < v1_10
This commit is contained in:
parent
fc7cda4522
commit
11c974a55e
1 changed files with 5 additions and 1 deletions
|
@ -10,8 +10,11 @@ use Element;
|
||||||
|
|
||||||
use glib;
|
use glib;
|
||||||
use glib::IsA;
|
use glib::IsA;
|
||||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlib, FromGlibPtrBorrow,
|
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlib,
|
||||||
FromGlibPtrContainer, ToGlib, ToGlibPtr};
|
FromGlibPtrContainer, ToGlib, ToGlibPtr};
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
|
use glib::translate::FromGlibPtrBorrow;
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
use glib::object::Downcast;
|
use glib::object::Downcast;
|
||||||
use QueryRef;
|
use QueryRef;
|
||||||
use Event;
|
use Event;
|
||||||
|
@ -29,6 +32,7 @@ use std::mem;
|
||||||
use libc;
|
use libc;
|
||||||
|
|
||||||
use ffi;
|
use ffi;
|
||||||
|
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||||
use glib_ffi;
|
use glib_ffi;
|
||||||
use gobject_ffi;
|
use gobject_ffi;
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue