Skip to content

Commit

Permalink
Regen bindings
Browse files Browse the repository at this point in the history
  • Loading branch information
A6GibKm committed Jun 21, 2024
1 parent f0e1d9e commit 757f910
Show file tree
Hide file tree
Showing 38 changed files with 181 additions and 105 deletions.
39 changes: 26 additions & 13 deletions Cargo.lock

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

4 changes: 2 additions & 2 deletions 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 @ d26d8f60b97d)
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 31d2876a4fa6)
2 changes: 1 addition & 1 deletion gdk4-wayland/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ libc = "0.2"
workspace = true

[build-dependencies]
system-deps = "6"
system-deps = "7"

[dev-dependencies]
shell-words = "1.0.0"
Expand Down
4 changes: 2 additions & 2 deletions 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 @ d26d8f60b97d)
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 31d2876a4fa6)
4 changes: 2 additions & 2 deletions 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 @ d26d8f60b97d)
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 31d2876a4fa6)
2 changes: 1 addition & 1 deletion gdk4-win32/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -61,7 +61,7 @@ workspace = true
workspace = true

[build-dependencies]
system-deps = "6"
system-deps = "7"

[dev-dependencies]
shell-words = "1.0.0"
Expand Down
4 changes: 2 additions & 2 deletions 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 @ d26d8f60b97d)
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 31d2876a4fa6)
4 changes: 2 additions & 2 deletions 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 @ d26d8f60b97d)
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 31d2876a4fa6)
2 changes: 1 addition & 1 deletion gdk4-x11/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -65,7 +65,7 @@ workspace = true
workspace = true

[build-dependencies]
system-deps = "6"
system-deps = "7"

[dev-dependencies]
shell-words = "1.0.0"
Expand Down
4 changes: 2 additions & 2 deletions 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 @ d26d8f60b97d)
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 31d2876a4fa6)
8 changes: 8 additions & 0 deletions gdk4/src/auto/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -792,6 +792,8 @@ pub enum EventType {
#[cfg_attr(docsrs, doc(cfg(feature = "v4_8")))]
#[doc(alias = "GDK_TOUCHPAD_HOLD")]
TouchpadHold,
#[doc(alias = "GDK_EVENT_LAST")]
EventLast,
#[doc(hidden)]
__Unknown(i32),
}
Expand Down Expand Up @@ -832,6 +834,7 @@ impl IntoGlib for EventType {
Self::PadGroupMode => ffi::GDK_PAD_GROUP_MODE,
#[cfg(feature = "v4_8")]
Self::TouchpadHold => ffi::GDK_TOUCHPAD_HOLD,
Self::EventLast => ffi::GDK_EVENT_LAST,
Self::__Unknown(value) => value,
}
}
Expand Down Expand Up @@ -873,6 +876,7 @@ impl FromGlib<ffi::GdkEventType> for EventType {
ffi::GDK_PAD_GROUP_MODE => Self::PadGroupMode,
#[cfg(feature = "v4_8")]
ffi::GDK_TOUCHPAD_HOLD => Self::TouchpadHold,
ffi::GDK_EVENT_LAST => Self::EventLast,
value => Self::__Unknown(value),
}
}
Expand Down Expand Up @@ -1623,6 +1627,8 @@ pub enum MemoryFormat {
#[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))]
#[doc(alias = "GDK_MEMORY_X8B8G8R8")]
X8b8g8r8,
#[doc(alias = "GDK_MEMORY_N_FORMATS")]
NFormats,
#[doc(hidden)]
__Unknown(i32),
}
Expand Down Expand Up @@ -1694,6 +1700,7 @@ impl IntoGlib for MemoryFormat {
Self::R8g8b8x8 => ffi::GDK_MEMORY_R8G8B8X8,
#[cfg(feature = "v4_14")]
Self::X8b8g8r8 => ffi::GDK_MEMORY_X8B8G8R8,
Self::NFormats => ffi::GDK_MEMORY_N_FORMATS,
Self::__Unknown(value) => value,
}
}
Expand Down Expand Up @@ -1766,6 +1773,7 @@ impl FromGlib<ffi::GdkMemoryFormat> for MemoryFormat {
ffi::GDK_MEMORY_R8G8B8X8 => Self::R8g8b8x8,
#[cfg(feature = "v4_14")]
ffi::GDK_MEMORY_X8B8G8R8 => Self::X8b8g8r8,
ffi::GDK_MEMORY_N_FORMATS => Self::NFormats,
value => Self::__Unknown(value),
}
}
Expand Down
4 changes: 2 additions & 2 deletions 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 @ d26d8f60b97d)
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 31d2876a4fa6)
2 changes: 1 addition & 1 deletion gdk4/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ workspace = true
workspace = true

[build-dependencies]
system-deps = "6"
system-deps = "7"
pkg-config = "0.3.30"

