Remove various unused use statements

This commit is contained in:
Sebastian Dröge 2018-12-08 13:06:44 +02:00
parent 6bba3d8518
commit 36bcb5630a
10 changed files with 8 additions and 17 deletions

View file

@ -13,8 +13,7 @@ use gst;
use gst::miniobject::*;
use glib;
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr};
use glib_ffi;
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib};
gst_define_mini_object_wrapper!(
VideoOverlayRectangle,

View file

@ -22,7 +22,7 @@ use ClockTime;
use ffi;
use glib;
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlib, ToGlib, ToGlibPtr};
use glib::translate::{from_glib, from_glib_full, FromGlib, ToGlib};
use glib_ffi;
pub enum Readable {}

View file

@ -8,8 +8,7 @@
use ffi;
use glib;
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlibPtr};
use glib_ffi;
use glib::translate::from_glib_full;
use std::fmt;
use miniobject::*;

View file

@ -17,9 +17,8 @@ use CapsIntersectMode;
use ffi;
use glib;
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr};
use glib::translate::{from_glib, from_glib_full, ToGlib, ToGlibPtr};
use glib::value::ToSendValue;
use glib_ffi;
gst_define_mini_object_wrapper!(Caps, CapsRef, ffi::GstCaps, [Debug, PartialEq, Eq,], || {
ffi::gst_caps_get_type()

View file

@ -12,8 +12,7 @@ use std::fmt;
use ffi;
use glib;
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr};
use glib_ffi;
use glib::translate::{from_glib, from_glib_full, ToGlib, ToGlibPtr};
use miniobject::*;
use StructureRef;

View file

@ -19,9 +19,8 @@ use std::ops::Deref;
use std::ptr;
use glib;
use glib::translate::{from_glib, from_glib_full, from_glib_none, FromGlib, ToGlib, ToGlibPtr};
use glib::translate::{from_glib, from_glib_full, FromGlib, ToGlib, ToGlibPtr};
use glib::value::ToSendValue;
use glib_ffi;
#[cfg(any(feature = "v1_10", feature = "dox"))]
use glib::translate::FromGlibPtrContainer;

View file

@ -27,7 +27,6 @@ use glib::translate::{from_glib, from_glib_full, from_glib_none, mut_override, T
use glib::value::ToSendValue;
use glib::Cast;
use glib::IsA;
use glib_ffi;
gst_define_mini_object_wrapper!(Message, MessageRef, ffi::GstMessage, [Debug,], || {
ffi::gst_message_get_type()

View file

@ -12,8 +12,7 @@ use std::ptr;
use ffi;
use glib;
use glib::translate::{from_glib, from_glib_full, from_glib_none, mut_override, ToGlibPtr};
use glib_ffi;
use glib::translate::{from_glib_full, from_glib_none, mut_override, ToGlibPtr};
use miniobject::*;
use Buffer;

View file

@ -13,9 +13,8 @@ use std::mem;
use ffi;
use glib;
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr, ToGlibPtrMut};
use glib::translate::{from_glib, from_glib_full, ToGlib, ToGlibPtr, ToGlibPtrMut};
use glib::value::{FromValueOptional, SendValue, SetValue, ToSendValue, TypedValue};
use glib_ffi;
use miniobject::*;

View file

@ -16,7 +16,6 @@ use glib;
use glib::translate::{
from_glib, from_glib_full, from_glib_none, FromGlibPtrContainer, ToGlib, ToGlibPtr,
};
use glib_ffi;
use miniobject::*;
use TagList;