Skip to content

Commit 5162d9f

Browse files
Regenerate with latest gir/gir-files
1 parent b74e44d commit 5162d9f

File tree

20 files changed

+42
-41
lines changed

20 files changed

+42
-41
lines changed

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 @ 047f55810b96)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5eb11fc69910)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)

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 @ 047f55810b96)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5eb11fc69910)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)

gio/src/auto/dbus_method_invocation.rs

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,10 @@
66
#[cfg_attr(feature = "dox", doc(cfg(unix)))]
77
use crate::UnixFDList;
88
use crate::{DBusConnection, DBusMessage, DBusMethodInfo, DBusPropertyInfo};
9-
use glib::{prelude::*, translate::*};
9+
#[cfg(any(unix, feature = "dox"))]
10+
#[cfg_attr(feature = "dox", doc(cfg(unix)))]
11+
use glib::prelude::*;
12+
use glib::translate::*;
1013
use std::fmt;
1114

1215
glib::wrapper! {

gio/src/auto/desktop_app_info.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -237,7 +237,7 @@ impl DesktopAppInfo {
237237
callback(&appinfo, pid)
238238
} else {
239239
panic!("cannot get closure...")
240-
};
240+
}
241241
}
242242
let pid_callback = if pid_callback_data.is_some() {
243243
Some(pid_callback_func as _)

gio/src/auto/file.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -948,7 +948,7 @@ impl<O: IsA<File>> FileExt for O {
948948
callback(current_num_bytes, total_num_bytes)
949949
} else {
950950
panic!("cannot get closure...")
951-
};
951+
}
952952
}
953953
let progress_callback = if progress_callback_data.is_some() {
954954
Some(progress_callback_func as _)
@@ -2036,7 +2036,7 @@ impl<O: IsA<File>> FileExt for O {
20362036
callback(current_num_bytes, total_num_bytes)
20372037
} else {
20382038
panic!("cannot get closure...")
2039-
};
2039+
}
20402040
}
20412041
let progress_callback = if progress_callback_data.is_some() {
20422042
Some(progress_callback_func as _)

gio/src/auto/subprocess_launcher.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -52,7 +52,7 @@ impl SubprocessLauncher {
5252
let child_setup_data: Box_<P> = Box_::new(child_setup);
5353
unsafe extern "C" fn child_setup_func<P: Fn() + 'static>(data: glib::ffi::gpointer) {
5454
let callback: &P = &*(data as *mut _);
55-
(*callback)();
55+
(*callback)()
5656
}
5757
let child_setup = Some(child_setup_func::<P> as _);
5858
unsafe extern "C" fn destroy_notify_func<P: Fn() + 'static>(data: glib::ffi::gpointer) {

gio/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 @ 047f55810b96)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5eb11fc69910)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)

gio/src/auto/vfs.rs

Lines changed: 6 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -123,12 +123,12 @@ impl<O: IsA<Vfs>> VfsExt for O {
123123
let identifier: Borrowed<glib::GString> = from_glib_borrow(identifier);
124124
let callback: &Option<Box_<dyn Fn(&Vfs, &str) -> File + 'static>> =
125125
&*(user_data as *mut _);
126-
let res = if let Some(ref callback) = *callback {
126+
if let Some(ref callback) = *callback {
127127
callback(&vfs, identifier.as_str())
128128
} else {
129129
panic!("cannot get closure...")
130-
};
131-
res.to_glib_full()
130+
}
131+
.to_glib_full()
132132
}
133133
let uri_func = if uri_func_data.is_some() {
134134
Some(uri_func_func as _)
@@ -146,12 +146,12 @@ impl<O: IsA<Vfs>> VfsExt for O {
146146
let identifier: Borrowed<glib::GString> = from_glib_borrow(identifier);
147147
let callback: &Option<Box_<dyn Fn(&Vfs, &str) -> File + 'static>> =
148148
&*(user_data as *mut _);
149-
let res = if let Some(ref callback) = *callback {
149+
if let Some(ref callback) = *callback {
150150
callback(&vfs, identifier.as_str())
151151
} else {
152152
panic!("cannot get closure...")
153-
};
154-
res.to_glib_full()
153+
}
154+
.to_glib_full()
155155
}
156156
let parse_name_func = if parse_name_func_data.is_some() {
157157
Some(parse_name_func_func as _)

gio/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 @ 047f55810b96)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5eb11fc69910)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)

glib/gobject-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 @ 047f55810b96)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5eb11fc69910)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 425f84d5af7f)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 4eaad6a722bf)

0 commit comments

Comments
 (0)