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

Commit

Permalink
Regenerate gir
Browse files Browse the repository at this point in the history
  • Loading branch information
jf2048 committed Mar 11, 2022
1 parent c4e91b7 commit d9b9bac
Show file tree
Hide file tree
Showing 10 changed files with 16 additions and 11 deletions.
2 changes: 1 addition & 1 deletion atk/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1)
Generated by gir (https://github.com/gtk-rs/gir @ 64d7d6e1bd0d)
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)
2 changes: 1 addition & 1 deletion atk/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1)
Generated by gir (https://github.com/gtk-rs/gir @ 64d7d6e1bd0d)
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)
2 changes: 1 addition & 1 deletion gdk/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1)
Generated by gir (https://github.com/gtk-rs/gir @ 64d7d6e1bd0d)
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)
2 changes: 1 addition & 1 deletion gdk/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1)
Generated by gir (https://github.com/gtk-rs/gir @ 64d7d6e1bd0d)
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)
2 changes: 1 addition & 1 deletion gdkx11/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1)
Generated by gir (https://github.com/gtk-rs/gir @ 64d7d6e1bd0d)
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)
2 changes: 1 addition & 1 deletion gdkx11/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1)
Generated by gir (https://github.com/gtk-rs/gir @ 64d7d6e1bd0d)
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)
2 changes: 1 addition & 1 deletion gir
9 changes: 7 additions & 2 deletions gtk/src/auto/clipboard.rs
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,12 @@ impl Clipboard {
let format = from_glib_borrow(format);
let text: Borrowed<Option<glib::GString>> = from_glib_borrow(text);
let callback: Box_<P> = Box_::from_raw(data as *mut _);
(*callback)(&clipboard, &format, text.as_ref().as_deref(), length);
(*callback)(
&clipboard,
&format,
(*text).as_ref().map(|s| s.as_str()),
length,
);
}
let callback = Some(callback_func::<P> as _);
let super_callback0: Box_<P> = callback_data;
Expand All @@ -151,7 +156,7 @@ impl Clipboard {
let clipboard = from_glib_borrow(clipboard);
let text: Borrowed<Option<glib::GString>> = from_glib_borrow(text);
let callback: Box_<P> = Box_::from_raw(data as *mut _);
(*callback)(&clipboard, text.as_ref().as_deref());
(*callback)(&clipboard, (*text).as_ref().map(|s| s.as_str()));
}
let callback = Some(callback_func::<P> as _);
let super_callback0: Box_<P> = callback_data;
Expand Down
2 changes: 1 addition & 1 deletion gtk/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1)
Generated by gir (https://github.com/gtk-rs/gir @ 64d7d6e1bd0d)
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)
2 changes: 1 addition & 1 deletion gtk/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1)
Generated by gir (https://github.com/gtk-rs/gir @ 64d7d6e1bd0d)
from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)

0 comments on commit d9b9bac

Please sign in to comment.