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

Regenerate gir for GString Deref #739

Draft
wants to merge 1 commit into
base: master
Choose a base branch
from
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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)