Skip to content

Commit 4c5f0d2

Browse files
committed
Regenerate with latest gir / gir-files
1 parent 06b163c commit 4c5f0d2

File tree

206 files changed

+963
-1543
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

206 files changed

+963
-1543
lines changed

gdk-pixbuf/src/auto/enums.rs

Lines changed: 3 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -2,13 +2,9 @@
22
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

5-
use glib::error::ErrorDomain;
6-
use glib::translate::*;
7-
use glib::value::FromValue;
8-
use glib::value::ToValue;
9-
use glib::Quark;
10-
use glib::StaticType;
11-
use glib::Type;
5+
use glib::{
6+
error::ErrorDomain, translate::*, value::FromValue, value::ToValue, Quark, StaticType, Type,
7+
};
128
use std::fmt;
139

1410
#[derive(Debug, Eq, PartialEq, Ord, PartialOrd, Hash, Clone, Copy)]

gdk-pixbuf/src/auto/pixbuf.rs

Lines changed: 3 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -2,16 +2,9 @@
22
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

5-
use crate::Colorspace;
6-
use crate::InterpType;
7-
use crate::PixbufFormat;
8-
use crate::PixbufRotation;
9-
use glib::object::IsA;
10-
use glib::object::ObjectType as ObjectType_;
11-
use glib::translate::*;
12-
use glib::StaticType;
13-
use std::fmt;
14-
use std::ptr;
5+
use crate::{Colorspace, InterpType, PixbufFormat, PixbufRotation};
6+
use glib::{prelude::*, translate::*};
7+
use std::{fmt, ptr};
158

169
glib::wrapper! {
1710
#[doc(alias = "GdkPixbuf")]

gdk-pixbuf/src/auto/pixbuf_animation.rs

Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -3,12 +3,8 @@
33
// DO NOT EDIT
44

55
use crate::Pixbuf;
6-
use glib::object::IsA;
7-
use glib::translate::*;
8-
use std::boxed::Box as Box_;
9-
use std::fmt;
10-
use std::pin::Pin;
11-
use std::ptr;
6+
use glib::{prelude::*, translate::*};
7+
use std::{boxed::Box as Box_, fmt, pin::Pin, ptr};
128

139
glib::wrapper! {
1410
#[doc(alias = "GdkPixbufAnimation")]

gdk-pixbuf/src/auto/pixbuf_loader.rs

Lines changed: 7 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,18 +2,13 @@
22
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

5-
use crate::Pixbuf;
6-
use crate::PixbufAnimation;
7-
use crate::PixbufFormat;
8-
use glib::object::Cast;
9-
use glib::object::IsA;
10-
use glib::signal::connect_raw;
11-
use glib::signal::SignalHandlerId;
12-
use glib::translate::*;
13-
use std::boxed::Box as Box_;
14-
use std::fmt;
15-
use std::mem::transmute;
16-
use std::ptr;
5+
use crate::{Pixbuf, PixbufAnimation, PixbufFormat};
6+
use glib::{
7+
prelude::*,
8+
signal::{connect_raw, SignalHandlerId},
9+
translate::*,
10+
};
11+
use std::{boxed::Box as Box_, fmt, mem::transmute, ptr};
1712

1813
glib::wrapper! {
1914
#[doc(alias = "GdkPixbufLoader")]

gdk-pixbuf/src/auto/pixbuf_non_anim.rs

Lines changed: 2 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,10 +2,8 @@
22
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

5-
use crate::Pixbuf;
6-
use crate::PixbufAnimation;
7-
use glib::object::Cast;
8-
use glib::translate::*;
5+
use crate::{Pixbuf, PixbufAnimation};
6+
use glib::{prelude::*, translate::*};
97
use std::fmt;
108

119
glib::wrapper! {

gdk-pixbuf/src/auto/pixbuf_simple_anim.rs

Lines changed: 7 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,13 @@
22
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

5-
use crate::Pixbuf;
6-
use crate::PixbufAnimation;
7-
use glib::object::ObjectType as ObjectType_;
8-
use glib::signal::connect_raw;
9-
use glib::signal::SignalHandlerId;
10-
use glib::translate::*;
11-
use std::boxed::Box as Box_;
12-
use std::fmt;
13-
use std::mem::transmute;
5+
use crate::{Pixbuf, PixbufAnimation};
6+
use glib::{
7+
prelude::*,
8+
signal::{connect_raw, SignalHandlerId},
9+
translate::*,
10+
};
11+
use std::{boxed::Box as Box_, fmt, mem::transmute};
1412

1513
glib::wrapper! {
1614
#[doc(alias = "GdkPixbufSimpleAnim")]

gdk-pixbuf/src/auto/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 65c027456409)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 81c03ad94bb2)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 751a9c9d62f5)

gdk-pixbuf/sys/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 65c027456409)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ dc752de0b068)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 81c03ad94bb2)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 751a9c9d62f5)

gio/src/auto/action.rs

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -2,15 +2,12 @@
22
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

5-
use glib::object::Cast;
6-
use glib::object::IsA;
7-
use glib::signal::connect_raw;
8-
use glib::signal::SignalHandlerId;
9-
use glib::translate::*;
10-
use std::boxed::Box as Box_;
11-
use std::fmt;
12-
use std::mem::transmute;
13-
use std::ptr;
5+
use glib::{
6+
prelude::*,
7+
signal::{connect_raw, SignalHandlerId},
8+
translate::*,
9+
};
10+
use std::{boxed::Box as Box_, fmt, mem::transmute, ptr};
1411

1512
glib::wrapper! {
1613
#[doc(alias = "GAction")]

gio/src/auto/action_group.rs

Lines changed: 6 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -2,14 +2,12 @@
22
// from gir-files (https://github.com/gtk-rs/gir-files)
33
// DO NOT EDIT
44

5-
use glib::object::Cast;
6-
use glib::object::IsA;
7-
use glib::signal::connect_raw;
8-
use glib::signal::SignalHandlerId;
9-
use glib::translate::*;
10-
use std::boxed::Box as Box_;
11-
use std::fmt;
12-
use std::mem::transmute;
5+
use glib::{
6+
prelude::*,
7+
signal::{connect_raw, SignalHandlerId},
8+
translate::*,
9+
};
10+
use std::{boxed::Box as Box_, fmt, mem::transmute};
1311

1412
glib::wrapper! {
1513
#[doc(alias = "GActionGroup")]

0 commit comments

Comments
 (0)