Skip to content

Commit 2a415aa

Browse files
Regenerate with latest gir-files
1 parent c169648 commit 2a415aa

File tree

16 files changed

+27
-17
lines changed

16 files changed

+27
-17
lines changed

gdk4-wayland/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gdk4-wayland/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gdk4-win32/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gdk4-win32/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gdk4-x11/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gdk4-x11/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gdk4/src/auto/color_state.rs

+4
Original file line numberDiff line numberDiff line change
@@ -36,13 +36,17 @@ impl ColorState {
3636
}
3737
}
3838

39+
#[cfg(feature = "v4_18")]
40+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
3941
#[doc(alias = "gdk_color_state_get_oklab")]
4042
#[doc(alias = "get_oklab")]
4143
pub fn oklab() -> ColorState {
4244
assert_initialized_main_thread!();
4345
unsafe { from_glib_full(ffi::gdk_color_state_get_oklab()) }
4446
}
4547

48+
#[cfg(feature = "v4_18")]
49+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
4650
#[doc(alias = "gdk_color_state_get_oklch")]
4751
#[doc(alias = "get_oklch")]
4852
pub fn oklch() -> ColorState {

gdk4/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gdk4/sys/Cargo.toml

+4
Original file line numberDiff line numberDiff line change
@@ -57,6 +57,9 @@ version = "4.14"
5757
[package.metadata.system-deps.gtk4.v4_16]
5858
version = "4.16"
5959

60+
[package.metadata.system-deps.gtk4.v4_18]
61+
version = "4.18"
62+
6063
[package.metadata.docs.rs]
6164
rustc-args = ["--cfg", "docsrs"]
6265
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
@@ -74,6 +77,7 @@ v4_10 = ["v4_8"]
7477
v4_12 = ["v4_10"]
7578
v4_14 = ["v4_12"]
7679
v4_16 = ["v4_14"]
80+
v4_18 = ["v4_16"]
7781

7882
[dependencies]
7983
libc = "0.2"

gdk4/sys/build_version.rs

+3-1
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,9 @@
33
// DO NOT EDIT
44

55
pub fn version() -> &'static str {
6-
if cfg!(feature = "v4_16") {
6+
if cfg!(feature = "v4_18") {
7+
"4.18"
8+
} else if cfg!(feature = "v4_16") {
79
"4.16"
810
} else if cfg!(feature = "v4_14") {
911
"4.14"

gdk4/sys/src/lib.rs

+4-4
Original file line numberDiff line numberDiff line change
@@ -4036,11 +4036,11 @@ extern "C" {
40364036
#[cfg(feature = "v4_16")]
40374037
#[cfg_attr(docsrs, doc(cfg(feature = "v4_16")))]
40384038
pub fn gdk_color_state_unref(self_: *mut GdkColorState);
4039-
#[cfg(feature = "v4_16")]
4040-
#[cfg_attr(docsrs, doc(cfg(feature = "v4_16")))]
4039+
#[cfg(feature = "v4_18")]
4040+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
40414041
pub fn gdk_color_state_get_oklab() -> *mut GdkColorState;
4042-
#[cfg(feature = "v4_16")]
4043-
#[cfg_attr(docsrs, doc(cfg(feature = "v4_16")))]
4042+
#[cfg(feature = "v4_18")]
4043+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
40444044
pub fn gdk_color_state_get_oklch() -> *mut GdkColorState;
40454045
#[cfg(feature = "v4_16")]
40464046
#[cfg_attr(docsrs, doc(cfg(feature = "v4_16")))]

gdk4/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gsk4/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gsk4/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gtk4/src/auto/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

gtk4/sys/versions.txt

+1-1
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ e5ad53c3ad05)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

0 commit comments

Comments
 (0)