Commit 11c974a5 authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

Fix some unused import compiler warnings if using < v1_10

parent fc7cda45
...@@ -10,8 +10,11 @@ use Element; ...@@ -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; ...@@ -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;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment