lib: Import glib types
@@ -33,6 +33,20 @@ macro_rules! skip_assert_initialized {
() => ()
}
+#[allow(unused_imports)]
+use glib::{
+ Cast,
+ Continue,
+ Error,
+ IsA,
+ Object,
+ StaticType,
+ ToValue,
+ Type,
+ TypedValue,
+ Value,
+};
+
#[cfg_attr(feature = "cargo-clippy", allow(transmute_ptr_to_ref))]
#[cfg_attr(feature = "cargo-clippy", allow(type_complexity))]
#[cfg_attr(feature = "cargo-clippy", allow(unreadable_literal))]
@@ -57,5 +71,3 @@ pub use geometry::Geometry;
pub use keymap_key::KeymapKey;
pub use rgba::{RGBA, RgbaParseError};
pub use time_coord::TimeCoord;
-
-pub use glib::Error;
