Fix some unused import compiler warnings if using < v1_10

This commit is contained in:
Sebastian Dröge 2018-03-16 12:28:20 +02:00
parent fc7cda4522
commit 11c974a55e

View file

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