Skip to content

Commit 1905ed7

Browse files
github-actions[bot]bilelmoussaoui
authored andcommitted
Regenerate with latest gir-files
1 parent e380c1e commit 1905ed7

File tree

136 files changed

+1570
-25
lines changed

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

136 files changed

+1570
-25
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 @ 3491754499c3)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 5ba392030e71)

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 @ 3491754499c3)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 5ba392030e71)

gdk4-wayland/src/auto/mod.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,3 +25,7 @@ pub use self::wayland_surface::WaylandSurface;
2525

2626
mod wayland_toplevel;
2727
pub use self::wayland_toplevel::WaylandToplevel;
28+
29+
pub(crate) mod traits {
30+
pub use super::wayland_surface::WaylandSurfaceExt;
31+
}

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 @ 3491754499c3)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 5ba392030e71)

gdk4-wayland/src/auto/wayland_surface.rs

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3,6 +3,10 @@
33
// DO NOT EDIT
44

55
use crate::ffi;
6+
use glib::prelude::*;
7+
#[cfg(feature = "v4_18")]
8+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
9+
use glib::translate::*;
610

711
glib::wrapper! {
812
#[doc(alias = "GdkWaylandSurface")]
@@ -16,3 +20,16 @@ glib::wrapper! {
1620
impl WaylandSurface {
1721
pub const NONE: Option<&'static WaylandSurface> = None;
1822
}
23+
24+
pub trait WaylandSurfaceExt: IsA<WaylandSurface> + 'static {
25+
#[cfg(feature = "v4_18")]
26+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
27+
#[doc(alias = "gdk_wayland_surface_force_next_commit")]
28+
fn force_next_commit(&self) {
29+
unsafe {
30+
ffi::gdk_wayland_surface_force_next_commit(self.as_ref().to_glib_none().0);
31+
}
32+
}
33+
}
34+
35+
impl<O: IsA<WaylandSurface>> WaylandSurfaceExt for O {}

gdk4-wayland/sys/Cargo.toml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -45,6 +45,9 @@ version = "4.12"
4545
[package.metadata.system-deps.gtk4_wayland.v4_16]
4646
version = "4.16"
4747

48+
[package.metadata.system-deps.gtk4_wayland.v4_18]
49+
version = "4.18"
50+
4851
[package.metadata.docs.rs]
4952
rustc-args = ["--cfg", "docsrs"]
5053
rustdoc-args = ["--cfg", "docsrs", "--generate-link-to-definition"]
@@ -58,6 +61,7 @@ v4_4 = []
5861
v4_10 = ["v4_4"]
5962
v4_12 = ["v4_10"]
6063
v4_16 = ["v4_12"]
64+
v4_18 = ["v4_16"]
6165

6266
[dependencies]
6367
libc = "0.2"

gdk4-wayland/sys/src/lib.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -255,6 +255,9 @@ extern "C" {
255255
// GdkWaylandSurface
256256
//=========================================================================
257257
pub fn gdk_wayland_surface_get_type() -> GType;
258+
#[cfg(feature = "v4_18")]
259+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_18")))]
260+
pub fn gdk_wayland_surface_force_next_commit(surface: *mut GdkWaylandSurface);
258261
pub fn gdk_wayland_surface_get_wl_surface(surface: *mut GdkWaylandSurface) -> gpointer;
259262

260263
//=========================================================================

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 @ 3491754499c3)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 5ba392030e71)

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 @ 3491754499c3)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 5ba392030e71)

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 @ 3491754499c3)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 3ede86d6a218)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 5ba392030e71)

0 commit comments

Comments
 (0)