Skip to content

Commit 9c6508c

Browse files
Regenerate with latest gir-files
1 parent b24286d commit 9c6508c

File tree

31 files changed

+408
-56
lines changed

31 files changed

+408
-56
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 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 85fe8474df07)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ e121d92cee84)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 2496141d6834)

gdk4-macos/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 85fe8474df07)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ e121d92cee84)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 2496141d6834)

gdk4-wayland/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 85fe8474df07)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ e121d92cee84)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 2496141d6834)

gdk4-wayland/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 85fe8474df07)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ e121d92cee84)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 2496141d6834)

gdk4-win32/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 85fe8474df07)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ e121d92cee84)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 2496141d6834)

gdk4-win32/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 85fe8474df07)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ e121d92cee84)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 2496141d6834)

gdk4-x11/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 85fe8474df07)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ e121d92cee84)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 2496141d6834)

gdk4-x11/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 85fe8474df07)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ e121d92cee84)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 2496141d6834)

gdk4/src/auto/flags.rs

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -628,9 +628,9 @@ bitflags! {
628628
#[doc(alias = "GdkPaintableFlags")]
629629
pub struct PaintableFlags: u32 {
630630
#[doc(alias = "GDK_PAINTABLE_STATIC_SIZE")]
631-
const SIZE = ffi::GDK_PAINTABLE_STATIC_SIZE as _;
631+
const STATIC_SIZE = ffi::GDK_PAINTABLE_STATIC_SIZE as _;
632632
#[doc(alias = "GDK_PAINTABLE_STATIC_CONTENTS")]
633-
const CONTENTS = ffi::GDK_PAINTABLE_STATIC_CONTENTS as _;
633+
const STATIC_CONTENTS = ffi::GDK_PAINTABLE_STATIC_CONTENTS as _;
634634
}
635635
}
636636

gdk4/src/auto/rgba.rs

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,16 @@ impl RGBA {
4545
unsafe { from_glib(ffi::gdk_rgba_is_opaque(self.to_glib_none().0)) }
4646
}
4747

48+
#[doc(alias = "gdk_rgba_print")]
49+
pub fn print(&self, string: &mut glib::String) -> glib::String {
50+
unsafe {
51+
from_glib_full(ffi::gdk_rgba_print(
52+
self.to_glib_none().0,
53+
string.to_glib_none_mut().0,
54+
))
55+
}
56+
}
57+
4858
#[doc(alias = "gdk_rgba_to_string")]
4959
#[doc(alias = "to_string")]
5060
pub fn to_str(&self) -> glib::GString {

0 commit comments

Comments
 (0)