diff --git a/atk/src/auto/versions.txt b/atk/src/auto/versions.txt index 4491e647681c..e4cc630de129 100644 --- a/atk/src/auto/versions.txt +++ b/atk/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1) +Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1+) from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5) diff --git a/atk/sys/versions.txt b/atk/sys/versions.txt index 4491e647681c..e4cc630de129 100644 --- a/atk/sys/versions.txt +++ b/atk/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1) +Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1+) from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5) diff --git a/gdk/src/auto/versions.txt b/gdk/src/auto/versions.txt index 4491e647681c..e4cc630de129 100644 --- a/gdk/src/auto/versions.txt +++ b/gdk/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1) +Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1+) from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5) diff --git a/gdk/sys/versions.txt b/gdk/sys/versions.txt index 4491e647681c..e4cc630de129 100644 --- a/gdk/sys/versions.txt +++ b/gdk/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1) +Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1+) from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5) diff --git a/gdkx11/src/auto/versions.txt b/gdkx11/src/auto/versions.txt index 4491e647681c..e4cc630de129 100644 --- a/gdkx11/src/auto/versions.txt +++ b/gdkx11/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1) +Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1+) from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5) diff --git a/gdkx11/sys/versions.txt b/gdkx11/sys/versions.txt index 4491e647681c..e4cc630de129 100644 --- a/gdkx11/sys/versions.txt +++ b/gdkx11/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1) +Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1+) from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5) diff --git a/gir b/gir index e0d8d8d645b1..64d7d6e1bd0d 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit e0d8d8d645b10561f307eabd3160b292bc423e0f +Subproject commit 64d7d6e1bd0d381691121780e80dd4f44aa024f1 diff --git a/gtk/src/auto/clipboard.rs b/gtk/src/auto/clipboard.rs index 001f418ce1c2..079201a17ffd 100644 --- a/gtk/src/auto/clipboard.rs +++ b/gtk/src/auto/clipboard.rs @@ -126,7 +126,12 @@ impl Clipboard { let format = from_glib_borrow(format); let text: Borrowed> = from_glib_borrow(text); let callback: Box_

= 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::

as _); let super_callback0: Box_

= callback_data; @@ -151,7 +156,7 @@ impl Clipboard { let clipboard = from_glib_borrow(clipboard); let text: Borrowed> = from_glib_borrow(text); let callback: Box_

= 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::

as _); let super_callback0: Box_

= callback_data; diff --git a/gtk/src/auto/versions.txt b/gtk/src/auto/versions.txt index 4491e647681c..e4cc630de129 100644 --- a/gtk/src/auto/versions.txt +++ b/gtk/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1) +Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1+) from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5) diff --git a/gtk/sys/versions.txt b/gtk/sys/versions.txt index 4491e647681c..e4cc630de129 100644 --- a/gtk/sys/versions.txt +++ b/gtk/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1) +Generated by gir (https://github.com/gtk-rs/gir @ e0d8d8d645b1+) from gir-files (https://github.com/gtk-rs/gir-files @ 68003b4b40e5)