Skip to content

Commit d9f949b

Browse files
committed
Regenerate with latest gir
1 parent 34b8e11 commit d9f949b

File tree

16 files changed

+26
-26
lines changed

16 files changed

+26
-26
lines changed

gdk-pixbuf/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b3d444a058cf)
22
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

gdk-pixbuf/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b3d444a058cf)
22
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

gio/src/auto/desktop_app_info.rs

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -205,7 +205,7 @@ impl DesktopAppInfo {
205205
launch_context: Option<&impl IsA<AppLaunchContext>>,
206206
spawn_flags: glib::SpawnFlags,
207207
user_setup: Option<Box_<dyn FnOnce() + 'static>>,
208-
pid_callback: Option<&mut dyn (FnMut(&DesktopAppInfo, glib::Pid))>,
208+
pid_callback: Option<&mut dyn FnMut(&DesktopAppInfo, glib::Pid)>,
209209
) -> Result<(), glib::Error> {
210210
let user_setup_data: Box_<Option<Box_<dyn FnOnce() + 'static>>> = Box_::new(user_setup);
211211
unsafe extern "C" fn user_setup_func(data: glib::ffi::gpointer) {
@@ -218,7 +218,7 @@ impl DesktopAppInfo {
218218
} else {
219219
None
220220
};
221-
let mut pid_callback_data: Option<&mut dyn (FnMut(&DesktopAppInfo, glib::Pid))> =
221+
let mut pid_callback_data: Option<&mut dyn FnMut(&DesktopAppInfo, glib::Pid)> =
222222
pid_callback;
223223
unsafe extern "C" fn pid_callback_func(
224224
appinfo: *mut ffi::GDesktopAppInfo,
@@ -227,7 +227,7 @@ impl DesktopAppInfo {
227227
) {
228228
let appinfo = from_glib_borrow(appinfo);
229229
let pid = from_glib(pid);
230-
let callback = user_data as *mut Option<&mut dyn (FnMut(&DesktopAppInfo, glib::Pid))>;
230+
let callback = user_data as *mut Option<&mut dyn FnMut(&DesktopAppInfo, glib::Pid)>;
231231
if let Some(ref mut callback) = *callback {
232232
callback(&appinfo, pid)
233233
} else {
@@ -240,7 +240,7 @@ impl DesktopAppInfo {
240240
None
241241
};
242242
let super_callback0: Box_<Option<Box_<dyn FnOnce() + 'static>>> = user_setup_data;
243-
let super_callback1: &mut Option<&mut dyn (FnMut(&DesktopAppInfo, glib::Pid))> =
243+
let super_callback1: &mut Option<&mut dyn FnMut(&DesktopAppInfo, glib::Pid)> =
244244
&mut pid_callback_data;
245245
unsafe {
246246
let mut error = std::ptr::null_mut();

gio/src/auto/file.rs

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -222,15 +222,15 @@ pub trait FileExt: IsA<File> + 'static {
222222
destination: &impl IsA<File>,
223223
flags: FileCopyFlags,
224224
cancellable: Option<&impl IsA<Cancellable>>,
225-
progress_callback: Option<&mut dyn (FnMut(i64, i64))>,
225+
progress_callback: Option<&mut dyn FnMut(i64, i64)>,
226226
) -> Result<(), glib::Error> {
227-
let mut progress_callback_data: Option<&mut dyn (FnMut(i64, i64))> = progress_callback;
227+
let mut progress_callback_data: Option<&mut dyn FnMut(i64, i64)> = progress_callback;
228228
unsafe extern "C" fn progress_callback_func(
229229
current_num_bytes: i64,
230230
total_num_bytes: i64,
231231
data: glib::ffi::gpointer,
232232
) {
233-
let callback = data as *mut Option<&mut dyn (FnMut(i64, i64))>;
233+
let callback = data as *mut Option<&mut dyn FnMut(i64, i64)>;
234234
if let Some(ref mut callback) = *callback {
235235
callback(current_num_bytes, total_num_bytes)
236236
} else {
@@ -242,7 +242,7 @@ pub trait FileExt: IsA<File> + 'static {
242242
} else {
243243
None
244244
};
245-
let super_callback0: &mut Option<&mut dyn (FnMut(i64, i64))> = &mut progress_callback_data;
245+
let super_callback0: &mut Option<&mut dyn FnMut(i64, i64)> = &mut progress_callback_data;
246246
unsafe {
247247
let mut error = std::ptr::null_mut();
248248
let is_ok = ffi::g_file_copy(
@@ -1246,15 +1246,15 @@ pub trait FileExt: IsA<File> + 'static {
12461246
destination: &impl IsA<File>,
12471247
flags: FileCopyFlags,
12481248
cancellable: Option<&impl IsA<Cancellable>>,
1249-
progress_callback: Option<&mut dyn (FnMut(i64, i64))>,
1249+
progress_callback: Option<&mut dyn FnMut(i64, i64)>,
12501250
) -> Result<(), glib::Error> {
1251-
let mut progress_callback_data: Option<&mut dyn (FnMut(i64, i64))> = progress_callback;
1251+
let mut progress_callback_data: Option<&mut dyn FnMut(i64, i64)> = progress_callback;
12521252
unsafe extern "C" fn progress_callback_func(
12531253
current_num_bytes: i64,
12541254
total_num_bytes: i64,
12551255
data: glib::ffi::gpointer,
12561256
) {
1257-
let callback = data as *mut Option<&mut dyn (FnMut(i64, i64))>;
1257+
let callback = data as *mut Option<&mut dyn FnMut(i64, i64)>;
12581258
if let Some(ref mut callback) = *callback {
12591259
callback(current_num_bytes, total_num_bytes)
12601260
} else {
@@ -1266,7 +1266,7 @@ pub trait FileExt: IsA<File> + 'static {
12661266
} else {
12671267
None
12681268
};
1269-
let super_callback0: &mut Option<&mut dyn (FnMut(i64, i64))> = &mut progress_callback_data;
1269+
let super_callback0: &mut Option<&mut dyn FnMut(i64, i64)> = &mut progress_callback_data;
12701270
unsafe {
12711271
let mut error = std::ptr::null_mut();
12721272
let is_ok = ffi::g_file_move(

gio/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b3d444a058cf)
22
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

gio/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b3d444a058cf)
22
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

glib/gobject-sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b3d444a058cf)
22
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

glib/src/auto/functions.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -817,7 +817,7 @@ pub fn spawn_command_line_async(
817817
//}
818818

819819
//#[doc(alias = "g_spawn_sync")]
820-
//pub fn spawn_sync(working_directory: Option<impl AsRef<std::path::Path>>, argv: &[&std::path::Path], envp: &[&std::path::Path], flags: SpawnFlags, child_setup: Option<&mut dyn (FnMut())>, standard_output: Vec<u8>, standard_error: Vec<u8>) -> Result<i32, crate::Error> {
820+
//pub fn spawn_sync(working_directory: Option<impl AsRef<std::path::Path>>, argv: &[&std::path::Path], envp: &[&std::path::Path], flags: SpawnFlags, child_setup: Option<&mut dyn FnMut()>, standard_output: Vec<u8>, standard_error: Vec<u8>) -> Result<i32, crate::Error> {
821821
// unsafe { TODO: call ffi:g_spawn_sync() }
822822
//}
823823

glib/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b3d444a058cf)
22
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

glib/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ 3fcec321a85e)
1+
Generated by gir (https://github.com/gtk-rs/gir @ b3d444a058cf)
22
from gir-files (https://github.com/gtk-rs/gir-files @ e9775ea8223a)

0 commit comments

Comments
 (0)