[librsvg/wip/aruiz/rust-pixbuf-loader] pixbuf-loader: tidy up imports
- From: Alberto Ruiz <aruiz src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/wip/aruiz/rust-pixbuf-loader] pixbuf-loader: tidy up imports
- Date: Mon, 8 Aug 2022 13:44:55 +0000 (UTC)
commit 2c7e5b8ff3e8bee126d49ba4bd58d1a20589e934
Author: Alberto Ruiz <aruiz redhat com>
Date: Mon Aug 8 14:44:49 2022 +0100
pixbuf-loader: tidy up imports
gdk-pixbuf-loader/src/lib.rs | 13 +++++++------
1 file changed, 7 insertions(+), 6 deletions(-)
---
diff --git a/gdk-pixbuf-loader/src/lib.rs b/gdk-pixbuf-loader/src/lib.rs
index fdb765d6f..3d0b28c77 100644
--- a/gdk-pixbuf-loader/src/lib.rs
+++ b/gdk-pixbuf-loader/src/lib.rs
@@ -7,19 +7,20 @@ use gdk_pixbuf_sys::{
GDK_PIXBUF_FORMAT_THREADSAFE,
};
-use glib::translate::IntoGlib;
-use glib::translate::ToGlibPtr;
-use glib_sys::{gboolean, GError};
-use gobject_sys::GObject;
use libc::{c_char, c_int, c_uint};
+use glib::translate::{IntoGlib, ToGlibPtr};
+use glib::Bytes;
+use glib_sys::{gboolean, GError};
+
use gio::prelude::MemoryInputStreamExt;
use gio::MemoryInputStream;
-use glib::Bytes;
+use gobject_sys::GObject;
+
+use librsvg::rsvg_convert_only::LegacySize;
use librsvg::Loader;
use cstr::cstr;
-use librsvg::rsvg_convert_only::LegacySize;
struct SvgContext {
size_func: GdkPixbufModuleSizeFunc,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]