Skip to content

Commit

Permalink
Regenerate with latest gir-files
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Nov 11, 2024
1 parent c169648 commit 2a415aa
Show file tree
Hide file tree
Showing 16 changed files with 27 additions and 17 deletions.
2 changes: 1 addition & 1 deletion gdk4-wayland/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
2 changes: 1 addition & 1 deletion gdk4-wayland/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
2 changes: 1 addition & 1 deletion gdk4-win32/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
2 changes: 1 addition & 1 deletion gdk4-win32/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
2 changes: 1 addition & 1 deletion gdk4-x11/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
2 changes: 1 addition & 1 deletion gdk4-x11/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
4 changes: 4 additions & 0 deletions gdk4/src/auto/color_state.rs
Original file line number Diff line number Diff line change
Expand Up @@ -36,13 +36,17 @@ impl ColorState {
}
}

#[cfg(feature = "v4_18")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
#[doc(alias = "gdk_color_state_get_oklab")]
#[doc(alias = "get_oklab")]
pub fn oklab() -> ColorState {
assert_initialized_main_thread!();
unsafe { from_glib_full(ffi::gdk_color_state_get_oklab()) }
}

#[cfg(feature = "v4_18")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
#[doc(alias = "gdk_color_state_get_oklch")]
#[doc(alias = "get_oklch")]
pub fn oklch() -> ColorState {
Expand Down
2 changes: 1 addition & 1 deletion gdk4/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
4 changes: 4 additions & 0 deletions gdk4/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -57,6 +57,9 @@ version = "4.14"
[package.metadata.system-deps.gtk4.v4_16]
version = "4.16"

[package.metadata.system-deps.gtk4.v4_18]
version = "4.18"

[package.metadata.docs.rs]
rustc-args = ["--cfg", "docsrs"]
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
Expand All @@ -74,6 +77,7 @@ v4_10 = ["v4_8"]
v4_12 = ["v4_10"]
v4_14 = ["v4_12"]
v4_16 = ["v4_14"]
v4_18 = ["v4_16"]

[dependencies]
libc = "0.2"
Expand Down
4 changes: 3 additions & 1 deletion gdk4/sys/build_version.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,9 @@
// DO NOT EDIT

pub fn version() -> &'static str {
if cfg!(feature = "v4_16") {
if cfg!(feature = "v4_18") {
"4.18"
} else if cfg!(feature = "v4_16") {
"4.16"
} else if cfg!(feature = "v4_14") {
"4.14"
Expand Down
8 changes: 4 additions & 4 deletions gdk4/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -4036,11 +4036,11 @@ extern "C" {
#[cfg(feature = "v4_16")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_16")))]
pub fn gdk_color_state_unref(self_: *mut GdkColorState);
#[cfg(feature = "v4_16")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_16")))]
#[cfg(feature = "v4_18")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
pub fn gdk_color_state_get_oklab() -> *mut GdkColorState;
#[cfg(feature = "v4_16")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_16")))]
#[cfg(feature = "v4_18")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
pub fn gdk_color_state_get_oklch() -> *mut GdkColorState;
#[cfg(feature = "v4_16")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_16")))]
Expand Down
2 changes: 1 addition & 1 deletion gdk4/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
2 changes: 1 addition & 1 deletion gsk4/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
2 changes: 1 addition & 1 deletion gsk4/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
2 changes: 1 addition & 1 deletion gtk4/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)
2 changes: 1 addition & 1 deletion gtk4/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 @ e5ad53c3ad05)
from gir-files (https://github.com/gtk-rs/gir-files @ f7af0e711383)
from gir-files (https://github.com/gtk-rs/gir-files @ 3e07ae5a14c7)

0 comments on commit 2a415aa

Please sign in to comment.