Skip to content

Commit 23c4d3d

Browse files
committed
regen for gir PR#1622
gtk-rs/gir#1622
1 parent f96f3ba commit 23c4d3d

File tree

20 files changed

+29
-29
lines changed

20 files changed

+29
-29
lines changed

gdk4-macos/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 @ 7047e1b433e2)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 27b9ace47ead)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8)

gdk4-macos/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 @ 7047e1b433e2)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 27b9ace47ead)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8)

gdk4-wayland/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 @ 7047e1b433e2)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 27b9ace47ead)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8)

gdk4-wayland/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 @ 7047e1b433e2)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 27b9ace47ead)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8)

gdk4-win32/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 @ 7047e1b433e2)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 27b9ace47ead)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8)

gdk4-win32/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 @ 7047e1b433e2)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 27b9ace47ead)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8)

gdk4-x11/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 @ 7047e1b433e2)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 27b9ace47ead)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8)

gdk4-x11/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 @ 7047e1b433e2)
1+
Generated by gir (https://github.com/gtk-rs/gir @ 27b9ace47ead)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 1490bcc19dc8)

gdk4/src/auto/content_formats.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -59,10 +59,10 @@ impl ContentFormats {
5959

6060
#[doc(alias = "gdk_content_formats_get_mime_types")]
6161
#[doc(alias = "get_mime_types")]
62-
pub fn mime_types(&self) -> Vec<glib::GString> {
62+
pub fn mime_types(&self) -> Option<Vec<glib::GString>> {
6363
unsafe {
6464
let mut n_mime_types = std::mem::MaybeUninit::uninit();
65-
let ret = FromGlibContainer::from_glib_none_num(
65+
let ret = MaybeFromGlibContainer::maybe_from_glib_none_num(
6666
ffi::gdk_content_formats_get_mime_types(
6767
self.to_glib_none().0,
6868
n_mime_types.as_mut_ptr(),

gdk4/src/auto/device.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -95,9 +95,9 @@ pub trait DeviceExt: IsA<Device> + 'static {
9595
#[doc(alias = "gdk_device_get_layout_names")]
9696
#[doc(alias = "get_layout_names")]
9797
#[doc(alias = "layout-names")]
98-
fn layout_names(&self) -> Vec<glib::GString> {
98+
fn layout_names(&self) -> Option<Vec<glib::GString>> {
9999
unsafe {
100-
FromGlibPtrContainer::from_glib_full(ffi::gdk_device_get_layout_names(
100+
MaybeFromGlibPtrContainer::maybe_from_glib_full(ffi::gdk_device_get_layout_names(
101101
self.as_ref().to_glib_none().0,
102102
))
103103
}

0 commit comments

Comments
 (0)