Skip to content
This repository was archived by the owner on Mar 4, 2024. It is now read-only.

Commit 23c4dfb

Browse files
Merge pull request #805 from GuillaumeGomez/regen
Regen
2 parents e6d0071 + 455bb9a commit 23c4dfb

Some content is hidden

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

56 files changed

+113
-155
lines changed

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

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

gdk/src/auto/seat.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -124,7 +124,7 @@ impl<O: IsA<Seat>> SeatExt for O {
124124
callback(&seat, &window)
125125
} else {
126126
panic!("cannot get closure...")
127-
};
127+
}
128128
}
129129
let prepare_func = if prepare_func_data.is_some() {
130130
Some(prepare_func_func as _)

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

gdk/src/auto/window.rs

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -688,12 +688,12 @@ impl Window {
688688
let window = from_glib_borrow(window);
689689
let callback: *mut Option<&mut dyn (FnMut(&Window) -> bool)> =
690690
user_data as *const _ as usize as *mut Option<&mut dyn (FnMut(&Window) -> bool)>;
691-
let res = if let Some(ref mut callback) = *callback {
691+
if let Some(ref mut callback) = *callback {
692692
callback(&window)
693693
} else {
694694
panic!("cannot get closure...")
695-
};
696-
res.into_glib()
695+
}
696+
.into_glib()
697697
}
698698
let child_func = if child_func_data.is_some() {
699699
Some(child_func_func as _)

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

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

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

gtk/src/auto/assistant.rs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -725,12 +725,11 @@ impl<O: IsA<Assistant>> AssistantExt for O {
725725
data: glib::ffi::gpointer,
726726
) -> libc::c_int {
727727
let callback: &Option<Box_<dyn Fn(i32) -> i32 + 'static>> = &*(data as *mut _);
728-
let res = if let Some(ref callback) = *callback {
728+
if let Some(ref callback) = *callback {
729729
callback(current_page)
730730
} else {
731731
panic!("cannot get closure...")
732-
};
733-
res
732+
}
734733
}
735734
let page_func = if page_func_data.is_some() {
736735
Some(page_func_func as _)

0 commit comments

Comments
 (0)