[dev-dependencies]
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 @@ -3995,6 +3995,9 @@ extern "C" {
//=========================================================================
#[cfg(feature = "v4_12")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))]
pub fn gdk_drag_surface_size_get_type() -> GType;
#[cfg(feature = "v4_12")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))]
pub fn gdk_drag_surface_size_set_size(
size: *mut GdkDragSurfaceSize,
width: c_int,
Expand Down Expand Up @@ -4206,6 +4209,7 @@ extern "C" {
//=========================================================================
// GdkToplevelSize
//=========================================================================
pub fn gdk_toplevel_size_get_type() -> GType;
pub fn gdk_toplevel_size_get_bounds(
size: *mut GdkToplevelSize,
bounds_width: *mut c_int,
Expand Down Expand Up @@ -5525,9 +5529,6 @@ extern "C" {
result: *mut gio::GAsyncResult,
error: *mut *mut glib::GError,
) -> gboolean;
#[cfg(feature = "v4_12")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_12")))]
pub fn gdk_drag_surface_size_get_type() -> GType;
pub fn gdk_events_get_angle(
event1: *mut GdkEvent,
event2: *mut GdkEvent,
Expand Down Expand Up @@ -5576,7 +5577,6 @@ extern "C" {
) -> *mut gdk_pixbuf::GdkPixbuf;
pub fn gdk_pixbuf_get_from_texture(texture: *mut GdkTexture) -> *mut gdk_pixbuf::GdkPixbuf;
pub fn gdk_set_allowed_backends(backends: *const c_char);
pub fn gdk_toplevel_size_get_type() -> GType;
pub fn gdk_unicode_to_keyval(wc: u32) -> c_uint;

}
4 changes: 2 additions & 2 deletions 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 @ d26d8f60b97d)
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 31d2876a4fa6)
2 changes: 1 addition & 1 deletion gir-files
4 changes: 0 additions & 4 deletions gsk4/src/auto/gl_renderer.rs
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,6 @@
// DO NOT EDIT

use crate::{ffi, Renderer};
#[cfg(feature = "v4_2")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_2")))]
use glib::{prelude::*, translate::*};

glib::wrapper! {
Expand All @@ -17,8 +15,6 @@ glib::wrapper! {
}

impl GLRenderer {
#[cfg(feature = "v4_2")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_2")))]
#[doc(alias = "gsk_gl_renderer_new")]
pub fn new() -> GLRenderer {
assert_initialized_main_thread!();
Expand Down
4 changes: 4 additions & 0 deletions gsk4/src/auto/mod.rs
Original file line number Diff line number Diff line change
Expand Up @@ -52,7 +52,11 @@ mod fill_node;
#[cfg_attr(docsrs, doc(cfg(feature = "v4_14")))]
pub use self::fill_node::FillNode;

#[cfg(feature = "v4_2")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_2")))]
mod gl_renderer;
#[cfg(feature = "v4_2")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_2")))]
pub use self::gl_renderer::GLRenderer;

mod gl_shader;
Expand Down
4 changes: 2 additions & 2 deletions 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 @ d26d8f60b97d)
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 31d2876a4fa6)
2 changes: 1 addition & 1 deletion gsk4/sys/Cargo.toml
Original file line number Diff line number Diff line change
Expand Up @@ -87,7 +87,7 @@ workspace = true
workspace = true

[build-dependencies]
system-deps = "6"
system-deps = "7"

[dev-dependencies]
shell-words = "1.0.0"
Expand Down
2 changes: 2 additions & 0 deletions gsk4/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1855,6 +1855,8 @@ extern "C" {
//=========================================================================
// GskGLRenderer
//=========================================================================
#[cfg(feature = "v4_2")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_2")))]
pub fn gsk_gl_renderer_get_type() -> GType;
#[cfg(feature = "v4_2")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_2")))]
Expand Down
4 changes: 2 additions & 2 deletions 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 @ d26d8f60b97d)
from gir-files (https://github.com/gtk-rs/gir-files @ 74aa91d9063d)
Generated by gir (https://github.com/gtk-rs/gir @ cbffeb655c48)
from gir-files (https://github.com/gtk-rs/gir-files @ 31d2876a4fa6)
8 changes: 0 additions & 8 deletions gtk4/src/auto/application.rs
Original file line number Diff line number Diff line change
Expand Up @@ -59,14 +59,6 @@ impl ApplicationBuilder {
}
}

pub fn action_group(self, action_group: &impl IsA<gio::ActionGroup>) -> Self {
Self {
builder: self
.builder
.property("action-group", action_group.clone().upcast()),
}
}

pub fn application_id(self, application_id: impl Into<glib::GString>) -> Self {
Self {
builder: self
Expand Down
Loading

0 comments on commit 757f910

Please sign in to comment.