From 00585aa48812d8a2a4c99a718dd4a36304226746 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Tue, 27 Aug 2024 09:29:44 +0000 Subject: [PATCH 01/10] build(deps): bump glium from 0.34.0 to 0.35.0 Bumps [glium](https://github.com/glium/glium) from 0.34.0 to 0.35.0. - [Release notes](https://github.com/glium/glium/releases) - [Changelog](https://github.com/glium/glium/blob/master/CHANGELOG.md) - [Commits](https://github.com/glium/glium/commits) --- updated-dependencies: - dependency-name: glium dependency-type: direct:production update-type: version-update:semver-minor ... Signed-off-by: dependabot[bot] --- Cargo.lock | 12 ++---------- examples/Cargo.toml | 2 +- 2 files changed, 3 insertions(+), 11 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 12003793868f..7e171d801694 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -665,17 +665,15 @@ dependencies = [ [[package]] name = "glium" -version = "0.34.0" +version = "0.35.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "94d5813c960a54b76e20fe4ef7e54fbeb12545776a11ecf14f42a946a1c65964" +checksum = "0a3028d1f135b5395e6e4336916b424bc5dd2b38c6e378ce2704e4b8f4a617ed" dependencies = [ "backtrace", "fnv", "gl_generator 0.14.0", - "lazy_static", "memoffset", "smallvec", - "takeable-option", ] [[package]] @@ -1778,12 +1776,6 @@ dependencies = [ "version-compare", ] -[[package]] -name = "takeable-option" -version = "0.5.0" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "36ae8932fcfea38b7d3883ae2ab357b0d57a02caaa18ebb4f5ece08beaec4aa0" - [[package]] name = "target-lexicon" version = "0.12.16" diff --git a/examples/Cargo.toml b/examples/Cargo.toml index d45758fa478e..b1ab953986bd 100644 --- a/examples/Cargo.toml +++ b/examples/Cargo.toml @@ -8,7 +8,7 @@ authors.workspace = true chrono = "0.4" femtovg = { version = "0.9", optional = true, default-features = false } -glium = { version = "0.34", optional = true, default-features = false } +glium = { version = "0.35", optional = true, default-features = false } glow = { version = "0.13.0", optional = true } epoxy = { version = "0.1.0", optional = true } libloading = { version = "0.8.0", optional = true } From 74f8bbf96eaae4616d1c707a76d259619c1614ef Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 27 Aug 2024 12:46:56 +0300 Subject: [PATCH 02/10] gdk4-win32: Add missing v4_8 feature --- gdk4-win32/Cargo.toml | 1 + 1 file changed, 1 insertion(+) diff --git a/gdk4-win32/Cargo.toml b/gdk4-win32/Cargo.toml index 4078b9dd205a..3f08ac69051c 100644 --- a/gdk4-win32/Cargo.toml +++ b/gdk4-win32/Cargo.toml @@ -19,6 +19,7 @@ version = "4" [features] v4_4 = ["gdk4-win32-sys/v4_4", "gdk/v4_4"] +v4_8 = ["v4_4", "gdk4-win32-sys/v4_8", "gdk/v4_8"] egl = ["khronos-egl"] win32 = ["windows"] From 57af3e455af7c802d7204a6ae6c2ac70fbd1631c Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 27 Aug 2024 14:40:30 +0300 Subject: [PATCH 03/10] gdk4-win32: Fix docs build on Linux --- gdk4-win32/src/lib.rs | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) diff --git a/gdk4-win32/src/lib.rs b/gdk4-win32/src/lib.rs index 10435b995303..4ef8ed5a91fa 100644 --- a/gdk4-win32/src/lib.rs +++ b/gdk4-win32/src/lib.rs @@ -29,23 +29,23 @@ pub use win32_display::Win32DisplayFilterHandle; mod win32_hcursor; mod win32_surface; -#[cfg(not(feature = "win32"))] +#[cfg(not(all(feature = "win32", windows)))] pub struct HANDLE(pub isize); -#[cfg(not(feature = "win32"))] +#[cfg(not(all(feature = "win32", windows)))] pub struct HCURSOR(pub isize); -#[cfg(not(feature = "win32"))] +#[cfg(not(all(feature = "win32", windows)))] pub struct HICON(pub isize); -#[cfg(not(feature = "win32"))] +#[cfg(not(all(feature = "win32", windows)))] pub struct HWND(pub isize); -#[cfg(not(feature = "win32"))] +#[cfg(not(all(feature = "win32", windows)))] #[repr(transparent)] pub struct WPARAM(pub usize); -#[cfg(not(feature = "win32"))] +#[cfg(not(all(feature = "win32", windows)))] #[repr(transparent)] pub struct LPARAM(pub isize); -#[cfg(not(feature = "win32"))] +#[cfg(not(all(feature = "win32", windows)))] #[repr(C)] pub struct POINT { pub x: i32, @@ -53,7 +53,7 @@ pub struct POINT { } #[allow(non_snake_case)] -#[cfg(not(feature = "win32"))] +#[cfg(not(all(feature = "win32", windows)))] #[repr(C)] pub struct MSG { pub hwnd: HWND, @@ -64,7 +64,7 @@ pub struct MSG { pub pt: POINT, } -#[cfg(feature = "win32")] +#[cfg(all(feature = "win32", windows))] pub use windows::Win32::Foundation::{HANDLE, HWND}; -#[cfg(feature = "win32")] +#[cfg(all(feature = "win32", windows))] pub use windows::Win32::UI::WindowsAndMessaging::{HCURSOR, HICON, MSG}; From 868840b34a9c6722c1b221d9e4c8ec8d0029039b Mon Sep 17 00:00:00 2001 From: Martin Ling Date: Fri, 6 Sep 2024 19:22:55 +0100 Subject: [PATCH 04/10] Fix segfault in FileChooserExtManual::add_choice() --- gtk4/src/file_chooser.rs | 63 ++++++++++++++++++++++------------------ 1 file changed, 34 insertions(+), 29 deletions(-) diff --git a/gtk4/src/file_chooser.rs b/gtk4/src/file_chooser.rs index deaa2af927a6..8bdb2b43c310 100644 --- a/gtk4/src/file_chooser.rs +++ b/gtk4/src/file_chooser.rs @@ -16,40 +16,45 @@ mod sealed { pub trait FileChooserExtManual: sealed::Sealed + IsA + 'static { #[doc(alias = "gtk_file_chooser_add_choice")] fn add_choice(&self, id: impl IntoGStr, label: impl IntoGStr, options: &[(&str, &str)]) { - unsafe { - let (options_ids, options_labels) = if options.is_empty() { - (std::ptr::null(), std::ptr::null()) - } else { - let stashes_ids = options - .iter() - .map(|o| o.0.to_glib_none()) - .collect::>(); - let stashes_labels = options - .iter() - .map(|o| o.1.to_glib_none()) - .collect::>(); - ( - stashes_ids - .iter() - .map(|o| o.0) - .collect::>() - .as_ptr(), - stashes_labels - .iter() - .map(|o| o.0) - .collect::>() - .as_ptr(), - ) - }; - + if options.is_empty() { + id.run_with_gstr(|id| { + label.run_with_gstr(|label| unsafe { + ffi::gtk_file_chooser_add_choice( + self.as_ref().to_glib_none().0, + id.as_ptr(), + label.as_ptr(), + mut_override(std::ptr::null()), + mut_override(std::ptr::null()), + ); + }); + }); + } else { + let stashes_ids = options + .iter() + .map(|o| o.0.to_glib_none()) + .collect::>(); + let stashes_labels = options + .iter() + .map(|o| o.1.to_glib_none()) + .collect::>(); + let options_ids = stashes_ids + .iter() + .map(|o| o.0) + .chain(std::iter::once(std::ptr::null())) + .collect::>(); + let options_labels = stashes_labels + .iter() + .map(|o| o.0) + .chain(std::iter::once(std::ptr::null())) + .collect::>(); id.run_with_gstr(|id| { - label.run_with_gstr(|label| { + label.run_with_gstr(|label| unsafe { ffi::gtk_file_chooser_add_choice( self.as_ref().to_glib_none().0, id.as_ptr(), label.as_ptr(), - mut_override(options_ids), - mut_override(options_labels), + mut_override(options_ids.as_ptr()), + mut_override(options_labels.as_ptr()), ); }); }); From a48ff285a794e75c91794c6db8731adac6c15d2f Mon Sep 17 00:00:00 2001 From: Florian Reisecker Date: Fri, 20 Sep 2024 10:35:40 +0200 Subject: [PATCH 05/10] misc: Add IntelliJ dir to .gitignore --- .gitignore | 1 + 1 file changed, 1 insertion(+) diff --git a/.gitignore b/.gitignore index e8282b1ad3a2..c60636cea284 100644 --- a/.gitignore +++ b/.gitignore @@ -14,3 +14,4 @@ book/book *.log **/**/docs.md **~ +.idea From 7bdf798e5e12a4221cb6815b476aed439483a3d0 Mon Sep 17 00:00:00 2001 From: Sebastian Wiesner Date: Sun, 22 Sep 2024 09:08:42 +0200 Subject: [PATCH 06/10] Update container image to libadwaita 1.6 --- Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Dockerfile b/Dockerfile index 3fe7d661883d..d79f68bddb22 100644 --- a/Dockerfile +++ b/Dockerfile @@ -11,7 +11,7 @@ RUN git clone https://gitlab.gnome.org/gnome/gtk.git --depth=1 && \ (cd /gtk && \ meson setup builddir --prefix=/usr --buildtype release -Dintrospection=enabled -Dbuild-examples=false -Dbuild-tests=false -Dmedia-gstreamer=disabled -Dlibepoxy:tests=false && \ meson install -C builddir) && \ - git clone https://gitlab.gnome.org/GNOME/libadwaita.git --depth=1 --branch libadwaita-1-5 && \ + git clone https://gitlab.gnome.org/GNOME/libadwaita.git --depth=1 --branch libadwaita-1-6 && \ (cd /libadwaita && \ meson setup builddir --prefix=/usr --buildtype release -Dintrospection=disabled -Dvapi=false -Dexamples=false -Dtests=false && \ meson install -C builddir) && \ From 4bc835b54588e5e06ca7e494e2237ed3a9050058 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 26 Sep 2024 12:03:23 +0300 Subject: [PATCH 07/10] Update gir --- gir | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gir b/gir index d7c0763cacbc..f7d2061cc781 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit d7c0763cacbcc3c088e994d31142bf16adad0150 +Subproject commit f7d2061cc781c7e1de9865eca0718c993132a889 From 6259d820bc421d83d6c7999f374c148077b08e18 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 26 Sep 2024 12:04:02 +0300 Subject: [PATCH 08/10] Regenerate with latest gir --- gdk4-wayland/src/auto/versions.txt | 2 +- gdk4-wayland/sys/src/lib.rs | 25 +- gdk4-wayland/sys/versions.txt | 2 +- gdk4-win32/src/auto/versions.txt | 2 +- gdk4-win32/sys/src/lib.rs | 28 +- gdk4-win32/sys/versions.txt | 2 +- gdk4-x11/src/auto/versions.txt | 2 +- gdk4-x11/sys/src/lib.rs | 30 +- gdk4-x11/sys/versions.txt | 2 +- gdk4/src/auto/display.rs | 2 +- gdk4/src/auto/surface.rs | 4 +- gdk4/src/auto/versions.txt | 2 +- gdk4/sys/src/lib.rs | 82 +++++- gdk4/sys/versions.txt | 2 +- gsk4/src/auto/versions.txt | 2 +- gsk4/sys/src/lib.rs | 61 +++- gsk4/sys/versions.txt | 2 +- gtk4/src/auto/about_dialog.rs | 2 +- gtk4/src/auto/app_chooser_button.rs | 2 +- gtk4/src/auto/assistant.rs | 4 +- gtk4/src/auto/cell_area.rs | 4 +- gtk4/src/auto/cell_renderer.rs | 2 +- gtk4/src/auto/cell_renderer_accel.rs | 8 +- gtk4/src/auto/cell_renderer_combo.rs | 2 +- gtk4/src/auto/cell_renderer_text.rs | 4 +- gtk4/src/auto/cell_renderer_toggle.rs | 2 +- gtk4/src/auto/column_view.rs | 2 +- gtk4/src/auto/combo_box.rs | 4 +- gtk4/src/auto/drag_source.rs | 4 +- gtk4/src/auto/drawing_area.rs | 4 +- gtk4/src/auto/drop_controller_motion.rs | 8 +- gtk4/src/auto/drop_target.rs | 8 +- gtk4/src/auto/drop_target_async.rs | 12 +- gtk4/src/auto/editable.rs | 4 +- gtk4/src/auto/emoji_chooser.rs | 2 +- gtk4/src/auto/entry_completion.rs | 4 +- gtk4/src/auto/event_controller_motion.rs | 8 +- gtk4/src/auto/event_controller_scroll.rs | 8 +- gtk4/src/auto/file_chooser_widget.rs | 4 +- gtk4/src/auto/flow_box.rs | 2 +- gtk4/src/auto/font_chooser.rs | 2 +- gtk4/src/auto/gesture_click.rs | 18 +- gtk4/src/auto/gesture_drag.rs | 12 +- gtk4/src/auto/gesture_long_press.rs | 4 +- gtk4/src/auto/gesture_pan.rs | 2 +- gtk4/src/auto/gesture_rotate.rs | 4 +- gtk4/src/auto/gesture_stylus.rs | 16 +- gtk4/src/auto/gesture_swipe.rs | 4 +- gtk4/src/auto/gesture_zoom.rs | 2 +- gtk4/src/auto/gl_area.rs | 4 +- gtk4/src/auto/grid_view.rs | 2 +- gtk4/src/auto/icon_view.rs | 2 +- gtk4/src/auto/im_context.rs | 6 +- gtk4/src/auto/label.rs | 4 +- gtk4/src/auto/level_bar.rs | 2 +- gtk4/src/auto/list_box.rs | 2 +- gtk4/src/auto/list_view.rs | 2 +- gtk4/src/auto/notebook.rs | 10 +- gtk4/src/auto/print_operation.rs | 4 +- gtk4/src/auto/print_settings.rs | 4 +- gtk4/src/auto/range.rs | 4 +- gtk4/src/auto/scale.rs | 4 +- gtk4/src/auto/scale_button.rs | 2 +- gtk4/src/auto/section_model.rs | 4 +- gtk4/src/auto/selection_model.rs | 4 +- gtk4/src/auto/statusbar.rs | 8 +- gtk4/src/auto/text_view.rs | 10 +- gtk4/src/auto/tree_view.rs | 6 +- gtk4/src/auto/versions.txt | 2 +- gtk4/src/auto/widget.rs | 4 +- gtk4/sys/src/lib.rs | 342 ++++++++++++++++++++++- gtk4/sys/versions.txt | 2 +- 72 files changed, 675 insertions(+), 179 deletions(-) diff --git a/gdk4-wayland/src/auto/versions.txt b/gdk4-wayland/src/auto/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gdk4-wayland/src/auto/versions.txt +++ b/gdk4-wayland/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gdk4-wayland/sys/src/lib.rs b/gdk4-wayland/sys/src/lib.rs index 7948c5d8bfe6..85ec95b315ed 100644 --- a/gdk4-wayland/sys/src/lib.rs +++ b/gdk4-wayland/sys/src/lib.rs @@ -13,14 +13,15 @@ use glib_sys as glib; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -31,6 +32,7 @@ pub type GdkWaylandToplevelExported = // Records #[repr(C)] +#[allow(dead_code)] pub struct _GdkWaylandDeviceClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -39,6 +41,7 @@ pub struct _GdkWaylandDeviceClass { pub type GdkWaylandDeviceClass = _GdkWaylandDeviceClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWaylandDisplayClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -47,6 +50,7 @@ pub struct _GdkWaylandDisplayClass { pub type GdkWaylandDisplayClass = _GdkWaylandDisplayClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWaylandGLContextClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -55,6 +59,7 @@ pub struct _GdkWaylandGLContextClass { pub type GdkWaylandGLContextClass = _GdkWaylandGLContextClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWaylandMonitorClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -63,6 +68,7 @@ pub struct _GdkWaylandMonitorClass { pub type GdkWaylandMonitorClass = _GdkWaylandMonitorClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWaylandSeatClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -72,6 +78,7 @@ pub type GdkWaylandSeatClass = _GdkWaylandSeatClass; // Classes #[repr(C)] +#[allow(dead_code)] pub struct GdkWaylandDevice { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -85,6 +92,7 @@ impl ::std::fmt::Debug for GdkWaylandDevice { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWaylandDisplay { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -98,6 +106,7 @@ impl ::std::fmt::Debug for GdkWaylandDisplay { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWaylandGLContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -111,6 +120,7 @@ impl ::std::fmt::Debug for GdkWaylandGLContext { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWaylandMonitor { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -124,6 +134,7 @@ impl ::std::fmt::Debug for GdkWaylandMonitor { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWaylandPopup { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -137,6 +148,7 @@ impl ::std::fmt::Debug for GdkWaylandPopup { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWaylandSeat { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -150,6 +162,7 @@ impl ::std::fmt::Debug for GdkWaylandSeat { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWaylandSurface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -163,6 +176,7 @@ impl ::std::fmt::Debug for GdkWaylandSurface { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWaylandToplevel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -175,7 +189,6 @@ impl ::std::fmt::Debug for GdkWaylandToplevel { } } -#[link(name = "gtk-4")] extern "C" { //========================================================================= diff --git a/gdk4-wayland/sys/versions.txt b/gdk4-wayland/sys/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gdk4-wayland/sys/versions.txt +++ b/gdk4-wayland/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gdk4-win32/src/auto/versions.txt b/gdk4-win32/src/auto/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gdk4-win32/src/auto/versions.txt +++ b/gdk4-win32/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gdk4-win32/sys/src/lib.rs b/gdk4-win32/sys/src/lib.rs index 6c1faeec1fdf..a00012cbd5e1 100644 --- a/gdk4-win32/sys/src/lib.rs +++ b/gdk4-win32/sys/src/lib.rs @@ -14,14 +14,15 @@ use gdk4_sys as gdk; use glib_sys as glib; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -43,6 +44,7 @@ pub type GdkWin32MessageFilterFunc = Option< // Records #[repr(C)] +#[allow(dead_code)] pub struct _GdkWin32DisplayClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -51,6 +53,7 @@ pub struct _GdkWin32DisplayClass { pub type GdkWin32DisplayClass = _GdkWin32DisplayClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWin32DisplayManagerClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -59,6 +62,7 @@ pub struct _GdkWin32DisplayManagerClass { pub type GdkWin32DisplayManagerClass = _GdkWin32DisplayManagerClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWin32DragClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -67,6 +71,7 @@ pub struct _GdkWin32DragClass { pub type GdkWin32DragClass = _GdkWin32DragClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWin32GLContextClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -75,6 +80,7 @@ pub struct _GdkWin32GLContextClass { pub type GdkWin32GLContextClass = _GdkWin32GLContextClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWin32HCursorClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -83,6 +89,7 @@ pub struct _GdkWin32HCursorClass { pub type GdkWin32HCursorClass = _GdkWin32HCursorClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWin32MonitorClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -91,6 +98,7 @@ pub struct _GdkWin32MonitorClass { pub type GdkWin32MonitorClass = _GdkWin32MonitorClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWin32ScreenClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -99,6 +107,7 @@ pub struct _GdkWin32ScreenClass { pub type GdkWin32ScreenClass = _GdkWin32ScreenClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkWin32SurfaceClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -108,6 +117,7 @@ pub type GdkWin32SurfaceClass = _GdkWin32SurfaceClass; // Classes #[repr(C)] +#[allow(dead_code)] pub struct GdkWin32Display { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -121,6 +131,7 @@ impl ::std::fmt::Debug for GdkWin32Display { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWin32DisplayManager { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -134,6 +145,7 @@ impl ::std::fmt::Debug for GdkWin32DisplayManager { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWin32Drag { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -146,6 +158,7 @@ impl ::std::fmt::Debug for GdkWin32Drag { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWin32GLContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -159,6 +172,7 @@ impl ::std::fmt::Debug for GdkWin32GLContext { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWin32HCursor { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -172,6 +186,7 @@ impl ::std::fmt::Debug for GdkWin32HCursor { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWin32Monitor { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -185,6 +200,7 @@ impl ::std::fmt::Debug for GdkWin32Monitor { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWin32Screen { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -198,6 +214,7 @@ impl ::std::fmt::Debug for GdkWin32Screen { } #[repr(C)] +#[allow(dead_code)] pub struct GdkWin32Surface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -210,7 +227,6 @@ impl ::std::fmt::Debug for GdkWin32Surface { } } -#[link(name = "gtk-4")] extern "C" { //========================================================================= diff --git a/gdk4-win32/sys/versions.txt b/gdk4-win32/sys/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gdk4-win32/sys/versions.txt +++ b/gdk4-win32/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gdk4-x11/src/auto/versions.txt b/gdk4-x11/src/auto/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gdk4-x11/src/auto/versions.txt +++ b/gdk4-x11/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gdk4-x11/sys/src/lib.rs b/gdk4-x11/sys/src/lib.rs index c039729c6a13..ed6b53077f1b 100644 --- a/gdk4-x11/sys/src/lib.rs +++ b/gdk4-x11/sys/src/lib.rs @@ -14,14 +14,15 @@ use gdk4_sys as gdk; use glib_sys as glib; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -34,6 +35,7 @@ pub const GDK_X11_DEVICE_TYPE_FLOATING: GdkX11DeviceType = 2; // Records #[repr(C)] +#[allow(dead_code)] pub struct _GdkX11AppLaunchContextClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -42,6 +44,7 @@ pub struct _GdkX11AppLaunchContextClass { pub type GdkX11AppLaunchContextClass = _GdkX11AppLaunchContextClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkX11DeviceManagerXI2Class { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -50,6 +53,7 @@ pub struct _GdkX11DeviceManagerXI2Class { pub type GdkX11DeviceManagerXI2Class = _GdkX11DeviceManagerXI2Class; #[repr(C)] +#[allow(dead_code)] pub struct _GdkX11DeviceXI2Class { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -58,6 +62,7 @@ pub struct _GdkX11DeviceXI2Class { pub type GdkX11DeviceXI2Class = _GdkX11DeviceXI2Class; #[repr(C)] +#[allow(dead_code)] pub struct _GdkX11DisplayClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -66,6 +71,7 @@ pub struct _GdkX11DisplayClass { pub type GdkX11DisplayClass = _GdkX11DisplayClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkX11DragClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -74,6 +80,7 @@ pub struct _GdkX11DragClass { pub type GdkX11DragClass = _GdkX11DragClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkX11GLContextClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -82,6 +89,7 @@ pub struct _GdkX11GLContextClass { pub type GdkX11GLContextClass = _GdkX11GLContextClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkX11MonitorClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -90,6 +98,7 @@ pub struct _GdkX11MonitorClass { pub type GdkX11MonitorClass = _GdkX11MonitorClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkX11ScreenClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -98,6 +107,7 @@ pub struct _GdkX11ScreenClass { pub type GdkX11ScreenClass = _GdkX11ScreenClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkX11SurfaceClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -107,6 +117,7 @@ pub type GdkX11SurfaceClass = _GdkX11SurfaceClass; // Classes #[repr(C)] +#[allow(dead_code)] pub struct GdkX11AppLaunchContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -120,6 +131,7 @@ impl ::std::fmt::Debug for GdkX11AppLaunchContext { } #[repr(C)] +#[allow(dead_code)] pub struct GdkX11DeviceManagerXI2 { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -133,6 +145,7 @@ impl ::std::fmt::Debug for GdkX11DeviceManagerXI2 { } #[repr(C)] +#[allow(dead_code)] pub struct GdkX11DeviceXI2 { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -146,6 +159,7 @@ impl ::std::fmt::Debug for GdkX11DeviceXI2 { } #[repr(C)] +#[allow(dead_code)] pub struct GdkX11Display { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -159,6 +173,7 @@ impl ::std::fmt::Debug for GdkX11Display { } #[repr(C)] +#[allow(dead_code)] pub struct GdkX11Drag { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -171,6 +186,7 @@ impl ::std::fmt::Debug for GdkX11Drag { } #[repr(C)] +#[allow(dead_code)] pub struct GdkX11GLContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -184,6 +200,7 @@ impl ::std::fmt::Debug for GdkX11GLContext { } #[repr(C)] +#[allow(dead_code)] pub struct GdkX11Monitor { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -197,6 +214,7 @@ impl ::std::fmt::Debug for GdkX11Monitor { } #[repr(C)] +#[allow(dead_code)] pub struct GdkX11Screen { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -209,6 +227,7 @@ impl ::std::fmt::Debug for GdkX11Screen { } #[repr(C)] +#[allow(dead_code)] pub struct GdkX11Surface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -221,7 +240,6 @@ impl ::std::fmt::Debug for GdkX11Surface { } } -#[link(name = "gtk-4")] extern "C" { //========================================================================= diff --git a/gdk4-x11/sys/versions.txt b/gdk4-x11/sys/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gdk4-x11/sys/versions.txt +++ b/gdk4-x11/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gdk4/src/auto/display.rs b/gdk4/src/auto/display.rs index 9d3d10499d8c..7cbc73e3ff92 100644 --- a/gdk4/src/auto/display.rs +++ b/gdk4/src/auto/display.rs @@ -405,7 +405,7 @@ pub trait DisplayExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str) + 'static, >( this: *mut ffi::GdkDisplay, - setting: *mut libc::c_char, + setting: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gdk4/src/auto/surface.rs b/gdk4/src/auto/surface.rs index 9f1c138199fb..dcc18c5d2858 100644 --- a/gdk4/src/auto/surface.rs +++ b/gdk4/src/auto/surface.rs @@ -333,8 +333,8 @@ pub trait SurfaceExt: IsA + sealed::Sealed + 'static { fn connect_layout(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn layout_trampoline, F: Fn(&P, i32, i32) + 'static>( this: *mut ffi::GdkSurface, - width: libc::c_int, - height: libc::c_int, + width: std::ffi::c_int, + height: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gdk4/src/auto/versions.txt b/gdk4/src/auto/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gdk4/src/auto/versions.txt +++ b/gdk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gdk4/sys/src/lib.rs b/gdk4/sys/src/lib.rs index 4ec051919ff4..e500fab14eaf 100644 --- a/gdk4/sys/src/lib.rs +++ b/gdk4/sys/src/lib.rs @@ -18,14 +18,15 @@ use glib_sys as glib; use gobject_sys as gobject; use pango_sys as pango; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -2695,6 +2696,7 @@ pub type GdkCursorGetTextureCallback = Option< // Records #[repr(C)] +#[allow(dead_code)] pub struct GdkContentFormats { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2708,6 +2710,7 @@ impl ::std::fmt::Debug for GdkContentFormats { } #[repr(C)] +#[allow(dead_code)] pub struct GdkContentFormatsBuilder { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2776,6 +2779,7 @@ impl ::std::fmt::Debug for GdkContentProviderClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GdkDevicePadInterface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2784,6 +2788,7 @@ pub struct _GdkDevicePadInterface { pub type GdkDevicePadInterface = _GdkDevicePadInterface; #[repr(C)] +#[allow(dead_code)] pub struct GdkDmabufFormats { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2797,6 +2802,7 @@ impl ::std::fmt::Debug for GdkDmabufFormats { } #[repr(C)] +#[allow(dead_code)] pub struct _GdkDmabufTextureBuilderClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2805,6 +2811,7 @@ pub struct _GdkDmabufTextureBuilderClass { pub type GdkDmabufTextureBuilderClass = _GdkDmabufTextureBuilderClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkDmabufTextureClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2813,6 +2820,7 @@ pub struct _GdkDmabufTextureClass { pub type GdkDmabufTextureClass = _GdkDmabufTextureClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkDragSurfaceInterface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2821,6 +2829,7 @@ pub struct _GdkDragSurfaceInterface { pub type GdkDragSurfaceInterface = _GdkDragSurfaceInterface; #[repr(C)] +#[allow(dead_code)] pub struct _GdkDragSurfaceSize { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2829,6 +2838,7 @@ pub struct _GdkDragSurfaceSize { pub type GdkDragSurfaceSize = _GdkDragSurfaceSize; #[repr(C)] +#[allow(dead_code)] pub struct GdkEventSequence { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2842,6 +2852,7 @@ impl ::std::fmt::Debug for GdkEventSequence { } #[repr(C)] +#[allow(dead_code)] pub struct GdkFileList { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2854,6 +2865,7 @@ impl ::std::fmt::Debug for GdkFileList { } #[repr(C)] +#[allow(dead_code)] pub struct _GdkFrameClockClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2862,6 +2874,7 @@ pub struct _GdkFrameClockClass { pub type GdkFrameClockClass = _GdkFrameClockClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkFrameClockPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2870,6 +2883,7 @@ pub struct _GdkFrameClockPrivate { pub type GdkFrameClockPrivate = _GdkFrameClockPrivate; #[repr(C)] +#[allow(dead_code)] pub struct GdkFrameTimings { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2883,6 +2897,7 @@ impl ::std::fmt::Debug for GdkFrameTimings { } #[repr(C)] +#[allow(dead_code)] pub struct _GdkGLTextureBuilderClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2891,6 +2906,7 @@ pub struct _GdkGLTextureBuilderClass { pub type GdkGLTextureBuilderClass = _GdkGLTextureBuilderClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkGLTextureClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2917,6 +2933,7 @@ impl ::std::fmt::Debug for GdkKeymapKey { } #[repr(C)] +#[allow(dead_code)] pub struct _GdkMemoryTextureClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2925,6 +2942,7 @@ pub struct _GdkMemoryTextureClass { pub type GdkMemoryTextureClass = _GdkMemoryTextureClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkMonitorClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2962,6 +2980,7 @@ impl ::std::fmt::Debug for GdkPaintableInterface { } #[repr(C)] +#[allow(dead_code)] pub struct _GdkPopupInterface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2970,6 +2989,7 @@ pub struct _GdkPopupInterface { pub type GdkPopupInterface = _GdkPopupInterface; #[repr(C)] +#[allow(dead_code)] pub struct GdkPopupLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3023,6 +3043,7 @@ impl ::std::fmt::Debug for GdkRectangle { } #[repr(C)] +#[allow(dead_code)] pub struct _GdkSnapshotClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3031,6 +3052,7 @@ pub struct _GdkSnapshotClass { pub type GdkSnapshotClass = _GdkSnapshotClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkSurfaceClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3039,6 +3061,7 @@ pub struct _GdkSurfaceClass { pub type GdkSurfaceClass = _GdkSurfaceClass; #[repr(C)] +#[allow(dead_code)] pub struct _GdkTextureClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3047,6 +3070,7 @@ pub struct _GdkTextureClass { pub type GdkTextureClass = _GdkTextureClass; #[repr(C)] +#[allow(dead_code)] pub struct GdkTextureDownloader { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3078,6 +3102,7 @@ impl ::std::fmt::Debug for GdkTimeCoord { } #[repr(C)] +#[allow(dead_code)] pub struct _GdkToplevelInterface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3086,6 +3111,7 @@ pub struct _GdkToplevelInterface { pub type GdkToplevelInterface = _GdkToplevelInterface; #[repr(C)] +#[allow(dead_code)] pub struct GdkToplevelLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3099,6 +3125,7 @@ impl ::std::fmt::Debug for GdkToplevelLayout { } #[repr(C)] +#[allow(dead_code)] pub struct _GdkToplevelSize { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3108,6 +3135,7 @@ pub type GdkToplevelSize = _GdkToplevelSize; // Classes #[repr(C)] +#[allow(dead_code)] pub struct GdkAppLaunchContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3121,6 +3149,7 @@ impl ::std::fmt::Debug for GdkAppLaunchContext { } #[repr(C)] +#[allow(dead_code)] pub struct GdkButtonEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3134,6 +3163,7 @@ impl ::std::fmt::Debug for GdkButtonEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkCairoContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3147,6 +3177,7 @@ impl ::std::fmt::Debug for GdkCairoContext { } #[repr(C)] +#[allow(dead_code)] pub struct GdkClipboard { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3159,6 +3190,7 @@ impl ::std::fmt::Debug for GdkClipboard { } #[repr(C)] +#[allow(dead_code)] pub struct GdkContentDeserializer { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3186,6 +3218,7 @@ impl ::std::fmt::Debug for GdkContentProvider { } #[repr(C)] +#[allow(dead_code)] pub struct GdkContentSerializer { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3199,6 +3232,7 @@ impl ::std::fmt::Debug for GdkContentSerializer { } #[repr(C)] +#[allow(dead_code)] pub struct GdkCrossingEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3212,6 +3246,7 @@ impl ::std::fmt::Debug for GdkCrossingEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkCursor { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3224,6 +3259,7 @@ impl ::std::fmt::Debug for GdkCursor { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDNDEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3236,6 +3272,7 @@ impl ::std::fmt::Debug for GdkDNDEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDeleteEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3249,6 +3286,7 @@ impl ::std::fmt::Debug for GdkDeleteEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDevice { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3261,6 +3299,7 @@ impl ::std::fmt::Debug for GdkDevice { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDeviceTool { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3274,6 +3313,7 @@ impl ::std::fmt::Debug for GdkDeviceTool { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDisplay { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3286,6 +3326,7 @@ impl ::std::fmt::Debug for GdkDisplay { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDisplayManager { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3299,6 +3340,7 @@ impl ::std::fmt::Debug for GdkDisplayManager { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDmabufTexture { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3312,6 +3354,7 @@ impl ::std::fmt::Debug for GdkDmabufTexture { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDmabufTextureBuilder { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3325,6 +3368,7 @@ impl ::std::fmt::Debug for GdkDmabufTextureBuilder { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDrag { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3337,6 +3381,7 @@ impl ::std::fmt::Debug for GdkDrag { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDrawContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3350,6 +3395,7 @@ impl ::std::fmt::Debug for GdkDrawContext { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDrop { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3362,6 +3408,7 @@ impl ::std::fmt::Debug for GdkDrop { } #[repr(C)] +#[allow(dead_code)] pub struct GdkEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3374,6 +3421,7 @@ impl ::std::fmt::Debug for GdkEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkFocusEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3387,6 +3435,7 @@ impl ::std::fmt::Debug for GdkFocusEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkFrameClock { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3400,6 +3449,7 @@ impl ::std::fmt::Debug for GdkFrameClock { } #[repr(C)] +#[allow(dead_code)] pub struct GdkGLContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3412,6 +3462,7 @@ impl ::std::fmt::Debug for GdkGLContext { } #[repr(C)] +#[allow(dead_code)] pub struct GdkGLTexture { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3424,6 +3475,7 @@ impl ::std::fmt::Debug for GdkGLTexture { } #[repr(C)] +#[allow(dead_code)] pub struct GdkGLTextureBuilder { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3437,6 +3489,7 @@ impl ::std::fmt::Debug for GdkGLTextureBuilder { } #[repr(C)] +#[allow(dead_code)] pub struct GdkGrabBrokenEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3450,6 +3503,7 @@ impl ::std::fmt::Debug for GdkGrabBrokenEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkKeyEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3462,6 +3516,7 @@ impl ::std::fmt::Debug for GdkKeyEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkMemoryTexture { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3475,6 +3530,7 @@ impl ::std::fmt::Debug for GdkMemoryTexture { } #[repr(C)] +#[allow(dead_code)] pub struct GdkMonitor { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3487,6 +3543,7 @@ impl ::std::fmt::Debug for GdkMonitor { } #[repr(C)] +#[allow(dead_code)] pub struct GdkMotionEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3500,6 +3557,7 @@ impl ::std::fmt::Debug for GdkMotionEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkPadEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3512,6 +3570,7 @@ impl ::std::fmt::Debug for GdkPadEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkProximityEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3525,6 +3584,7 @@ impl ::std::fmt::Debug for GdkProximityEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkScrollEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3552,6 +3612,7 @@ impl ::std::fmt::Debug for GdkSeat { } #[repr(C)] +#[allow(dead_code)] pub struct GdkSnapshot { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3564,6 +3625,7 @@ impl ::std::fmt::Debug for GdkSnapshot { } #[repr(C)] +#[allow(dead_code)] pub struct GdkSurface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3576,6 +3638,7 @@ impl ::std::fmt::Debug for GdkSurface { } #[repr(C)] +#[allow(dead_code)] pub struct GdkTexture { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3588,6 +3651,7 @@ impl ::std::fmt::Debug for GdkTexture { } #[repr(C)] +#[allow(dead_code)] pub struct GdkTouchEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3601,6 +3665,7 @@ impl ::std::fmt::Debug for GdkTouchEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkTouchpadEvent { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3614,6 +3679,7 @@ impl ::std::fmt::Debug for GdkTouchpadEvent { } #[repr(C)] +#[allow(dead_code)] pub struct GdkVulkanContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3628,6 +3694,7 @@ impl ::std::fmt::Debug for GdkVulkanContext { // Interfaces #[repr(C)] +#[allow(dead_code)] pub struct GdkDevicePad { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3640,6 +3707,7 @@ impl ::std::fmt::Debug for GdkDevicePad { } #[repr(C)] +#[allow(dead_code)] pub struct GdkDragSurface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3652,6 +3720,7 @@ impl ::std::fmt::Debug for GdkDragSurface { } #[repr(C)] +#[allow(dead_code)] pub struct GdkPaintable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3664,6 +3733,7 @@ impl ::std::fmt::Debug for GdkPaintable { } #[repr(C)] +#[allow(dead_code)] pub struct GdkPopup { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3676,6 +3746,7 @@ impl ::std::fmt::Debug for GdkPopup { } #[repr(C)] +#[allow(dead_code)] pub struct GdkToplevel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3687,7 +3758,6 @@ impl ::std::fmt::Debug for GdkToplevel { } } -#[link(name = "gtk-4")] extern "C" { //========================================================================= diff --git a/gdk4/sys/versions.txt b/gdk4/sys/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gdk4/sys/versions.txt +++ b/gdk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gsk4/src/auto/versions.txt b/gsk4/src/auto/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gsk4/src/auto/versions.txt +++ b/gsk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gsk4/sys/src/lib.rs b/gsk4/sys/src/lib.rs index 2e5df56f3923..2d2cfb1d8ad7 100644 --- a/gsk4/sys/src/lib.rs +++ b/gsk4/sys/src/lib.rs @@ -18,14 +18,15 @@ use gobject_sys as gobject; use graphene_sys as graphene; use pango_sys as pango; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -210,6 +211,7 @@ pub type GskPathForeachFunc = Option< #[cfg(feature = "broadway")] #[cfg_attr(docsrs, doc(cfg(feature = "broadway")))] #[repr(C)] +#[allow(dead_code)] pub struct _GskBroadwayRendererClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -220,6 +222,7 @@ pub struct _GskBroadwayRendererClass { pub type GskBroadwayRendererClass = _GskBroadwayRendererClass; #[repr(C)] +#[allow(dead_code)] pub struct _GskCairoRendererClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -244,6 +247,7 @@ impl ::std::fmt::Debug for GskColorStop { } #[repr(C)] +#[allow(dead_code)] pub struct _GskGLRendererClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -288,6 +292,7 @@ impl ::std::fmt::Debug for GskParseLocation { } #[repr(C)] +#[allow(dead_code)] pub struct GskPath { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -300,6 +305,7 @@ impl ::std::fmt::Debug for GskPath { } #[repr(C)] +#[allow(dead_code)] pub struct GskPathBuilder { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -313,6 +319,7 @@ impl ::std::fmt::Debug for GskPathBuilder { } #[repr(C)] +#[allow(dead_code)] pub struct GskPathMeasure { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -358,6 +365,7 @@ impl ::std::fmt::Debug for GskPathPoint__s1 { } #[repr(C)] +#[allow(dead_code)] pub struct _GskRendererClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -382,6 +390,7 @@ impl ::std::fmt::Debug for GskRoundedRect { } #[repr(C)] +#[allow(dead_code)] pub struct GskShaderArgsBuilder { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -415,6 +424,7 @@ impl ::std::fmt::Debug for GskShadow { } #[repr(C)] +#[allow(dead_code)] pub struct GskStroke { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -427,6 +437,7 @@ impl ::std::fmt::Debug for GskStroke { } #[repr(C)] +#[allow(dead_code)] pub struct GskTransform { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -441,6 +452,7 @@ impl ::std::fmt::Debug for GskTransform { #[cfg(feature = "vulkan")] #[cfg_attr(docsrs, doc(cfg(feature = "vulkan")))] #[repr(C)] +#[allow(dead_code)] pub struct _GskVulkanRendererClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -452,6 +464,7 @@ pub type GskVulkanRendererClass = _GskVulkanRendererClass; // Classes #[repr(C)] +#[allow(dead_code)] pub struct GskBlendNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -464,6 +477,7 @@ impl ::std::fmt::Debug for GskBlendNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskBlurNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -476,6 +490,7 @@ impl ::std::fmt::Debug for GskBlurNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskBorderNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -491,6 +506,7 @@ impl ::std::fmt::Debug for GskBorderNode { #[cfg(feature = "broadway")] #[cfg_attr(docsrs, doc(cfg(feature = "broadway")))] #[repr(C)] +#[allow(dead_code)] pub struct GskBroadwayRenderer { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -506,6 +522,7 @@ impl ::std::fmt::Debug for GskBroadwayRenderer { } #[repr(C)] +#[allow(dead_code)] pub struct GskCairoNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -518,6 +535,7 @@ impl ::std::fmt::Debug for GskCairoNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskCairoRenderer { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -531,6 +549,7 @@ impl ::std::fmt::Debug for GskCairoRenderer { } #[repr(C)] +#[allow(dead_code)] pub struct GskClipNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -543,6 +562,7 @@ impl ::std::fmt::Debug for GskClipNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskColorMatrixNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -556,6 +576,7 @@ impl ::std::fmt::Debug for GskColorMatrixNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskColorNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -568,6 +589,7 @@ impl ::std::fmt::Debug for GskColorNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskConicGradientNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -581,6 +603,7 @@ impl ::std::fmt::Debug for GskConicGradientNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskContainerNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -594,6 +617,7 @@ impl ::std::fmt::Debug for GskContainerNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskCrossFadeNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -607,6 +631,7 @@ impl ::std::fmt::Debug for GskCrossFadeNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskDebugNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -619,6 +644,7 @@ impl ::std::fmt::Debug for GskDebugNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskFillNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -631,6 +657,7 @@ impl ::std::fmt::Debug for GskFillNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskGLRenderer { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -644,6 +671,7 @@ impl ::std::fmt::Debug for GskGLRenderer { } #[repr(C)] +#[allow(dead_code)] pub struct GskGLShader { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -656,6 +684,7 @@ impl ::std::fmt::Debug for GskGLShader { } #[repr(C)] +#[allow(dead_code)] pub struct GskGLShaderNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -669,6 +698,7 @@ impl ::std::fmt::Debug for GskGLShaderNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskInsetShadowNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -682,6 +712,7 @@ impl ::std::fmt::Debug for GskInsetShadowNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskLinearGradientNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -695,6 +726,7 @@ impl ::std::fmt::Debug for GskLinearGradientNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskMaskNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -707,6 +739,7 @@ impl ::std::fmt::Debug for GskMaskNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskNglRenderer { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -720,6 +753,7 @@ impl ::std::fmt::Debug for GskNglRenderer { } #[repr(C)] +#[allow(dead_code)] pub struct GskOpacityNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -733,6 +767,7 @@ impl ::std::fmt::Debug for GskOpacityNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskOutsetShadowNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -746,6 +781,7 @@ impl ::std::fmt::Debug for GskOutsetShadowNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskRadialGradientNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -759,6 +795,7 @@ impl ::std::fmt::Debug for GskRadialGradientNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskRenderNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -772,6 +809,7 @@ impl ::std::fmt::Debug for GskRenderNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskRenderer { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -784,6 +822,7 @@ impl ::std::fmt::Debug for GskRenderer { } #[repr(C)] +#[allow(dead_code)] pub struct GskRepeatNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -797,6 +836,7 @@ impl ::std::fmt::Debug for GskRepeatNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskRepeatingLinearGradientNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -810,6 +850,7 @@ impl ::std::fmt::Debug for GskRepeatingLinearGradientNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskRepeatingRadialGradientNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -823,6 +864,7 @@ impl ::std::fmt::Debug for GskRepeatingRadialGradientNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskRoundedClipNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -836,6 +878,7 @@ impl ::std::fmt::Debug for GskRoundedClipNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskShadowNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -849,6 +892,7 @@ impl ::std::fmt::Debug for GskShadowNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskStrokeNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -862,6 +906,7 @@ impl ::std::fmt::Debug for GskStrokeNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskSubsurfaceNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -875,6 +920,7 @@ impl ::std::fmt::Debug for GskSubsurfaceNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskTextNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -887,6 +933,7 @@ impl ::std::fmt::Debug for GskTextNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskTextureNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -900,6 +947,7 @@ impl ::std::fmt::Debug for GskTextureNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskTextureScaleNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -913,6 +961,7 @@ impl ::std::fmt::Debug for GskTextureScaleNode { } #[repr(C)] +#[allow(dead_code)] pub struct GskTransformNode { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -928,6 +977,7 @@ impl ::std::fmt::Debug for GskTransformNode { #[cfg(feature = "vulkan")] #[cfg_attr(docsrs, doc(cfg(feature = "vulkan")))] #[repr(C)] +#[allow(dead_code)] pub struct GskVulkanRenderer { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -942,7 +992,6 @@ impl ::std::fmt::Debug for GskVulkanRenderer { } } -#[link(name = "gtk-4")] extern "C" { //========================================================================= diff --git a/gsk4/sys/versions.txt b/gsk4/sys/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gsk4/sys/versions.txt +++ b/gsk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gtk4/src/auto/about_dialog.rs b/gtk4/src/auto/about_dialog.rs index cc5de028a2db..71487b6238cb 100644 --- a/gtk4/src/auto/about_dialog.rs +++ b/gtk4/src/auto/about_dialog.rs @@ -346,7 +346,7 @@ impl AboutDialog { F: Fn(&AboutDialog, &str) -> glib::Propagation + 'static, >( this: *mut ffi::GtkAboutDialog, - uri: *mut libc::c_char, + uri: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) -> glib::ffi::gboolean { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/app_chooser_button.rs b/gtk4/src/auto/app_chooser_button.rs index ccce52f80961..c8276400749e 100644 --- a/gtk4/src/auto/app_chooser_button.rs +++ b/gtk4/src/auto/app_chooser_button.rs @@ -238,7 +238,7 @@ impl AppChooserButton { F: Fn(&AppChooserButton, &str) + 'static, >( this: *mut ffi::GtkAppChooserButton, - item_name: *mut libc::c_char, + item_name: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/assistant.rs b/gtk4/src/auto/assistant.rs index 66e349cb68be..3c25dd5a01d6 100644 --- a/gtk4/src/auto/assistant.rs +++ b/gtk4/src/auto/assistant.rs @@ -236,9 +236,9 @@ impl Assistant { pub fn set_forward_page_func i32 + 'static>(&self, page_func: P) { let page_func_data: Box_

= Box_::new(page_func); unsafe extern "C" fn page_func_func i32 + 'static>( - current_page: libc::c_int, + current_page: std::ffi::c_int, data: glib::ffi::gpointer, - ) -> libc::c_int { + ) -> std::ffi::c_int { let callback = &*(data as *mut P); (*callback)(current_page) } diff --git a/gtk4/src/auto/cell_area.rs b/gtk4/src/auto/cell_area.rs index 321b0cd9c36c..441f1db4da9b 100644 --- a/gtk4/src/auto/cell_area.rs +++ b/gtk4/src/auto/cell_area.rs @@ -702,7 +702,7 @@ pub trait CellAreaExt: IsA + sealed::Sealed + 'static { renderer: *mut ffi::GtkCellRenderer, editable: *mut ffi::GtkCellEditable, cell_area: *mut gdk::ffi::GdkRectangle, - path: *mut libc::c_char, + path: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -777,7 +777,7 @@ pub trait CellAreaExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GtkCellArea, renderer: *mut ffi::GtkCellRenderer, - path: *mut libc::c_char, + path: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/cell_renderer.rs b/gtk4/src/auto/cell_renderer.rs index fb33c7d252b2..3c181053969e 100644 --- a/gtk4/src/auto/cell_renderer.rs +++ b/gtk4/src/auto/cell_renderer.rs @@ -569,7 +569,7 @@ pub trait CellRendererExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GtkCellRenderer, editable: *mut ffi::GtkCellEditable, - path: *mut libc::c_char, + path: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/cell_renderer_accel.rs b/gtk4/src/auto/cell_renderer_accel.rs index d39054f28f7b..6216c6c8f066 100644 --- a/gtk4/src/auto/cell_renderer_accel.rs +++ b/gtk4/src/auto/cell_renderer_accel.rs @@ -83,7 +83,7 @@ impl CellRendererAccel { F: Fn(&CellRendererAccel, TreePath) + 'static, >( this: *mut ffi::GtkCellRendererAccel, - path_string: *mut libc::c_char, + path_string: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -112,10 +112,10 @@ impl CellRendererAccel { F: Fn(&CellRendererAccel, TreePath, u32, gdk::ModifierType, u32) + 'static, >( this: *mut ffi::GtkCellRendererAccel, - path_string: *mut libc::c_char, - accel_key: libc::c_uint, + path_string: *mut std::ffi::c_char, + accel_key: std::ffi::c_uint, accel_mods: gdk::ffi::GdkModifierType, - hardware_keycode: libc::c_uint, + hardware_keycode: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/cell_renderer_combo.rs b/gtk4/src/auto/cell_renderer_combo.rs index b83594e828a5..ae86eacdbcec 100644 --- a/gtk4/src/auto/cell_renderer_combo.rs +++ b/gtk4/src/auto/cell_renderer_combo.rs @@ -74,7 +74,7 @@ impl CellRendererCombo { F: Fn(&CellRendererCombo, TreePath, &TreeIter) + 'static, >( this: *mut ffi::GtkCellRendererCombo, - path_string: *mut libc::c_char, + path_string: *mut std::ffi::c_char, new_iter: *mut ffi::GtkTreeIter, f: glib::ffi::gpointer, ) { diff --git a/gtk4/src/auto/cell_renderer_text.rs b/gtk4/src/auto/cell_renderer_text.rs index 7ba389e5fa27..880a5813a7e8 100644 --- a/gtk4/src/auto/cell_renderer_text.rs +++ b/gtk4/src/auto/cell_renderer_text.rs @@ -799,8 +799,8 @@ pub trait CellRendererTextExt: IsA + sealed::Sealed + 'static F: Fn(&P, TreePath, &str) + 'static, >( this: *mut ffi::GtkCellRendererText, - path: *mut libc::c_char, - new_text: *mut libc::c_char, + path: *mut std::ffi::c_char, + new_text: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/cell_renderer_toggle.rs b/gtk4/src/auto/cell_renderer_toggle.rs index 18f273886bc2..f41739c876a2 100644 --- a/gtk4/src/auto/cell_renderer_toggle.rs +++ b/gtk4/src/auto/cell_renderer_toggle.rs @@ -121,7 +121,7 @@ impl CellRendererToggle { pub fn connect_toggled(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn toggled_trampoline( this: *mut ffi::GtkCellRendererToggle, - path: *mut libc::c_char, + path: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/column_view.rs b/gtk4/src/auto/column_view.rs index d03d050cce7f..480e906d0f7f 100644 --- a/gtk4/src/auto/column_view.rs +++ b/gtk4/src/auto/column_view.rs @@ -306,7 +306,7 @@ impl ColumnView { pub fn connect_activate(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn activate_trampoline( this: *mut ffi::GtkColumnView, - position: libc::c_uint, + position: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/combo_box.rs b/gtk4/src/auto/combo_box.rs index f570f32de9ce..d4924dfea77f 100644 --- a/gtk4/src/auto/combo_box.rs +++ b/gtk4/src/auto/combo_box.rs @@ -714,9 +714,9 @@ pub trait ComboBoxExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str) -> String + 'static, >( this: *mut ffi::GtkComboBox, - path: *mut libc::c_char, + path: *mut std::ffi::c_char, f: glib::ffi::gpointer, - ) -> *mut libc::c_char { + ) -> *mut std::ffi::c_char { let f: &F = &*(f as *const F); f( ComboBox::from_glib_borrow(this).unsafe_cast_ref(), diff --git a/gtk4/src/auto/drag_source.rs b/gtk4/src/auto/drag_source.rs index baba3526500c..86c44738c8a4 100644 --- a/gtk4/src/auto/drag_source.rs +++ b/gtk4/src/auto/drag_source.rs @@ -189,8 +189,8 @@ impl DragSource { F: Fn(&DragSource, f64, f64) -> Option + 'static, >( this: *mut ffi::GtkDragSource, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) -> *mut gdk::ffi::GdkContentProvider { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/drawing_area.rs b/gtk4/src/auto/drawing_area.rs index 078f7f299f4d..0f40e67523ad 100644 --- a/gtk4/src/auto/drawing_area.rs +++ b/gtk4/src/auto/drawing_area.rs @@ -309,8 +309,8 @@ pub trait DrawingAreaExt: IsA + sealed::Sealed + 'static { F: Fn(&P, i32, i32) + 'static, >( this: *mut ffi::GtkDrawingArea, - width: libc::c_int, - height: libc::c_int, + width: std::ffi::c_int, + height: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/drop_controller_motion.rs b/gtk4/src/auto/drop_controller_motion.rs index 4e36de42b55a..0e9ae6e24cdb 100644 --- a/gtk4/src/auto/drop_controller_motion.rs +++ b/gtk4/src/auto/drop_controller_motion.rs @@ -70,8 +70,8 @@ impl DropControllerMotion { pub fn connect_enter(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn enter_trampoline( this: *mut ffi::GtkDropControllerMotion, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -116,8 +116,8 @@ impl DropControllerMotion { pub fn connect_motion(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn motion_trampoline( this: *mut ffi::GtkDropControllerMotion, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/drop_target.rs b/gtk4/src/auto/drop_target.rs index 4f6ab1a53b34..dfc6e56c5b0e 100644 --- a/gtk4/src/auto/drop_target.rs +++ b/gtk4/src/auto/drop_target.rs @@ -140,8 +140,8 @@ impl DropTarget { F: Fn(&DropTarget, f64, f64) -> gdk::DragAction + 'static, >( this: *mut ffi::GtkDropTarget, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) -> gdk::ffi::GdkDragAction { let f: &F = &*(f as *const F); @@ -191,8 +191,8 @@ impl DropTarget { F: Fn(&DropTarget, f64, f64) -> gdk::DragAction + 'static, >( this: *mut ffi::GtkDropTarget, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) -> gdk::ffi::GdkDragAction { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/drop_target_async.rs b/gtk4/src/auto/drop_target_async.rs index 2f20b19ae3ff..f8af68b2d9d8 100644 --- a/gtk4/src/auto/drop_target_async.rs +++ b/gtk4/src/auto/drop_target_async.rs @@ -120,8 +120,8 @@ impl DropTargetAsync { >( this: *mut ffi::GtkDropTargetAsync, drop: *mut gdk::ffi::GdkDrop, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) -> gdk::ffi::GdkDragAction { let f: &F = &*(f as *const F); @@ -175,8 +175,8 @@ impl DropTargetAsync { >( this: *mut ffi::GtkDropTargetAsync, drop: *mut gdk::ffi::GdkDrop, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) -> gdk::ffi::GdkDragAction { let f: &F = &*(f as *const F); @@ -205,8 +205,8 @@ impl DropTargetAsync { >( this: *mut ffi::GtkDropTargetAsync, drop: *mut gdk::ffi::GdkDrop, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) -> glib::ffi::gboolean { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/editable.rs b/gtk4/src/auto/editable.rs index f1dabfce3cda..cf29ca5cbf16 100644 --- a/gtk4/src/auto/editable.rs +++ b/gtk4/src/auto/editable.rs @@ -283,8 +283,8 @@ pub trait EditableExt: IsA + sealed::Sealed + 'static { F: Fn(&P, i32, i32) + 'static, >( this: *mut ffi::GtkEditable, - start_pos: libc::c_int, - end_pos: libc::c_int, + start_pos: std::ffi::c_int, + end_pos: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/emoji_chooser.rs b/gtk4/src/auto/emoji_chooser.rs index e5869be20d78..c7419c2fcbc0 100644 --- a/gtk4/src/auto/emoji_chooser.rs +++ b/gtk4/src/auto/emoji_chooser.rs @@ -41,7 +41,7 @@ impl EmojiChooser { pub fn connect_emoji_picked(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn emoji_picked_trampoline( this: *mut ffi::GtkEmojiChooser, - text: *mut libc::c_char, + text: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/entry_completion.rs b/gtk4/src/auto/entry_completion.rs index e0c00dab9f58..771ce9e97855 100644 --- a/gtk4/src/auto/entry_completion.rs +++ b/gtk4/src/auto/entry_completion.rs @@ -221,7 +221,7 @@ impl EntryCompletion { P: Fn(&EntryCompletion, &str, &TreeIter) -> bool + 'static, >( completion: *mut ffi::GtkEntryCompletion, - key: *const libc::c_char, + key: *const std::ffi::c_char, iter: *mut ffi::GtkTreeIter, user_data: glib::ffi::gpointer, ) -> glib::ffi::gboolean { @@ -373,7 +373,7 @@ impl EntryCompletion { F: Fn(&EntryCompletion, &str) -> glib::Propagation + 'static, >( this: *mut ffi::GtkEntryCompletion, - prefix: *mut libc::c_char, + prefix: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) -> glib::ffi::gboolean { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/event_controller_motion.rs b/gtk4/src/auto/event_controller_motion.rs index 18fb8782bac2..927a52254490 100644 --- a/gtk4/src/auto/event_controller_motion.rs +++ b/gtk4/src/auto/event_controller_motion.rs @@ -60,8 +60,8 @@ impl EventControllerMotion { pub fn connect_enter(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn enter_trampoline( this: *mut ffi::GtkEventControllerMotion, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -108,8 +108,8 @@ impl EventControllerMotion { F: Fn(&EventControllerMotion, f64, f64) + 'static, >( this: *mut ffi::GtkEventControllerMotion, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/event_controller_scroll.rs b/gtk4/src/auto/event_controller_scroll.rs index 2afc030f7635..c9d7bd8aba1c 100644 --- a/gtk4/src/auto/event_controller_scroll.rs +++ b/gtk4/src/auto/event_controller_scroll.rs @@ -73,8 +73,8 @@ impl EventControllerScroll { F: Fn(&EventControllerScroll, f64, f64) + 'static, >( this: *mut ffi::GtkEventControllerScroll, - vel_x: libc::c_double, - vel_y: libc::c_double, + vel_x: std::ffi::c_double, + vel_y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -102,8 +102,8 @@ impl EventControllerScroll { F: Fn(&EventControllerScroll, f64, f64) -> glib::Propagation + 'static, >( this: *mut ffi::GtkEventControllerScroll, - dx: libc::c_double, - dy: libc::c_double, + dx: std::ffi::c_double, + dy: std::ffi::c_double, f: glib::ffi::gpointer, ) -> glib::ffi::gboolean { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/file_chooser_widget.rs b/gtk4/src/auto/file_chooser_widget.rs index 3025cfe0478e..e88351de4130 100644 --- a/gtk4/src/auto/file_chooser_widget.rs +++ b/gtk4/src/auto/file_chooser_widget.rs @@ -148,7 +148,7 @@ impl FileChooserWidget { F: Fn(&FileChooserWidget, &str) + 'static, >( this: *mut ffi::GtkFileChooserWidget, - path: *mut libc::c_char, + path: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -260,7 +260,7 @@ impl FileChooserWidget { pub fn connect_quick_bookmark(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn quick_bookmark_trampoline( this: *mut ffi::GtkFileChooserWidget, - bookmark_index: libc::c_int, + bookmark_index: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/flow_box.rs b/gtk4/src/auto/flow_box.rs index 2f08ba4b40d1..4a91036ed5b7 100644 --- a/gtk4/src/auto/flow_box.rs +++ b/gtk4/src/auto/flow_box.rs @@ -453,7 +453,7 @@ impl FlowBox { >( this: *mut ffi::GtkFlowBox, step: ffi::GtkMovementStep, - count: libc::c_int, + count: std::ffi::c_int, extend: glib::ffi::gboolean, modify: glib::ffi::gboolean, f: glib::ffi::gpointer, diff --git a/gtk4/src/auto/font_chooser.rs b/gtk4/src/auto/font_chooser.rs index cdbdcea3b304..20f7a0d09e19 100644 --- a/gtk4/src/auto/font_chooser.rs +++ b/gtk4/src/auto/font_chooser.rs @@ -297,7 +297,7 @@ pub trait FontChooserExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str) + 'static, >( this: *mut ffi::GtkFontChooser, - fontname: *mut libc::c_char, + fontname: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/gesture_click.rs b/gtk4/src/auto/gesture_click.rs index 215c2df43e9c..93d7dbabcbb2 100644 --- a/gtk4/src/auto/gesture_click.rs +++ b/gtk4/src/auto/gesture_click.rs @@ -38,9 +38,9 @@ impl GestureClick { pub fn connect_pressed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn pressed_trampoline( this: *mut ffi::GtkGestureClick, - n_press: libc::c_int, - x: libc::c_double, - y: libc::c_double, + n_press: std::ffi::c_int, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -63,9 +63,9 @@ impl GestureClick { pub fn connect_released(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn released_trampoline( this: *mut ffi::GtkGestureClick, - n_press: libc::c_int, - x: libc::c_double, - y: libc::c_double, + n_press: std::ffi::c_int, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -117,9 +117,9 @@ impl GestureClick { F: Fn(&GestureClick, f64, f64, u32, Option<&gdk::EventSequence>) + 'static, >( this: *mut ffi::GtkGestureClick, - x: libc::c_double, - y: libc::c_double, - button: libc::c_uint, + x: std::ffi::c_double, + y: std::ffi::c_double, + button: std::ffi::c_uint, sequence: *mut gdk::ffi::GdkEventSequence, f: glib::ffi::gpointer, ) { diff --git a/gtk4/src/auto/gesture_drag.rs b/gtk4/src/auto/gesture_drag.rs index 19152529c323..0a0aa8e9df57 100644 --- a/gtk4/src/auto/gesture_drag.rs +++ b/gtk4/src/auto/gesture_drag.rs @@ -164,8 +164,8 @@ pub trait GestureDragExt: IsA + sealed::Sealed + 'static { F: Fn(&P, f64, f64) + 'static, >( this: *mut ffi::GtkGestureDrag, - start_x: libc::c_double, - start_y: libc::c_double, + start_x: std::ffi::c_double, + start_y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -195,8 +195,8 @@ pub trait GestureDragExt: IsA + sealed::Sealed + 'static { F: Fn(&P, f64, f64) + 'static, >( this: *mut ffi::GtkGestureDrag, - offset_x: libc::c_double, - offset_y: libc::c_double, + offset_x: std::ffi::c_double, + offset_y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -226,8 +226,8 @@ pub trait GestureDragExt: IsA + sealed::Sealed + 'static { F: Fn(&P, f64, f64) + 'static, >( this: *mut ffi::GtkGestureDrag, - offset_x: libc::c_double, - offset_y: libc::c_double, + offset_x: std::ffi::c_double, + offset_y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/gesture_long_press.rs b/gtk4/src/auto/gesture_long_press.rs index 0d6751356fbd..8a3a23fa9aa7 100644 --- a/gtk4/src/auto/gesture_long_press.rs +++ b/gtk4/src/auto/gesture_long_press.rs @@ -75,8 +75,8 @@ impl GestureLongPress { pub fn connect_pressed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn pressed_trampoline( this: *mut ffi::GtkGestureLongPress, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/gesture_pan.rs b/gtk4/src/auto/gesture_pan.rs index df28b88deb4b..e1793b9ae974 100644 --- a/gtk4/src/auto/gesture_pan.rs +++ b/gtk4/src/auto/gesture_pan.rs @@ -58,7 +58,7 @@ impl GesturePan { unsafe extern "C" fn pan_trampoline( this: *mut ffi::GtkGesturePan, direction: ffi::GtkPanDirection, - offset: libc::c_double, + offset: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/gesture_rotate.rs b/gtk4/src/auto/gesture_rotate.rs index 3ef25dbd3a70..98d7d2a95115 100644 --- a/gtk4/src/auto/gesture_rotate.rs +++ b/gtk4/src/auto/gesture_rotate.rs @@ -44,8 +44,8 @@ impl GestureRotate { pub fn connect_angle_changed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn angle_changed_trampoline( this: *mut ffi::GtkGestureRotate, - angle: libc::c_double, - angle_delta: libc::c_double, + angle: std::ffi::c_double, + angle_delta: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/gesture_stylus.rs b/gtk4/src/auto/gesture_stylus.rs index 186b2da95796..c29219affa6b 100644 --- a/gtk4/src/auto/gesture_stylus.rs +++ b/gtk4/src/auto/gesture_stylus.rs @@ -111,8 +111,8 @@ impl GestureStylus { pub fn connect_down(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn down_trampoline( this: *mut ffi::GtkGestureStylus, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -135,8 +135,8 @@ impl GestureStylus { pub fn connect_motion(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn motion_trampoline( this: *mut ffi::GtkGestureStylus, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -159,8 +159,8 @@ impl GestureStylus { pub fn connect_proximity(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn proximity_trampoline( this: *mut ffi::GtkGestureStylus, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -183,8 +183,8 @@ impl GestureStylus { pub fn connect_up(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn up_trampoline( this: *mut ffi::GtkGestureStylus, - x: libc::c_double, - y: libc::c_double, + x: std::ffi::c_double, + y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/gesture_swipe.rs b/gtk4/src/auto/gesture_swipe.rs index e68b3dfab30b..a19fbbf47a99 100644 --- a/gtk4/src/auto/gesture_swipe.rs +++ b/gtk4/src/auto/gesture_swipe.rs @@ -57,8 +57,8 @@ impl GestureSwipe { pub fn connect_swipe(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn swipe_trampoline( this: *mut ffi::GtkGestureSwipe, - velocity_x: libc::c_double, - velocity_y: libc::c_double, + velocity_x: std::ffi::c_double, + velocity_y: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/gesture_zoom.rs b/gtk4/src/auto/gesture_zoom.rs index 8d0ca2de8a45..90c82f49279a 100644 --- a/gtk4/src/auto/gesture_zoom.rs +++ b/gtk4/src/auto/gesture_zoom.rs @@ -44,7 +44,7 @@ impl GestureZoom { pub fn connect_scale_changed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn scale_changed_trampoline( this: *mut ffi::GtkGestureZoom, - scale: libc::c_double, + scale: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/gl_area.rs b/gtk4/src/auto/gl_area.rs index a60c21304ef8..8fc9a4c7129c 100644 --- a/gtk4/src/auto/gl_area.rs +++ b/gtk4/src/auto/gl_area.rs @@ -539,8 +539,8 @@ pub trait GLAreaExt: IsA + sealed::Sealed + 'static { fn connect_resize(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn resize_trampoline, F: Fn(&P, i32, i32) + 'static>( this: *mut ffi::GtkGLArea, - width: libc::c_int, - height: libc::c_int, + width: std::ffi::c_int, + height: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/grid_view.rs b/gtk4/src/auto/grid_view.rs index 6bf21b28d62d..ec75777098e2 100644 --- a/gtk4/src/auto/grid_view.rs +++ b/gtk4/src/auto/grid_view.rs @@ -195,7 +195,7 @@ impl GridView { pub fn connect_activate(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn activate_trampoline( this: *mut ffi::GtkGridView, - position: libc::c_uint, + position: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/icon_view.rs b/gtk4/src/auto/icon_view.rs index e136b822238e..b441813819e3 100644 --- a/gtk4/src/auto/icon_view.rs +++ b/gtk4/src/auto/icon_view.rs @@ -904,7 +904,7 @@ impl IconView { >( this: *mut ffi::GtkIconView, step: ffi::GtkMovementStep, - count: libc::c_int, + count: std::ffi::c_int, extend: glib::ffi::gboolean, modify: glib::ffi::gboolean, f: glib::ffi::gpointer, diff --git a/gtk4/src/auto/im_context.rs b/gtk4/src/auto/im_context.rs index 4c177ba9304d..948e11403c7d 100644 --- a/gtk4/src/auto/im_context.rs +++ b/gtk4/src/auto/im_context.rs @@ -263,7 +263,7 @@ pub trait IMContextExt: IsA + sealed::Sealed + 'static { fn connect_commit(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn commit_trampoline, F: Fn(&P, &str) + 'static>( this: *mut ffi::GtkIMContext, - str: *mut libc::c_char, + str: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -295,8 +295,8 @@ pub trait IMContextExt: IsA + sealed::Sealed + 'static { F: Fn(&P, i32, i32) -> bool + 'static, >( this: *mut ffi::GtkIMContext, - offset: libc::c_int, - n_chars: libc::c_int, + offset: std::ffi::c_int, + n_chars: std::ffi::c_int, f: glib::ffi::gpointer, ) -> glib::ffi::gboolean { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/label.rs b/gtk4/src/auto/label.rs index 425302e846a4..c9380ee2070d 100644 --- a/gtk4/src/auto/label.rs +++ b/gtk4/src/auto/label.rs @@ -481,7 +481,7 @@ impl Label { F: Fn(&Label, &str) -> glib::Propagation + 'static, >( this: *mut ffi::GtkLabel, - uri: *mut libc::c_char, + uri: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) -> glib::ffi::gboolean { let f: &F = &*(f as *const F); @@ -540,7 +540,7 @@ impl Label { >( this: *mut ffi::GtkLabel, step: ffi::GtkMovementStep, - count: libc::c_int, + count: std::ffi::c_int, extend_selection: glib::ffi::gboolean, f: glib::ffi::gpointer, ) { diff --git a/gtk4/src/auto/level_bar.rs b/gtk4/src/auto/level_bar.rs index e3bbf33d8c6a..27fcab7f8b4e 100644 --- a/gtk4/src/auto/level_bar.rs +++ b/gtk4/src/auto/level_bar.rs @@ -179,7 +179,7 @@ impl LevelBar { ) -> SignalHandlerId { unsafe extern "C" fn offset_changed_trampoline( this: *mut ffi::GtkLevelBar, - name: *mut libc::c_char, + name: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/list_box.rs b/gtk4/src/auto/list_box.rs index bc7270f91bf8..a40e5f6e9163 100644 --- a/gtk4/src/auto/list_box.rs +++ b/gtk4/src/auto/list_box.rs @@ -430,7 +430,7 @@ impl ListBox { >( this: *mut ffi::GtkListBox, step: ffi::GtkMovementStep, - count: libc::c_int, + count: std::ffi::c_int, extend: glib::ffi::gboolean, modify: glib::ffi::gboolean, f: glib::ffi::gpointer, diff --git a/gtk4/src/auto/list_view.rs b/gtk4/src/auto/list_view.rs index 0bd6003c57d9..8af43fd1a264 100644 --- a/gtk4/src/auto/list_view.rs +++ b/gtk4/src/auto/list_view.rs @@ -209,7 +209,7 @@ impl ListView { pub fn connect_activate(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn activate_trampoline( this: *mut ffi::GtkListView, - position: libc::c_uint, + position: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/notebook.rs b/gtk4/src/auto/notebook.rs index 570c3f4a1166..052ebecdc860 100644 --- a/gtk4/src/auto/notebook.rs +++ b/gtk4/src/auto/notebook.rs @@ -337,7 +337,7 @@ impl Notebook { F: Fn(&Notebook, i32) -> bool + 'static, >( this: *mut ffi::GtkNotebook, - page: libc::c_int, + page: std::ffi::c_int, f: glib::ffi::gpointer, ) -> glib::ffi::gboolean { let f: &F = &*(f as *const F); @@ -462,7 +462,7 @@ impl Notebook { unsafe extern "C" fn page_added_trampoline( this: *mut ffi::GtkNotebook, child: *mut ffi::GtkWidget, - page_num: libc::c_uint, + page_num: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -489,7 +489,7 @@ impl Notebook { unsafe extern "C" fn page_removed_trampoline( this: *mut ffi::GtkNotebook, child: *mut ffi::GtkWidget, - page_num: libc::c_uint, + page_num: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -516,7 +516,7 @@ impl Notebook { unsafe extern "C" fn page_reordered_trampoline( this: *mut ffi::GtkNotebook, child: *mut ffi::GtkWidget, - page_num: libc::c_uint, + page_num: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -611,7 +611,7 @@ impl Notebook { unsafe extern "C" fn switch_page_trampoline( this: *mut ffi::GtkNotebook, page: *mut ffi::GtkWidget, - page_num: libc::c_uint, + page_num: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/print_operation.rs b/gtk4/src/auto/print_operation.rs index 0d1ab9627f97..bcacaad3294d 100644 --- a/gtk4/src/auto/print_operation.rs +++ b/gtk4/src/auto/print_operation.rs @@ -649,7 +649,7 @@ pub trait PrintOperationExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GtkPrintOperation, context: *mut ffi::GtkPrintContext, - page_nr: libc::c_int, + page_nr: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -784,7 +784,7 @@ pub trait PrintOperationExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GtkPrintOperation, context: *mut ffi::GtkPrintContext, - page_nr: libc::c_int, + page_nr: std::ffi::c_int, setup: *mut ffi::GtkPageSetup, f: glib::ffi::gpointer, ) { diff --git a/gtk4/src/auto/print_settings.rs b/gtk4/src/auto/print_settings.rs index 3f48b3dc1496..ae88aa3204f1 100644 --- a/gtk4/src/auto/print_settings.rs +++ b/gtk4/src/auto/print_settings.rs @@ -85,8 +85,8 @@ impl PrintSettings { pub fn foreach(&self, func: P) { let func_data: P = func; unsafe extern "C" fn func_func( - key: *const libc::c_char, - value: *const libc::c_char, + key: *const std::ffi::c_char, + value: *const std::ffi::c_char, user_data: glib::ffi::gpointer, ) { let key: Borrowed = from_glib_borrow(key); diff --git a/gtk4/src/auto/range.rs b/gtk4/src/auto/range.rs index ffd0666665d0..b9a4880fd785 100644 --- a/gtk4/src/auto/range.rs +++ b/gtk4/src/auto/range.rs @@ -248,7 +248,7 @@ pub trait RangeExt: IsA + sealed::Sealed + 'static { fn connect_adjust_bounds(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn adjust_bounds_trampoline, F: Fn(&P, f64) + 'static>( this: *mut ffi::GtkRange, - value: libc::c_double, + value: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -278,7 +278,7 @@ pub trait RangeExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GtkRange, scroll: ffi::GtkScrollType, - value: libc::c_double, + value: std::ffi::c_double, f: glib::ffi::gpointer, ) -> glib::ffi::gboolean { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/scale.rs b/gtk4/src/auto/scale.rs index f873c03f4d56..3f67f5a378b9 100644 --- a/gtk4/src/auto/scale.rs +++ b/gtk4/src/auto/scale.rs @@ -462,9 +462,9 @@ pub trait ScaleExt: IsA + sealed::Sealed + 'static { let func_data: Box_

= Box_::new(func); unsafe extern "C" fn func_func String + 'static>( scale: *mut ffi::GtkScale, - value: libc::c_double, + value: std::ffi::c_double, user_data: glib::ffi::gpointer, - ) -> *mut libc::c_char { + ) -> *mut std::ffi::c_char { let scale = from_glib_borrow(scale); let callback = &*(user_data as *mut P); (*callback)(&scale, value).to_glib_full() diff --git a/gtk4/src/auto/scale_button.rs b/gtk4/src/auto/scale_button.rs index 615317a70daa..f18972fc2e92 100644 --- a/gtk4/src/auto/scale_button.rs +++ b/gtk4/src/auto/scale_button.rs @@ -492,7 +492,7 @@ pub trait ScaleButtonExt: IsA + sealed::Sealed + 'static { F: Fn(&P, f64) + 'static, >( this: *mut ffi::GtkScaleButton, - value: libc::c_double, + value: std::ffi::c_double, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/section_model.rs b/gtk4/src/auto/section_model.rs index 5423c8243842..b9590b7b8ae9 100644 --- a/gtk4/src/auto/section_model.rs +++ b/gtk4/src/auto/section_model.rs @@ -65,8 +65,8 @@ pub trait SectionModelExt: IsA + sealed::Sealed + 'static { F: Fn(&P, u32, u32) + 'static, >( this: *mut ffi::GtkSectionModel, - position: libc::c_uint, - n_items: libc::c_uint, + position: std::ffi::c_uint, + n_items: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/selection_model.rs b/gtk4/src/auto/selection_model.rs index af621ef35fae..41d37bd5241d 100644 --- a/gtk4/src/auto/selection_model.rs +++ b/gtk4/src/auto/selection_model.rs @@ -152,8 +152,8 @@ pub trait SelectionModelExt: IsA + sealed::Sealed + 'static { F: Fn(&P, u32, u32) + 'static, >( this: *mut ffi::GtkSelectionModel, - position: libc::c_uint, - n_items: libc::c_uint, + position: std::ffi::c_uint, + n_items: std::ffi::c_uint, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/statusbar.rs b/gtk4/src/auto/statusbar.rs index 056dca83e744..2af594cf7dec 100644 --- a/gtk4/src/auto/statusbar.rs +++ b/gtk4/src/auto/statusbar.rs @@ -92,8 +92,8 @@ impl Statusbar { pub fn connect_text_popped(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn text_popped_trampoline( this: *mut ffi::GtkStatusbar, - context_id: libc::c_uint, - text: *mut libc::c_char, + context_id: std::ffi::c_uint, + text: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -121,8 +121,8 @@ impl Statusbar { pub fn connect_text_pushed(&self, f: F) -> SignalHandlerId { unsafe extern "C" fn text_pushed_trampoline( this: *mut ffi::GtkStatusbar, - context_id: libc::c_uint, - text: *mut libc::c_char, + context_id: std::ffi::c_uint, + text: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/text_view.rs b/gtk4/src/auto/text_view.rs index 995df0404e71..1fd566ed8671 100644 --- a/gtk4/src/auto/text_view.rs +++ b/gtk4/src/auto/text_view.rs @@ -1326,7 +1326,7 @@ pub trait TextViewExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GtkTextView, type_: ffi::GtkDeleteType, - count: libc::c_int, + count: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -1403,7 +1403,7 @@ pub trait TextViewExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str) + 'static, >( this: *mut ffi::GtkTextView, - string: *mut libc::c_char, + string: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -1466,7 +1466,7 @@ pub trait TextViewExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GtkTextView, step: ffi::GtkMovementStep, - count: libc::c_int, + count: std::ffi::c_int, extend_selection: glib::ffi::gboolean, f: glib::ffi::gpointer, ) { @@ -1506,7 +1506,7 @@ pub trait TextViewExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GtkTextView, step: ffi::GtkScrollStep, - count: libc::c_int, + count: std::ffi::c_int, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); @@ -1566,7 +1566,7 @@ pub trait TextViewExt: IsA + sealed::Sealed + 'static { F: Fn(&P, &str) + 'static, >( this: *mut ffi::GtkTextView, - preedit: *mut libc::c_char, + preedit: *mut std::ffi::c_char, f: glib::ffi::gpointer, ) { let f: &F = &*(f as *const F); diff --git a/gtk4/src/auto/tree_view.rs b/gtk4/src/auto/tree_view.rs index 9bba0fd4c36e..d6f8196a1ee1 100644 --- a/gtk4/src/auto/tree_view.rs +++ b/gtk4/src/auto/tree_view.rs @@ -1709,8 +1709,8 @@ pub trait TreeViewExt: IsA + sealed::Sealed + 'static { P: Fn(&TreeModel, i32, &str, &TreeIter) -> bool + 'static, >( model: *mut ffi::GtkTreeModel, - column: libc::c_int, - key: *const libc::c_char, + column: std::ffi::c_int, + key: *const std::ffi::c_char, iter: *mut ffi::GtkTreeIter, search_data: glib::ffi::gpointer, ) -> glib::ffi::gboolean { @@ -1921,7 +1921,7 @@ pub trait TreeViewExt: IsA + sealed::Sealed + 'static { >( this: *mut ffi::GtkTreeView, step: ffi::GtkMovementStep, - direction: libc::c_int, + direction: std::ffi::c_int, extend: glib::ffi::gboolean, modify: glib::ffi::gboolean, f: glib::ffi::gpointer, diff --git a/gtk4/src/auto/versions.txt b/gtk4/src/auto/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gtk4/src/auto/versions.txt +++ b/gtk4/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) diff --git a/gtk4/src/auto/widget.rs b/gtk4/src/auto/widget.rs index 428705811d7d..b0bd2304f458 100644 --- a/gtk4/src/auto/widget.rs +++ b/gtk4/src/auto/widget.rs @@ -1754,8 +1754,8 @@ pub trait WidgetExt: IsA + sealed::Sealed + 'static { F: Fn(&P, i32, i32, bool, &Tooltip) -> bool + 'static, >( this: *mut ffi::GtkWidget, - x: libc::c_int, - y: libc::c_int, + x: std::ffi::c_int, + y: std::ffi::c_int, keyboard_mode: glib::ffi::gboolean, tooltip: *mut ffi::GtkTooltip, f: glib::ffi::gpointer, diff --git a/gtk4/sys/src/lib.rs b/gtk4/sys/src/lib.rs index c6d877a09310..e69b897c5427 100644 --- a/gtk4/sys/src/lib.rs +++ b/gtk4/sys/src/lib.rs @@ -21,14 +21,15 @@ use graphene_sys as graphene; use gsk4_sys as gsk; use pango_sys as pango; -#[allow(unused_imports)] -use libc::{ - c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, - intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE, -}; #[cfg(unix)] #[allow(unused_imports)] use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t}; +#[allow(unused_imports)] +use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE}; +#[allow(unused_imports)] +use std::ffi::{ + c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void, +}; #[allow(unused_imports)] use glib::{gboolean, gconstpointer, gpointer, GType}; @@ -1314,6 +1315,7 @@ pub type GtkWidgetActionActivateFunc = // Records #[repr(C)] +#[allow(dead_code)] pub struct _GtkATContextClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -1366,6 +1368,7 @@ impl ::std::fmt::Debug for GtkAccessibleInterface { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAccessibleList { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -1503,6 +1506,7 @@ impl ::std::fmt::Debug for GtkActionableInterface { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkActivateActionClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -1551,6 +1555,7 @@ impl ::std::fmt::Debug for GtkAlertDialogClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkAlternativeTriggerClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -1559,6 +1564,7 @@ pub struct _GtkAlternativeTriggerClass { pub type GtkAlternativeTriggerClass = _GtkAlternativeTriggerClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkAnyFilterClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -1615,6 +1621,7 @@ impl ::std::fmt::Debug for GtkBinLayoutClass { } #[repr(C)] +#[allow(dead_code)] pub struct GtkBitset { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -1802,6 +1809,7 @@ impl ::std::fmt::Debug for GtkBuildableIface { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkBuildableParseContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -1870,6 +1878,7 @@ impl ::std::fmt::Debug for GtkBuilderCScopeClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkBuilderClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -1878,6 +1887,7 @@ pub struct _GtkBuilderClass { pub type GtkBuilderClass = _GtkBuilderClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkBuilderListItemFactoryClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -1935,6 +1945,7 @@ impl ::std::fmt::Debug for GtkButtonClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkButtonPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -1943,6 +1954,7 @@ pub struct _GtkButtonPrivate { pub type GtkButtonPrivate = _GtkButtonPrivate; #[repr(C)] +#[allow(dead_code)] pub struct _GtkCallbackActionClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2138,6 +2150,7 @@ impl ::std::fmt::Debug for GtkCellAreaContextClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkCellAreaContextPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2293,6 +2306,7 @@ impl ::std::fmt::Debug for GtkCellRendererClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkCellRendererClassPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2301,6 +2315,7 @@ pub struct _GtkCellRendererClassPrivate { pub type GtkCellRendererClassPrivate = _GtkCellRendererClassPrivate; #[repr(C)] +#[allow(dead_code)] pub struct _GtkCellRendererPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2327,6 +2342,7 @@ impl ::std::fmt::Debug for GtkCellRendererTextClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkCenterBoxClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2421,6 +2437,7 @@ impl ::std::fmt::Debug for GtkColorDialogClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkColumnViewCellClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2429,6 +2446,7 @@ pub struct _GtkColumnViewCellClass { pub type GtkColumnViewCellClass = _GtkColumnViewCellClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkColumnViewClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2437,6 +2455,7 @@ pub struct _GtkColumnViewClass { pub type GtkColumnViewClass = _GtkColumnViewClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkColumnViewColumnClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2445,6 +2464,7 @@ pub struct _GtkColumnViewColumnClass { pub type GtkColumnViewColumnClass = _GtkColumnViewColumnClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkColumnViewRowClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2545,6 +2565,7 @@ impl ::std::fmt::Debug for GtkConstraintLayoutClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkConstraintTargetInterface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2575,6 +2596,7 @@ impl ::std::fmt::Debug for GtkCssLocation { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkCssProviderClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2583,6 +2605,7 @@ pub struct _GtkCssProviderClass { pub type GtkCssProviderClass = _GtkCssProviderClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkCssProviderPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2591,6 +2614,7 @@ pub struct _GtkCssProviderPrivate { pub type GtkCssProviderPrivate = _GtkCssProviderPrivate; #[repr(C)] +#[allow(dead_code)] pub struct GtkCssSection { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2604,6 +2628,7 @@ impl ::std::fmt::Debug for GtkCssSection { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkCssStyleChange { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2701,6 +2726,7 @@ impl ::std::fmt::Debug for GtkDragIconClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkDragSourceClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2726,6 +2752,7 @@ impl ::std::fmt::Debug for GtkDrawingAreaClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkDropControllerMotionClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2748,6 +2775,7 @@ impl ::std::fmt::Debug for GtkDropDownClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkDropTargetAsyncClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2756,6 +2784,7 @@ pub struct _GtkDropTargetAsyncClass { pub type GtkDropTargetAsyncClass = _GtkDropTargetAsyncClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkDropTargetClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2813,6 +2842,7 @@ impl ::std::fmt::Debug for GtkEditableLabelClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkEmojiChooserClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2882,6 +2912,7 @@ impl ::std::fmt::Debug for GtkEntryClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkEventControllerClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2890,6 +2921,7 @@ pub struct _GtkEventControllerClass { pub type GtkEventControllerClass = _GtkEventControllerClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkEventControllerFocusClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2898,6 +2930,7 @@ pub struct _GtkEventControllerFocusClass { pub type GtkEventControllerFocusClass = _GtkEventControllerFocusClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkEventControllerKeyClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2906,6 +2939,7 @@ pub struct _GtkEventControllerKeyClass { pub type GtkEventControllerKeyClass = _GtkEventControllerKeyClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkEventControllerLegacyClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2914,6 +2948,7 @@ pub struct _GtkEventControllerLegacyClass { pub type GtkEventControllerLegacyClass = _GtkEventControllerLegacyClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkEventControllerMotionClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2922,6 +2957,7 @@ pub struct _GtkEventControllerMotionClass { pub type GtkEventControllerMotionClass = _GtkEventControllerMotionClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkEventControllerScrollClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2930,6 +2966,7 @@ pub struct _GtkEventControllerScrollClass { pub type GtkEventControllerScrollClass = _GtkEventControllerScrollClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkEveryFilterClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -2938,6 +2975,7 @@ pub struct _GtkEveryFilterClass { pub type GtkEveryFilterClass = _GtkEveryFilterClass; #[repr(C)] +#[allow(dead_code)] pub struct GtkExpressionWatch { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3217,6 +3255,7 @@ impl ::std::fmt::Debug for GtkGLAreaClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkGestureClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3225,6 +3264,7 @@ pub struct _GtkGestureClass { pub type GtkGestureClass = _GtkGestureClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkGestureClickClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3233,6 +3273,7 @@ pub struct _GtkGestureClickClass { pub type GtkGestureClickClass = _GtkGestureClickClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkGestureDragClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3241,6 +3282,7 @@ pub struct _GtkGestureDragClass { pub type GtkGestureDragClass = _GtkGestureDragClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkGestureLongPressClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3249,6 +3291,7 @@ pub struct _GtkGestureLongPressClass { pub type GtkGestureLongPressClass = _GtkGestureLongPressClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkGesturePanClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3257,6 +3300,7 @@ pub struct _GtkGesturePanClass { pub type GtkGesturePanClass = _GtkGesturePanClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkGestureRotateClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3265,6 +3309,7 @@ pub struct _GtkGestureRotateClass { pub type GtkGestureRotateClass = _GtkGestureRotateClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkGestureSingleClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3273,6 +3318,7 @@ pub struct _GtkGestureSingleClass { pub type GtkGestureSingleClass = _GtkGestureSingleClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkGestureStylusClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3281,6 +3327,7 @@ pub struct _GtkGestureStylusClass { pub type GtkGestureStylusClass = _GtkGestureStylusClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkGestureSwipeClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3289,6 +3336,7 @@ pub struct _GtkGestureSwipeClass { pub type GtkGestureSwipeClass = _GtkGestureSwipeClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkGestureZoomClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3354,6 +3402,7 @@ impl ::std::fmt::Debug for GtkGridLayoutClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkGridViewClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3462,6 +3511,7 @@ impl ::std::fmt::Debug for GtkIMContextSimpleClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkIMContextSimplePrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3492,6 +3542,7 @@ impl ::std::fmt::Debug for GtkIMMulticontextClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkIMMulticontextPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3514,6 +3565,7 @@ impl ::std::fmt::Debug for GtkInscriptionClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkKeyvalTriggerClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3582,6 +3634,7 @@ impl ::std::fmt::Debug for GtkLayoutManagerClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkListBaseClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3607,6 +3660,7 @@ impl ::std::fmt::Debug for GtkListBoxRowClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkListHeaderClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3615,6 +3669,7 @@ pub struct _GtkListHeaderClass { pub type GtkListHeaderClass = _GtkListHeaderClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkListItemClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3623,6 +3678,7 @@ pub struct _GtkListItemClass { pub type GtkListItemClass = _GtkListItemClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkListItemFactoryClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3646,6 +3702,7 @@ impl ::std::fmt::Debug for GtkListStoreClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkListStorePrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3654,6 +3711,7 @@ pub struct _GtkListStorePrivate { pub type GtkListStorePrivate = _GtkListStorePrivate; #[repr(C)] +#[allow(dead_code)] pub struct _GtkListViewClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3758,6 +3816,7 @@ impl ::std::fmt::Debug for GtkMediaStreamClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkMessageDialogClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3766,6 +3825,7 @@ pub struct _GtkMessageDialogClass { pub type GtkMessageDialogClass = _GtkMessageDialogClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkMnemonicActionClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3774,6 +3834,7 @@ pub struct _GtkMnemonicActionClass { pub type GtkMnemonicActionClass = _GtkMnemonicActionClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkMnemonicTriggerClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3804,6 +3865,7 @@ impl ::std::fmt::Debug for GtkMountOperationClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkMountOperationPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3812,6 +3874,7 @@ pub struct _GtkMountOperationPrivate { pub type GtkMountOperationPrivate = _GtkMountOperationPrivate; #[repr(C)] +#[allow(dead_code)] pub struct _GtkMultiFilterClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3848,6 +3911,7 @@ impl ::std::fmt::Debug for GtkMultiSorterClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkNamedActionClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3883,6 +3947,7 @@ impl ::std::fmt::Debug for GtkNativeDialogClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkNativeInterface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3891,6 +3956,7 @@ pub struct _GtkNativeInterface { pub type GtkNativeInterface = _GtkNativeInterface; #[repr(C)] +#[allow(dead_code)] pub struct _GtkNeverTriggerClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3913,6 +3979,7 @@ impl ::std::fmt::Debug for GtkNoSelectionClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkNothingActionClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -3999,6 +4066,7 @@ impl ::std::fmt::Debug for GtkPadActionEntry { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkPadControllerClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4023,6 +4091,7 @@ impl ::std::fmt::Debug for GtkPageRange { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPaperSize { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4049,6 +4118,7 @@ impl ::std::fmt::Debug for GtkPasswordEntryBufferClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkPasswordEntryClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4090,6 +4160,7 @@ impl ::std::fmt::Debug for GtkPopoverClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkPrintBackend { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4219,6 +4290,7 @@ impl ::std::fmt::Debug for GtkPrintOperationPreviewIface { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkPrintOperationPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4227,6 +4299,7 @@ pub struct _GtkPrintOperationPrivate { pub type GtkPrintOperationPrivate = _GtkPrintOperationPrivate; #[repr(C)] +#[allow(dead_code)] pub struct GtkPrintSetup { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4292,6 +4365,7 @@ impl ::std::fmt::Debug for GtkRecentData { } #[repr(C)] +#[allow(dead_code)] pub struct GtkRecentInfo { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4328,6 +4402,7 @@ impl ::std::fmt::Debug for GtkRecentManagerClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkRecentManagerPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4370,6 +4445,7 @@ impl ::std::fmt::Debug for GtkRequisition { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkRootInterface { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4412,6 +4488,7 @@ impl ::std::fmt::Debug for GtkScaleClass { } #[repr(C)] +#[allow(dead_code)] pub struct GtkScrollInfo { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4508,6 +4585,7 @@ impl ::std::fmt::Debug for GtkSelectionModelInterface { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkShortcutActionClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4530,6 +4608,7 @@ impl ::std::fmt::Debug for GtkShortcutClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkShortcutControllerClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4538,6 +4617,7 @@ pub struct _GtkShortcutControllerClass { pub type GtkShortcutControllerClass = _GtkShortcutControllerClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkShortcutLabelClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4565,6 +4645,7 @@ impl ::std::fmt::Debug for GtkShortcutManagerInterface { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkShortcutTriggerClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4573,6 +4654,7 @@ pub struct _GtkShortcutTriggerClass { pub type GtkShortcutTriggerClass = _GtkShortcutTriggerClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkShortcutsGroupClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4581,6 +4663,7 @@ pub struct _GtkShortcutsGroupClass { pub type GtkShortcutsGroupClass = _GtkShortcutsGroupClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkShortcutsSectionClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4589,6 +4672,7 @@ pub struct _GtkShortcutsSectionClass { pub type GtkShortcutsSectionClass = _GtkShortcutsSectionClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkShortcutsShortcutClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4597,6 +4681,7 @@ pub struct _GtkShortcutsShortcutClass { pub type GtkShortcutsShortcutClass = _GtkShortcutsShortcutClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkSignalActionClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4605,6 +4690,7 @@ pub struct _GtkSignalActionClass { pub type GtkSignalActionClass = _GtkSignalActionClass; #[repr(C)] +#[allow(dead_code)] pub struct _GtkSignalListItemFactoryClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4641,6 +4727,7 @@ impl ::std::fmt::Debug for GtkSliceListModelClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkSnapshotClass { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4878,6 +4965,7 @@ impl ::std::fmt::Debug for GtkTextBufferClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkTextBufferPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -4963,6 +5051,7 @@ impl ::std::fmt::Debug for GtkTextTagClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkTextTagPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5022,6 +5111,7 @@ impl ::std::fmt::Debug for GtkTextViewClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkTextViewPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5211,6 +5301,7 @@ impl ::std::fmt::Debug for GtkTreeModelFilterClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkTreeModelFilterPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5310,6 +5401,7 @@ impl ::std::fmt::Debug for GtkTreeModelSortClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkTreeModelSortPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5318,6 +5410,7 @@ pub struct _GtkTreeModelSortPrivate { pub type GtkTreeModelSortPrivate = _GtkTreeModelSortPrivate; #[repr(C)] +#[allow(dead_code)] pub struct GtkTreePath { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5330,6 +5423,7 @@ impl ::std::fmt::Debug for GtkTreePath { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeRowReference { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5400,6 +5494,7 @@ impl ::std::fmt::Debug for GtkTreeStoreClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkTreeStorePrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5578,6 +5673,7 @@ impl ::std::fmt::Debug for GtkWidgetClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkWidgetClassPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5600,6 +5696,7 @@ impl ::std::fmt::Debug for GtkWidgetPaintableClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkWidgetPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5669,6 +5766,7 @@ impl ::std::fmt::Debug for GtkWindowGroupClass { } #[repr(C)] +#[allow(dead_code)] pub struct _GtkWindowGroupPrivate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5692,6 +5790,7 @@ impl ::std::fmt::Debug for GtkWindowHandleClass { // Classes #[repr(C)] +#[allow(dead_code)] pub struct GtkATContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5704,6 +5803,7 @@ impl ::std::fmt::Debug for GtkATContext { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAboutDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5717,6 +5817,7 @@ impl ::std::fmt::Debug for GtkAboutDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkActionBar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5729,6 +5830,7 @@ impl ::std::fmt::Debug for GtkActionBar { } #[repr(C)] +#[allow(dead_code)] pub struct GtkActivateAction { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5756,6 +5858,7 @@ impl ::std::fmt::Debug for GtkAdjustment { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAlertDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5769,6 +5872,7 @@ impl ::std::fmt::Debug for GtkAlertDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAlternativeTrigger { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5782,6 +5886,7 @@ impl ::std::fmt::Debug for GtkAlternativeTrigger { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAnyFilter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5794,6 +5899,7 @@ impl ::std::fmt::Debug for GtkAnyFilter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAppChooserButton { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5807,6 +5913,7 @@ impl ::std::fmt::Debug for GtkAppChooserButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAppChooserDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5820,6 +5927,7 @@ impl ::std::fmt::Debug for GtkAppChooserDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAppChooserWidget { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5861,6 +5969,7 @@ impl ::std::fmt::Debug for GtkApplicationWindow { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAspectFrame { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5874,6 +5983,7 @@ impl ::std::fmt::Debug for GtkAspectFrame { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAssistant { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5886,6 +5996,7 @@ impl ::std::fmt::Debug for GtkAssistant { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAssistantPage { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5899,6 +6010,7 @@ impl ::std::fmt::Debug for GtkAssistantPage { } #[repr(C)] +#[allow(dead_code)] pub struct GtkBinLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5911,6 +6023,7 @@ impl ::std::fmt::Debug for GtkBinLayout { } #[repr(C)] +#[allow(dead_code)] pub struct GtkBookmarkList { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5924,6 +6037,7 @@ impl ::std::fmt::Debug for GtkBookmarkList { } #[repr(C)] +#[allow(dead_code)] pub struct GtkBoolFilter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5951,6 +6065,7 @@ impl ::std::fmt::Debug for GtkBox { } #[repr(C)] +#[allow(dead_code)] pub struct GtkBoxLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5963,6 +6078,7 @@ impl ::std::fmt::Debug for GtkBoxLayout { } #[repr(C)] +#[allow(dead_code)] pub struct GtkBuilder { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -5989,6 +6105,7 @@ impl ::std::fmt::Debug for GtkBuilderCScope { } #[repr(C)] +#[allow(dead_code)] pub struct GtkBuilderListItemFactory { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6014,6 +6131,7 @@ impl ::std::fmt::Debug for GtkButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCClosureExpression { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6027,6 +6145,7 @@ impl ::std::fmt::Debug for GtkCClosureExpression { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCalendar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6039,6 +6158,7 @@ impl ::std::fmt::Debug for GtkCalendar { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCallbackAction { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6064,6 +6184,7 @@ impl ::std::fmt::Debug for GtkCellArea { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellAreaBox { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6105,6 +6226,7 @@ impl ::std::fmt::Debug for GtkCellRenderer { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellRendererAccel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6118,6 +6240,7 @@ impl ::std::fmt::Debug for GtkCellRendererAccel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellRendererCombo { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6131,6 +6254,7 @@ impl ::std::fmt::Debug for GtkCellRendererCombo { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellRendererPixbuf { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6144,6 +6268,7 @@ impl ::std::fmt::Debug for GtkCellRendererPixbuf { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellRendererProgress { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6157,6 +6282,7 @@ impl ::std::fmt::Debug for GtkCellRendererProgress { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellRendererSpin { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6170,6 +6296,7 @@ impl ::std::fmt::Debug for GtkCellRendererSpin { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellRendererSpinner { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6197,6 +6324,7 @@ impl ::std::fmt::Debug for GtkCellRendererText { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellRendererToggle { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6210,6 +6338,7 @@ impl ::std::fmt::Debug for GtkCellRendererToggle { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellView { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6222,6 +6351,7 @@ impl ::std::fmt::Debug for GtkCellView { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCenterBox { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6234,6 +6364,7 @@ impl ::std::fmt::Debug for GtkCenterBox { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCenterLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6261,6 +6392,7 @@ impl ::std::fmt::Debug for GtkCheckButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkClosureExpression { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6274,6 +6406,7 @@ impl ::std::fmt::Debug for GtkClosureExpression { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColorButton { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6287,6 +6420,7 @@ impl ::std::fmt::Debug for GtkColorButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColorChooserDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6300,6 +6434,7 @@ impl ::std::fmt::Debug for GtkColorChooserDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColorChooserWidget { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6313,6 +6448,7 @@ impl ::std::fmt::Debug for GtkColorChooserWidget { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColorDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6326,6 +6462,7 @@ impl ::std::fmt::Debug for GtkColorDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColorDialogButton { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6339,6 +6476,7 @@ impl ::std::fmt::Debug for GtkColorDialogButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColumnView { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6352,6 +6490,7 @@ impl ::std::fmt::Debug for GtkColumnView { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColumnViewCell { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6365,6 +6504,7 @@ impl ::std::fmt::Debug for GtkColumnViewCell { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColumnViewColumn { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6378,6 +6518,7 @@ impl ::std::fmt::Debug for GtkColumnViewColumn { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColumnViewRow { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6391,6 +6532,7 @@ impl ::std::fmt::Debug for GtkColumnViewRow { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColumnViewSorter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6418,6 +6560,7 @@ impl ::std::fmt::Debug for GtkComboBox { } #[repr(C)] +#[allow(dead_code)] pub struct GtkComboBoxText { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6431,6 +6574,7 @@ impl ::std::fmt::Debug for GtkComboBoxText { } #[repr(C)] +#[allow(dead_code)] pub struct GtkConstantExpression { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6444,6 +6588,7 @@ impl ::std::fmt::Debug for GtkConstantExpression { } #[repr(C)] +#[allow(dead_code)] pub struct GtkConstraint { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6457,6 +6602,7 @@ impl ::std::fmt::Debug for GtkConstraint { } #[repr(C)] +#[allow(dead_code)] pub struct GtkConstraintGuide { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6470,6 +6616,7 @@ impl ::std::fmt::Debug for GtkConstraintGuide { } #[repr(C)] +#[allow(dead_code)] pub struct GtkConstraintLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6483,6 +6630,7 @@ impl ::std::fmt::Debug for GtkConstraintLayout { } #[repr(C)] +#[allow(dead_code)] pub struct GtkConstraintLayoutChild { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6510,6 +6658,7 @@ impl ::std::fmt::Debug for GtkCssProvider { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCustomFilter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6523,6 +6672,7 @@ impl ::std::fmt::Debug for GtkCustomFilter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCustomLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6536,6 +6686,7 @@ impl ::std::fmt::Debug for GtkCustomLayout { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCustomSorter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6563,6 +6714,7 @@ impl ::std::fmt::Debug for GtkDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkDirectoryList { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6576,6 +6728,7 @@ impl ::std::fmt::Debug for GtkDirectoryList { } #[repr(C)] +#[allow(dead_code)] pub struct GtkDragIcon { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6588,6 +6741,7 @@ impl ::std::fmt::Debug for GtkDragIcon { } #[repr(C)] +#[allow(dead_code)] pub struct GtkDragSource { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6615,6 +6769,7 @@ impl ::std::fmt::Debug for GtkDrawingArea { } #[repr(C)] +#[allow(dead_code)] pub struct GtkDropControllerMotion { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6628,6 +6783,7 @@ impl ::std::fmt::Debug for GtkDropControllerMotion { } #[repr(C)] +#[allow(dead_code)] pub struct GtkDropDown { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6640,6 +6796,7 @@ impl ::std::fmt::Debug for GtkDropDown { } #[repr(C)] +#[allow(dead_code)] pub struct GtkDropTarget { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6653,6 +6810,7 @@ impl ::std::fmt::Debug for GtkDropTarget { } #[repr(C)] +#[allow(dead_code)] pub struct GtkDropTargetAsync { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6666,6 +6824,7 @@ impl ::std::fmt::Debug for GtkDropTargetAsync { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEditableLabel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6679,6 +6838,7 @@ impl ::std::fmt::Debug for GtkEditableLabel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEmojiChooser { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6718,6 +6878,7 @@ impl ::std::fmt::Debug for GtkEntryBuffer { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEntryCompletion { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6731,6 +6892,7 @@ impl ::std::fmt::Debug for GtkEntryCompletion { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEventController { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6744,6 +6906,7 @@ impl ::std::fmt::Debug for GtkEventController { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEventControllerFocus { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6757,6 +6920,7 @@ impl ::std::fmt::Debug for GtkEventControllerFocus { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEventControllerKey { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6770,6 +6934,7 @@ impl ::std::fmt::Debug for GtkEventControllerKey { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEventControllerLegacy { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6783,6 +6948,7 @@ impl ::std::fmt::Debug for GtkEventControllerLegacy { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEventControllerMotion { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6796,6 +6962,7 @@ impl ::std::fmt::Debug for GtkEventControllerMotion { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEventControllerScroll { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6809,6 +6976,7 @@ impl ::std::fmt::Debug for GtkEventControllerScroll { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEveryFilter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6822,6 +6990,7 @@ impl ::std::fmt::Debug for GtkEveryFilter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkExpander { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6834,6 +7003,7 @@ impl ::std::fmt::Debug for GtkExpander { } #[repr(C)] +#[allow(dead_code)] pub struct GtkExpression { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6847,6 +7017,7 @@ impl ::std::fmt::Debug for GtkExpression { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFileChooserDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6860,6 +7031,7 @@ impl ::std::fmt::Debug for GtkFileChooserDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFileChooserNative { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6873,6 +7045,7 @@ impl ::std::fmt::Debug for GtkFileChooserNative { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFileChooserWidget { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6886,6 +7059,7 @@ impl ::std::fmt::Debug for GtkFileChooserWidget { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFileDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6899,6 +7073,7 @@ impl ::std::fmt::Debug for GtkFileDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFileFilter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6912,6 +7087,7 @@ impl ::std::fmt::Debug for GtkFileFilter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFileLauncher { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6939,6 +7115,7 @@ impl ::std::fmt::Debug for GtkFilter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFilterListModel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6966,6 +7143,7 @@ impl ::std::fmt::Debug for GtkFixed { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFixedLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6979,6 +7157,7 @@ impl ::std::fmt::Debug for GtkFixedLayout { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFixedLayoutChild { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -6992,6 +7171,7 @@ impl ::std::fmt::Debug for GtkFixedLayoutChild { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFlattenListModel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7005,6 +7185,7 @@ impl ::std::fmt::Debug for GtkFlattenListModel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFlowBox { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7030,6 +7211,7 @@ impl ::std::fmt::Debug for GtkFlowBoxChild { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFontButton { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7043,6 +7225,7 @@ impl ::std::fmt::Debug for GtkFontButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFontChooserDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7056,6 +7239,7 @@ impl ::std::fmt::Debug for GtkFontChooserDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFontChooserWidget { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7069,6 +7253,7 @@ impl ::std::fmt::Debug for GtkFontChooserWidget { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFontDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7082,6 +7267,7 @@ impl ::std::fmt::Debug for GtkFontDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFontDialogButton { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7121,6 +7307,7 @@ impl ::std::fmt::Debug for GtkGLArea { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGesture { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7133,6 +7320,7 @@ impl ::std::fmt::Debug for GtkGesture { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGestureClick { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7146,6 +7334,7 @@ impl ::std::fmt::Debug for GtkGestureClick { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGestureDrag { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7159,6 +7348,7 @@ impl ::std::fmt::Debug for GtkGestureDrag { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGestureLongPress { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7172,6 +7362,7 @@ impl ::std::fmt::Debug for GtkGestureLongPress { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGesturePan { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7185,6 +7376,7 @@ impl ::std::fmt::Debug for GtkGesturePan { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGestureRotate { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7198,6 +7390,7 @@ impl ::std::fmt::Debug for GtkGestureRotate { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGestureSingle { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7211,6 +7404,7 @@ impl ::std::fmt::Debug for GtkGestureSingle { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGestureStylus { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7224,6 +7418,7 @@ impl ::std::fmt::Debug for GtkGestureStylus { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGestureSwipe { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7237,6 +7432,7 @@ impl ::std::fmt::Debug for GtkGestureSwipe { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGestureZoom { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7250,6 +7446,7 @@ impl ::std::fmt::Debug for GtkGestureZoom { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGraphicsOffload { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7275,6 +7472,7 @@ impl ::std::fmt::Debug for GtkGrid { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGridLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7288,6 +7486,7 @@ impl ::std::fmt::Debug for GtkGridLayout { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGridLayoutChild { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7301,6 +7500,7 @@ impl ::std::fmt::Debug for GtkGridLayoutChild { } #[repr(C)] +#[allow(dead_code)] pub struct GtkGridView { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7313,6 +7513,7 @@ impl ::std::fmt::Debug for GtkGridView { } #[repr(C)] +#[allow(dead_code)] pub struct GtkHeaderBar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7369,6 +7570,7 @@ impl ::std::fmt::Debug for GtkIMMulticontext { } #[repr(C)] +#[allow(dead_code)] pub struct GtkIconPaintable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7382,6 +7584,7 @@ impl ::std::fmt::Debug for GtkIconPaintable { } #[repr(C)] +#[allow(dead_code)] pub struct GtkIconTheme { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7394,6 +7597,7 @@ impl ::std::fmt::Debug for GtkIconTheme { } #[repr(C)] +#[allow(dead_code)] pub struct GtkIconView { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7406,6 +7610,7 @@ impl ::std::fmt::Debug for GtkIconView { } #[repr(C)] +#[allow(dead_code)] pub struct GtkImage { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7418,6 +7623,7 @@ impl ::std::fmt::Debug for GtkImage { } #[repr(C)] +#[allow(dead_code)] pub struct GtkInfoBar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7430,6 +7636,7 @@ impl ::std::fmt::Debug for GtkInfoBar { } #[repr(C)] +#[allow(dead_code)] pub struct GtkInscription { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7443,6 +7650,7 @@ impl ::std::fmt::Debug for GtkInscription { } #[repr(C)] +#[allow(dead_code)] pub struct GtkKeyvalTrigger { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7456,6 +7664,7 @@ impl ::std::fmt::Debug for GtkKeyvalTrigger { } #[repr(C)] +#[allow(dead_code)] pub struct GtkLabel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7496,6 +7705,7 @@ impl ::std::fmt::Debug for GtkLayoutManager { } #[repr(C)] +#[allow(dead_code)] pub struct GtkLevelBar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7508,6 +7718,7 @@ impl ::std::fmt::Debug for GtkLevelBar { } #[repr(C)] +#[allow(dead_code)] pub struct GtkLinkButton { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7521,6 +7732,7 @@ impl ::std::fmt::Debug for GtkLinkButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkListBase { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7533,6 +7745,7 @@ impl ::std::fmt::Debug for GtkListBase { } #[repr(C)] +#[allow(dead_code)] pub struct GtkListBox { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7559,6 +7772,7 @@ impl ::std::fmt::Debug for GtkListBoxRow { } #[repr(C)] +#[allow(dead_code)] pub struct GtkListHeader { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7572,6 +7786,7 @@ impl ::std::fmt::Debug for GtkListHeader { } #[repr(C)] +#[allow(dead_code)] pub struct GtkListItem { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7584,6 +7799,7 @@ impl ::std::fmt::Debug for GtkListItem { } #[repr(C)] +#[allow(dead_code)] pub struct GtkListItemFactory { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7612,6 +7828,7 @@ impl ::std::fmt::Debug for GtkListStore { } #[repr(C)] +#[allow(dead_code)] pub struct GtkListView { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7624,6 +7841,7 @@ impl ::std::fmt::Debug for GtkListView { } #[repr(C)] +#[allow(dead_code)] pub struct GtkLockButton { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7637,6 +7855,7 @@ impl ::std::fmt::Debug for GtkLockButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkMapListModel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7650,6 +7869,7 @@ impl ::std::fmt::Debug for GtkMapListModel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkMediaControls { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7691,6 +7911,7 @@ impl ::std::fmt::Debug for GtkMediaStream { } #[repr(C)] +#[allow(dead_code)] pub struct GtkMenuButton { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7718,6 +7939,7 @@ impl ::std::fmt::Debug for GtkMessageDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkMnemonicAction { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7731,6 +7953,7 @@ impl ::std::fmt::Debug for GtkMnemonicAction { } #[repr(C)] +#[allow(dead_code)] pub struct GtkMnemonicTrigger { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7760,6 +7983,7 @@ impl ::std::fmt::Debug for GtkMountOperation { } #[repr(C)] +#[allow(dead_code)] pub struct GtkMultiFilter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7773,6 +7997,7 @@ impl ::std::fmt::Debug for GtkMultiFilter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkMultiSelection { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7786,6 +8011,7 @@ impl ::std::fmt::Debug for GtkMultiSelection { } #[repr(C)] +#[allow(dead_code)] pub struct GtkMultiSorter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7799,6 +8025,7 @@ impl ::std::fmt::Debug for GtkMultiSorter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkNamedAction { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7826,6 +8053,7 @@ impl ::std::fmt::Debug for GtkNativeDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkNeverTrigger { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7839,6 +8067,7 @@ impl ::std::fmt::Debug for GtkNeverTrigger { } #[repr(C)] +#[allow(dead_code)] pub struct GtkNoSelection { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7852,6 +8081,7 @@ impl ::std::fmt::Debug for GtkNoSelection { } #[repr(C)] +#[allow(dead_code)] pub struct GtkNotebook { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7864,6 +8094,7 @@ impl ::std::fmt::Debug for GtkNotebook { } #[repr(C)] +#[allow(dead_code)] pub struct GtkNotebookPage { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7877,6 +8108,7 @@ impl ::std::fmt::Debug for GtkNotebookPage { } #[repr(C)] +#[allow(dead_code)] pub struct GtkNothingAction { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7890,6 +8122,7 @@ impl ::std::fmt::Debug for GtkNothingAction { } #[repr(C)] +#[allow(dead_code)] pub struct GtkNumericSorter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7903,6 +8136,7 @@ impl ::std::fmt::Debug for GtkNumericSorter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkObjectExpression { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7916,6 +8150,7 @@ impl ::std::fmt::Debug for GtkObjectExpression { } #[repr(C)] +#[allow(dead_code)] pub struct GtkOverlay { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7928,6 +8163,7 @@ impl ::std::fmt::Debug for GtkOverlay { } #[repr(C)] +#[allow(dead_code)] pub struct GtkOverlayLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7941,6 +8177,7 @@ impl ::std::fmt::Debug for GtkOverlayLayout { } #[repr(C)] +#[allow(dead_code)] pub struct GtkOverlayLayoutChild { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7954,6 +8191,7 @@ impl ::std::fmt::Debug for GtkOverlayLayoutChild { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPadController { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7967,6 +8205,7 @@ impl ::std::fmt::Debug for GtkPadController { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPageSetup { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7979,6 +8218,7 @@ impl ::std::fmt::Debug for GtkPageSetup { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPageSetupUnixDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -7992,6 +8232,7 @@ impl ::std::fmt::Debug for GtkPageSetupUnixDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPaned { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8017,6 +8258,7 @@ impl ::std::fmt::Debug for GtkParamSpecExpression { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPasswordEntry { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8030,6 +8272,7 @@ impl ::std::fmt::Debug for GtkPasswordEntry { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPasswordEntryBuffer { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8043,6 +8286,7 @@ impl ::std::fmt::Debug for GtkPasswordEntryBuffer { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPicture { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8069,6 +8313,7 @@ impl ::std::fmt::Debug for GtkPopover { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPopoverMenu { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8082,6 +8327,7 @@ impl ::std::fmt::Debug for GtkPopoverMenu { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPopoverMenuBar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8095,6 +8341,7 @@ impl ::std::fmt::Debug for GtkPopoverMenuBar { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPrintContext { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8108,6 +8355,7 @@ impl ::std::fmt::Debug for GtkPrintContext { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPrintDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8121,6 +8369,7 @@ impl ::std::fmt::Debug for GtkPrintDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPrintJob { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8148,6 +8397,7 @@ impl ::std::fmt::Debug for GtkPrintOperation { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPrintSettings { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8161,6 +8411,7 @@ impl ::std::fmt::Debug for GtkPrintSettings { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPrintUnixDialog { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8174,6 +8425,7 @@ impl ::std::fmt::Debug for GtkPrintUnixDialog { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPrinter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8186,6 +8438,7 @@ impl ::std::fmt::Debug for GtkPrinter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkProgressBar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8199,6 +8452,7 @@ impl ::std::fmt::Debug for GtkProgressBar { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPropertyExpression { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8240,6 +8494,7 @@ impl ::std::fmt::Debug for GtkRecentManager { } #[repr(C)] +#[allow(dead_code)] pub struct GtkRevealer { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8280,6 +8535,7 @@ impl ::std::fmt::Debug for GtkScaleButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkScrollbar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8292,6 +8548,7 @@ impl ::std::fmt::Debug for GtkScrollbar { } #[repr(C)] +#[allow(dead_code)] pub struct GtkScrolledWindow { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8305,6 +8562,7 @@ impl ::std::fmt::Debug for GtkScrolledWindow { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSearchBar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8317,6 +8575,7 @@ impl ::std::fmt::Debug for GtkSearchBar { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSearchEntry { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8330,6 +8589,7 @@ impl ::std::fmt::Debug for GtkSearchEntry { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSelectionFilterModel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8343,6 +8603,7 @@ impl ::std::fmt::Debug for GtkSelectionFilterModel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSeparator { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8355,6 +8616,7 @@ impl ::std::fmt::Debug for GtkSeparator { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSettings { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8367,6 +8629,7 @@ impl ::std::fmt::Debug for GtkSettings { } #[repr(C)] +#[allow(dead_code)] pub struct GtkShortcut { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8379,6 +8642,7 @@ impl ::std::fmt::Debug for GtkShortcut { } #[repr(C)] +#[allow(dead_code)] pub struct GtkShortcutAction { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8392,6 +8656,7 @@ impl ::std::fmt::Debug for GtkShortcutAction { } #[repr(C)] +#[allow(dead_code)] pub struct GtkShortcutController { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8405,6 +8670,7 @@ impl ::std::fmt::Debug for GtkShortcutController { } #[repr(C)] +#[allow(dead_code)] pub struct GtkShortcutLabel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8418,6 +8684,7 @@ impl ::std::fmt::Debug for GtkShortcutLabel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkShortcutTrigger { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8431,6 +8698,7 @@ impl ::std::fmt::Debug for GtkShortcutTrigger { } #[repr(C)] +#[allow(dead_code)] pub struct GtkShortcutsGroup { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8444,6 +8712,7 @@ impl ::std::fmt::Debug for GtkShortcutsGroup { } #[repr(C)] +#[allow(dead_code)] pub struct GtkShortcutsSection { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8457,6 +8726,7 @@ impl ::std::fmt::Debug for GtkShortcutsSection { } #[repr(C)] +#[allow(dead_code)] pub struct GtkShortcutsShortcut { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8470,6 +8740,7 @@ impl ::std::fmt::Debug for GtkShortcutsShortcut { } #[repr(C)] +#[allow(dead_code)] pub struct GtkShortcutsWindow { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8483,6 +8754,7 @@ impl ::std::fmt::Debug for GtkShortcutsWindow { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSignalAction { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8496,6 +8768,7 @@ impl ::std::fmt::Debug for GtkSignalAction { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSignalListItemFactory { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8509,6 +8782,7 @@ impl ::std::fmt::Debug for GtkSignalListItemFactory { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSingleSelection { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8536,6 +8810,7 @@ impl ::std::fmt::Debug for GtkSizeGroup { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSliceListModel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8549,6 +8824,7 @@ impl ::std::fmt::Debug for GtkSliceListModel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSnapshot { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8561,6 +8837,7 @@ impl ::std::fmt::Debug for GtkSnapshot { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSortListModel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8588,6 +8865,7 @@ impl ::std::fmt::Debug for GtkSorter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSpinButton { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8601,6 +8879,7 @@ impl ::std::fmt::Debug for GtkSpinButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSpinner { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8613,6 +8892,7 @@ impl ::std::fmt::Debug for GtkSpinner { } #[repr(C)] +#[allow(dead_code)] pub struct GtkStack { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8625,6 +8905,7 @@ impl ::std::fmt::Debug for GtkStack { } #[repr(C)] +#[allow(dead_code)] pub struct GtkStackPage { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8637,6 +8918,7 @@ impl ::std::fmt::Debug for GtkStackPage { } #[repr(C)] +#[allow(dead_code)] pub struct GtkStackSidebar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8650,6 +8932,7 @@ impl ::std::fmt::Debug for GtkStackSidebar { } #[repr(C)] +#[allow(dead_code)] pub struct GtkStackSwitcher { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8663,6 +8946,7 @@ impl ::std::fmt::Debug for GtkStackSwitcher { } #[repr(C)] +#[allow(dead_code)] pub struct GtkStatusbar { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8675,6 +8959,7 @@ impl ::std::fmt::Debug for GtkStatusbar { } #[repr(C)] +#[allow(dead_code)] pub struct GtkStringFilter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8688,6 +8973,7 @@ impl ::std::fmt::Debug for GtkStringFilter { } #[repr(C)] +#[allow(dead_code)] pub struct GtkStringList { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8701,6 +8987,7 @@ impl ::std::fmt::Debug for GtkStringList { } #[repr(C)] +#[allow(dead_code)] pub struct GtkStringObject { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8714,6 +9001,7 @@ impl ::std::fmt::Debug for GtkStringObject { } #[repr(C)] +#[allow(dead_code)] pub struct GtkStringSorter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8741,6 +9029,7 @@ impl ::std::fmt::Debug for GtkStyleContext { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSwitch { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8827,6 +9116,7 @@ impl ::std::fmt::Debug for GtkTextTag { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTextTagTable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8868,6 +9158,7 @@ impl ::std::fmt::Debug for GtkToggleButton { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTooltip { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8880,6 +9171,7 @@ impl ::std::fmt::Debug for GtkTooltip { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeExpander { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8893,6 +9185,7 @@ impl ::std::fmt::Debug for GtkTreeExpander { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeListModel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8906,6 +9199,7 @@ impl ::std::fmt::Debug for GtkTreeListModel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeListRow { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8919,6 +9213,7 @@ impl ::std::fmt::Debug for GtkTreeListRow { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeListRowSorter { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -8962,6 +9257,7 @@ impl ::std::fmt::Debug for GtkTreeModelSort { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeSelection { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9005,6 +9301,7 @@ impl ::std::fmt::Debug for GtkTreeView { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeViewColumn { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9018,6 +9315,7 @@ impl ::std::fmt::Debug for GtkTreeViewColumn { } #[repr(C)] +#[allow(dead_code)] pub struct GtkUriLauncher { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9031,6 +9329,7 @@ impl ::std::fmt::Debug for GtkUriLauncher { } #[repr(C)] +#[allow(dead_code)] pub struct GtkVideo { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9043,6 +9342,7 @@ impl ::std::fmt::Debug for GtkVideo { } #[repr(C)] +#[allow(dead_code)] pub struct GtkViewport { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9084,6 +9384,7 @@ impl ::std::fmt::Debug for GtkWidget { } #[repr(C)] +#[allow(dead_code)] pub struct GtkWidgetPaintable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9111,6 +9412,7 @@ impl ::std::fmt::Debug for GtkWindow { } #[repr(C)] +#[allow(dead_code)] pub struct GtkWindowControls { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9140,6 +9442,7 @@ impl ::std::fmt::Debug for GtkWindowGroup { } #[repr(C)] +#[allow(dead_code)] pub struct GtkWindowHandle { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9154,6 +9457,7 @@ impl ::std::fmt::Debug for GtkWindowHandle { // Interfaces #[repr(C)] +#[allow(dead_code)] pub struct GtkAccessible { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9166,6 +9470,7 @@ impl ::std::fmt::Debug for GtkAccessible { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAccessibleRange { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9178,6 +9483,7 @@ impl ::std::fmt::Debug for GtkAccessibleRange { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAccessibleText { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9190,6 +9496,7 @@ impl ::std::fmt::Debug for GtkAccessibleText { } #[repr(C)] +#[allow(dead_code)] pub struct GtkActionable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9202,6 +9509,7 @@ impl ::std::fmt::Debug for GtkActionable { } #[repr(C)] +#[allow(dead_code)] pub struct GtkAppChooser { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9214,6 +9522,7 @@ impl ::std::fmt::Debug for GtkAppChooser { } #[repr(C)] +#[allow(dead_code)] pub struct GtkBuildable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9226,6 +9535,7 @@ impl ::std::fmt::Debug for GtkBuildable { } #[repr(C)] +#[allow(dead_code)] pub struct GtkBuilderScope { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9238,6 +9548,7 @@ impl ::std::fmt::Debug for GtkBuilderScope { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellEditable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9250,6 +9561,7 @@ impl ::std::fmt::Debug for GtkCellEditable { } #[repr(C)] +#[allow(dead_code)] pub struct GtkCellLayout { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9262,6 +9574,7 @@ impl ::std::fmt::Debug for GtkCellLayout { } #[repr(C)] +#[allow(dead_code)] pub struct GtkColorChooser { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9274,6 +9587,7 @@ impl ::std::fmt::Debug for GtkColorChooser { } #[repr(C)] +#[allow(dead_code)] pub struct GtkConstraintTarget { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9286,6 +9600,7 @@ impl ::std::fmt::Debug for GtkConstraintTarget { } #[repr(C)] +#[allow(dead_code)] pub struct GtkEditable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9298,6 +9613,7 @@ impl ::std::fmt::Debug for GtkEditable { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFileChooser { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9310,6 +9626,7 @@ impl ::std::fmt::Debug for GtkFileChooser { } #[repr(C)] +#[allow(dead_code)] pub struct GtkFontChooser { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9322,6 +9639,7 @@ impl ::std::fmt::Debug for GtkFontChooser { } #[repr(C)] +#[allow(dead_code)] pub struct GtkNative { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9334,6 +9652,7 @@ impl ::std::fmt::Debug for GtkNative { } #[repr(C)] +#[allow(dead_code)] pub struct GtkOrientable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9346,6 +9665,7 @@ impl ::std::fmt::Debug for GtkOrientable { } #[repr(C)] +#[allow(dead_code)] pub struct GtkPrintOperationPreview { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9358,6 +9678,7 @@ impl ::std::fmt::Debug for GtkPrintOperationPreview { } #[repr(C)] +#[allow(dead_code)] pub struct GtkRoot { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9370,6 +9691,7 @@ impl ::std::fmt::Debug for GtkRoot { } #[repr(C)] +#[allow(dead_code)] pub struct GtkScrollable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9382,6 +9704,7 @@ impl ::std::fmt::Debug for GtkScrollable { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSectionModel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9394,6 +9717,7 @@ impl ::std::fmt::Debug for GtkSectionModel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSelectionModel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9406,6 +9730,7 @@ impl ::std::fmt::Debug for GtkSelectionModel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkShortcutManager { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9418,6 +9743,7 @@ impl ::std::fmt::Debug for GtkShortcutManager { } #[repr(C)] +#[allow(dead_code)] pub struct GtkStyleProvider { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9430,6 +9756,7 @@ impl ::std::fmt::Debug for GtkStyleProvider { } #[repr(C)] +#[allow(dead_code)] pub struct GtkSymbolicPaintable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9442,6 +9769,7 @@ impl ::std::fmt::Debug for GtkSymbolicPaintable { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeDragDest { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9454,6 +9782,7 @@ impl ::std::fmt::Debug for GtkTreeDragDest { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeDragSource { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9466,6 +9795,7 @@ impl ::std::fmt::Debug for GtkTreeDragSource { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeModel { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9478,6 +9808,7 @@ impl ::std::fmt::Debug for GtkTreeModel { } #[repr(C)] +#[allow(dead_code)] pub struct GtkTreeSortable { _data: [u8; 0], _marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>, @@ -9489,7 +9820,6 @@ impl ::std::fmt::Debug for GtkTreeSortable { } } -#[link(name = "gtk-4")] extern "C" { //========================================================================= diff --git a/gtk4/sys/versions.txt b/gtk4/sys/versions.txt index 31b61cd214a0..79ce045ac9cd 100644 --- a/gtk4/sys/versions.txt +++ b/gtk4/sys/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc) +Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781) from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) From 97975187fafbba13787071dde7d4503fc577804d Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Thu, 26 Sep 2024 12:04:34 +0300 Subject: [PATCH 09/10] Update Cargo.lock --- Cargo.lock | 317 ++++++++++++++++++++++------------------------------- 1 file changed, 133 insertions(+), 184 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 7e171d801694..1c09d6a14818 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -4,18 +4,18 @@ version = 3 [[package]] name = "addr2line" -version = "0.22.0" +version = "0.24.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6e4503c46a5c0c7844e948c9a4d6acd9f50cccb4de1c48eb9e291ea17470c678" +checksum = "f5fb1d8e4442bd405fdfd1dacb42792696b0cf9cb15882e5d097b742a676d375" dependencies = [ "gimli", ] [[package]] -name = "adler" -version = "1.0.2" +name = "adler2" +version = "2.0.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f26201604c87b1e01bd3d98f8d5d9a8fcbb815e8cedb41ffccbeb4bf593a35fe" +checksum = "512761e0bb2578dd7380c6baaa0f4ce03e84f95e960231d1dec8bf4d7d6e2627" [[package]] name = "android-tzdata" @@ -52,17 +52,17 @@ checksum = "0c4b4d0bd25bd0b74681c0ad21497610ce1b7c91b1022cd21c80c6fbdd9476b0" [[package]] name = "backtrace" -version = "0.3.73" +version = "0.3.74" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5cc23269a4f8976d0a4d2e7109211a419fe30e8d88d677cd60b6bc79c5732e0a" +checksum = "8d82cb332cdfaed17ae235a638438ac4d4839913cc2af585c3c6746e8f8bee1a" dependencies = [ "addr2line", - "cc", "cfg-if", "libc", "miniz_oxide", "object", "rustc-demangle", + "windows-targets", ] [[package]] @@ -109,9 +109,9 @@ checksum = "79296716171880943b8470b5f8d03aa55eb2e645a4874bdbb28adb49162e012c" [[package]] name = "bytemuck" -version = "1.17.0" +version = "1.18.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6fd4c6dcc3b0aea2f5c0b4b82c2b15fe39ddbc76041a310848f4706edf76bb31" +checksum = "94bbb0ad554ad961ddc5da507a12a29b14e4ae5bda06b19f575a3e6079d2e2ae" [[package]] name = "byteorder" @@ -127,14 +127,14 @@ checksum = "8f1fe948ff07f4bd06c30984e69f5b4899c516a3ef74f34df92a2df2ab535495" [[package]] name = "bytes" -version = "1.7.1" +version = "1.7.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8318a53db07bb3f8dca91a600466bdb3f2eaadeedfdbcf02e1accbad9271ba50" +checksum = "428d9aa8fbc0670b7b8d6030a7fadd0f86151cae55e4dbbece15f3780a3dfaf3" [[package]] name = "cairo-rs" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "bitflags 2.6.0", "cairo-sys-rs", @@ -144,8 +144,8 @@ dependencies = [ [[package]] name = "cairo-sys-rs" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "glib-sys", "libc", @@ -154,18 +154,18 @@ dependencies = [ [[package]] name = "cc" -version = "1.1.15" +version = "1.1.21" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "57b6a275aa2903740dc87da01c62040406b8812552e97129a63ea8850a17c6e6" +checksum = "07b1695e2c7e8fc85310cde85aeaab7e3097f593c91d209d3f9df76c928100f0" dependencies = [ "shlex", ] [[package]] name = "cfg-expr" -version = "0.16.0" +version = "0.17.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "345c78335be0624ed29012dc10c49102196c6882c12dde65d9f35b02da2aada8" +checksum = "d0890061c4d3223e7267f3bad2ec40b997d64faac1c2815a4a9d95018e2b9e9c" dependencies = [ "smallvec", "target-lexicon", @@ -399,8 +399,8 @@ dependencies = [ [[package]] name = "gdk-pixbuf" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "gdk-pixbuf-sys", "gio", @@ -410,8 +410,8 @@ dependencies = [ [[package]] name = "gdk-pixbuf-sys" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "gio-sys", "glib-sys", @@ -553,14 +553,14 @@ dependencies = [ [[package]] name = "gimli" -version = "0.29.0" +version = "0.31.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" +checksum = "32085ea23f3234fc7846555e85283ba4de91e21016dc0455a16286d87a292d64" [[package]] name = "gio" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "futures-channel", "futures-core", @@ -575,8 +575,8 @@ dependencies = [ [[package]] name = "gio-sys" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "glib-sys", "gobject-sys", @@ -619,13 +619,13 @@ checksum = "1a95dfc23a2b4a9a2f5ab41d194f8bfda3cabec42af4e39f08c339eb2a0c124d" dependencies = [ "khronos_api 3.1.0", "log", - "xml-rs 0.8.21", + "xml-rs 0.8.22", ] [[package]] name = "glib" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "bitflags 2.6.0", "futures-channel", @@ -644,8 +644,8 @@ dependencies = [ [[package]] name = "glib-macros" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "heck", "proc-macro-crate", @@ -656,8 +656,8 @@ dependencies = [ [[package]] name = "glib-sys" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "libc", "system-deps", @@ -696,8 +696,8 @@ dependencies = [ [[package]] name = "gobject-sys" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "glib-sys", "libc", @@ -706,8 +706,8 @@ dependencies = [ [[package]] name = "graphene-rs" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "glib", "graphene-sys", @@ -716,8 +716,8 @@ dependencies = [ [[package]] name = "graphene-sys" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "glib-sys", "libc", @@ -784,7 +784,7 @@ dependencies = [ "gtk4", "proc-macro-crate", "proc-macro2", - "quick-xml 0.36.1", + "quick-xml", "quote", "syn", "trybuild2", @@ -907,9 +907,9 @@ dependencies = [ [[package]] name = "hyper-rustls" -version = "0.27.2" +version = "0.27.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "5ee4be2c948921a1a5320b629c4193916ed787a7f7f293fd3f7f5a6c9de74155" +checksum = "08afdbb5c31130e3034af566421053ab03787c640246a446327f550d11bcb333" dependencies = [ "futures-util", "http", @@ -925,9 +925,9 @@ dependencies = [ [[package]] name = "hyper-util" -version = "0.1.7" +version = "0.1.9" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "cde7055719c54e36e95e8719f95883f22072a48ede39db7fc17a4e1d5281e9b9" +checksum = "41296eb09f183ac68eec06e03cdbea2e759633d4067b2f6552fc2e009bcad08b" dependencies = [ "bytes", "futures-channel", @@ -938,16 +938,15 @@ dependencies = [ "pin-project-lite", "socket2", "tokio", - "tower", "tower-service", "tracing", ] [[package]] name = "iana-time-zone" -version = "0.1.60" +version = "0.1.61" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "e7ffbb5a1b541ea2561f8c41c087286cc091e21e556a4f09a8f6cbf17b69b141" +checksum = "235e081f3925a06703c2d0117ea8b91f042756fd6e7a6e5d901e8ca1a996b220" dependencies = [ "android_system_properties", "core-foundation-sys", @@ -1011,9 +1010,9 @@ checksum = "44feda355f4159a7c757171a77de25daf6411e217b4cabd03bd6650690468126" [[package]] name = "indexmap" -version = "2.4.0" +version = "2.5.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "93ead53efc7ea8ed3cfb0c79fc8023fbb782a5432b52830b6518941cebe6505c" +checksum = "68b900aa2f7301e21c36462b170ee99994de34dff39a4a6a528e80e7376d07e5" dependencies = [ "equivalent", "hashbrown", @@ -1021,9 +1020,9 @@ dependencies = [ [[package]] name = "ipnet" -version = "2.9.0" +version = "2.10.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8f518f335dce6725a761382244631d86cf0ccb2863413590b31338feb467f9c3" +checksum = "187674a687eed5fe42285b40c6291f9a01517d415fad1c3cbc6a9f778af7fcd4" [[package]] name = "itoa" @@ -1069,9 +1068,9 @@ checksum = "bbd2bcb4c963f2ddae06a2efc7e9f3591312473c50c6685e1f298068316e66fe" [[package]] name = "libc" -version = "0.2.158" +version = "0.2.159" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d8adc4bb1803a324070e64a98ae98f38934d91957a99cfb3a43dcbc01bc56439" +checksum = "561d97a539a36e26a9a5fad1ea11a3039a67714694aaa379433e580854bc3dc5" [[package]] name = "libloading" @@ -1134,11 +1133,11 @@ checksum = "6877bb514081ee2a7ff5ef9de3281f14a4dd4bceac4c09388074a6b5df8a139a" [[package]] name = "miniz_oxide" -version = "0.7.4" +version = "0.8.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8a240ddb74feaf34a79a7add65a741f3167852fba007066dcac1ca548d89c08" +checksum = "e2d80299ef12ff69b16a84bb182e3b9df68b5a91574d3d4fa6e41b65deec4df1" dependencies = [ - "adler", + "adler2", ] [[package]] @@ -1164,9 +1163,9 @@ dependencies = [ [[package]] name = "object" -version = "0.36.3" +version = "0.36.4" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "27b64972346851a39438c60b341ebc01bba47464ae329e55cf343eb93964efd9" +checksum = "084f1a5821ac4c651660a94a7153d27ac9d8a53736203f58b31945ded098070a" dependencies = [ "memchr", ] @@ -1179,8 +1178,8 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "pango" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "gio", "glib", @@ -1190,8 +1189,8 @@ dependencies = [ [[package]] name = "pango-sys" -version = "0.20.2" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#7467a89bed3309bb398309ed26c4044ce3a6b2f5" +version = "0.20.4" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=0.20#3d32a011adc7c1642d3396ec526d2b2a5af1ca1d" dependencies = [ "glib-sys", "gobject-sys", @@ -1201,9 +1200,9 @@ dependencies = [ [[package]] name = "parking" -version = "2.2.0" +version = "2.2.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bb813b8af86854136c6922af0598d719255ecb2179515e6e7730d468f05c9cae" +checksum = "f38d5652c16fde515bb1ecef450ab0f6a219d619a7274976324d5e377f7dceba" [[package]] name = "parking_lot" @@ -1234,26 +1233,6 @@ version = "2.3.1" source = "registry+https://github.com/rust-lang/crates.io-index" checksum = "e3148f5046208a5d56bcfc03053e3ca6334e51da8dfb19b6cdc8b306fae3283e" -[[package]] -name = "pin-project" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b6bf43b791c5b9e34c3d182969b4abb522f9343702850a2e57f460d00d09b4b3" -dependencies = [ - "pin-project-internal", -] - -[[package]] -name = "pin-project-internal" -version = "1.1.5" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2f38a4412a78282e09a2cf38d195ea5420d15ba0602cb375210efbc877243965" -dependencies = [ - "proc-macro2", - "quote", - "syn", -] - [[package]] name = "pin-project-lite" version = "0.2.14" @@ -1268,9 +1247,9 @@ checksum = "8b870d8c151b6f2fb93e84a13146138f05d02ed11c7e7c54f8826aaaf7c9f184" [[package]] name = "pkg-config" -version = "0.3.30" +version = "0.3.31" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d231b230927b5e4ad203db57bbcbee2802f6bce620b1e4a9024a07d94e2907ec" +checksum = "953ec861398dccce10c670dfeaf3ec4911ca479e9c02154b3a215178c5f566f2" [[package]] name = "ppv-lite86" @@ -1301,27 +1280,18 @@ dependencies = [ [[package]] name = "quick-xml" -version = "0.34.0" +version = "0.36.2" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "6f24d770aeca0eacb81ac29dfbc55ebcc09312fdd1f8bbecdc7e4a84e000e3b4" -dependencies = [ - "memchr", -] - -[[package]] -name = "quick-xml" -version = "0.36.1" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "96a05e2e8efddfa51a84ca47cec303fac86c8541b686d37cac5efc0e094417bc" +checksum = "f7649a7b4df05aed9ea7ec6f628c67c9953a43869b8bc50929569b2999d443fe" dependencies = [ "memchr", ] [[package]] name = "quinn" -version = "0.11.3" +version = "0.11.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b22d8e7369034b9a7132bc2008cac12f2013c8132b45e0554e6e20e2617f2156" +checksum = "8c7c5fdde3cdae7203427dc4f0a68fe0ed09833edc525a03456b153b79828684" dependencies = [ "bytes", "pin-project-lite", @@ -1337,9 +1307,9 @@ dependencies = [ [[package]] name = "quinn-proto" -version = "0.11.6" +version = "0.11.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ba92fb39ec7ad06ca2582c0ca834dfeadcaf06ddfc8e635c80aa7e1c05315fdd" +checksum = "fadfaed2cd7f389d0161bb73eeb07b7b78f8691047a6f3e73caaeae55310a4a6" dependencies = [ "bytes", "rand", @@ -1354,15 +1324,15 @@ dependencies = [ [[package]] name = "quinn-udp" -version = "0.5.4" +version = "0.5.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8bffec3605b73c6f1754535084a85229fa8a30f86014e6c81aeec4abb68b0285" +checksum = "4fe68c2e9e1a1234e218683dbdf9f9dfcb094113c5ac2b938dfcb9bab4c4140b" dependencies = [ "libc", "once_cell", "socket2", "tracing", - "windows-sys 0.52.0", + "windows-sys 0.59.0", ] [[package]] @@ -1415,9 +1385,9 @@ dependencies = [ [[package]] name = "redox_syscall" -version = "0.5.3" +version = "0.5.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "2a908a6e00f1fdd0dfd9c0eb08ce85126f6d8bbda50017e74bc4a4b7d4a926a4" +checksum = "355ae415ccd3a04315d3f8246e86d67689ea74d88d915576e1589a351062a13b" dependencies = [ "bitflags 2.6.0", ] @@ -1466,9 +1436,9 @@ dependencies = [ [[package]] name = "rgb" -version = "0.8.48" +version = "0.8.50" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "0f86ae463694029097b846d8f99fd5536740602ae00022c0c50c5600720b2f71" +checksum = "57397d16646700483b67d2dd6511d79318f9d057fdbd21a4066aeac8b41d310a" dependencies = [ "bytemuck", ] @@ -1502,18 +1472,18 @@ checksum = "583034fd73374156e66797ed8e5b0d5690409c9226b22d87cb7f19821c05d152" [[package]] name = "rustc_version" -version = "0.4.0" +version = "0.4.1" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bfa0f585226d2e68097d4f95d113b15b83a82e819ab25717ec0590d9584ef366" +checksum = "cfcb3a22ef46e85b45de6ee7e79d063319ebb6594faafcf1c225ea92ab6e9b92" dependencies = [ "semver", ] [[package]] name = "rustix" -version = "0.38.34" +version = "0.38.37" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "70dc5ec042f7a43c4a73241207cecc9873a06d45debb38b329f8541d85c2730f" +checksum = "8acb788b847c24f28525660c4d7758620a7210875711f79e7f663cc152726811" dependencies = [ "bitflags 2.6.0", "errno", @@ -1524,9 +1494,9 @@ dependencies = [ [[package]] name = "rustls" -version = "0.23.12" +version = "0.23.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c58f8c84392efc0a126acce10fa59ff7b3d2ac06ab451a33f2741989b806b044" +checksum = "f2dabaac7466917e566adb06783a81ca48944c6898a1b08b9374106dd671f4c8" dependencies = [ "once_cell", "ring", @@ -1554,9 +1524,9 @@ checksum = "fc0a2ce646f8655401bb81e7927b812614bd5d91dbc968696be50603510fcaf0" [[package]] name = "rustls-webpki" -version = "0.102.6" +version = "0.102.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8e6b52d4fda176fd835fdc55a835d4a89b8499cad995885a21149d5ad62f852e" +checksum = "64ca1bc8749bd4cf37b5ce386cc146580777b4e8572c7b97baf22c83f444bee9" dependencies = [ "ring", "rustls-pki-types", @@ -1605,18 +1575,18 @@ checksum = "61697e0a1c7e512e84a621326239844a24d8207b4669b41bc18b32ea5cbf988b" [[package]] name = "serde" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "99fce0ffe7310761ca6bf9faf5115afbc19688edd00171d81b1bb1b116c63e09" +checksum = "c8e3592472072e6e22e0a54d5904d9febf8508f65fb8552499a1abc7d1078c3a" dependencies = [ "serde_derive", ] [[package]] name = "serde_derive" -version = "1.0.209" +version = "1.0.210" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a5831b979fd7b5439637af1752d535ff49f4860c0f341d1baeb6faf0f4242170" +checksum = "243902eda00fad750862fc144cea25caca5e20d615af0a81bee94ca738f1df1f" dependencies = [ "proc-macro2", "quote", @@ -1625,9 +1595,9 @@ dependencies = [ [[package]] name = "serde_json" -version = "1.0.127" +version = "1.0.128" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "8043c06d9f82bd7271361ed64f415fe5e12a77fdb52e573e7f06a516dea329ad" +checksum = "6ff5456707a1de34e7e37f2a6fd3d3f808c318259cbd01ab6377795054b483d8" dependencies = [ "itoa", "memchr", @@ -1637,9 +1607,9 @@ dependencies = [ [[package]] name = "serde_spanned" -version = "0.6.7" +version = "0.6.8" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "eb5b1b31579f3811bf615c144393417496f152e12ac8b7663bf664f4a815306d" +checksum = "87607cb1398ed59d48732e575a4c28a7a8ebf2454b964fe3f224f2afc07909e1" dependencies = [ "serde", ] @@ -1745,9 +1715,9 @@ checksum = "13c2bddecc57b384dee18652358fb23172facb8a2c51ccc10d74c157bdea3292" [[package]] name = "syn" -version = "2.0.76" +version = "2.0.77" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "578e081a14e0cefc3279b0472138c513f37b41a08d5a3cca9b6e4e8ceb6cd525" +checksum = "9f35bcdf61fd8e7be6caf75f429fdca8beb3ed76584befb503b1569faee373ed" dependencies = [ "proc-macro2", "quote", @@ -1765,9 +1735,9 @@ dependencies = [ [[package]] name = "system-deps" -version = "7.0.2" +version = "7.0.3" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "070a0a5e7da2d24be457809c4b3baa57a835fd2829ad8b86f9a049052fe71031" +checksum = "66d23aaf9f331227789a99e8de4c91bf46703add012bdfd45fdecdfb2975a005" dependencies = [ "cfg-expr", "heck", @@ -1806,18 +1776,18 @@ dependencies = [ [[package]] name = "thiserror" -version = "1.0.63" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "c0342370b38b6a11b6cc11d6a805569958d54cfa061a29969c3b5ce2ea405724" +checksum = "d50af8abc119fb8bb6dbabcfa89656f46f84aa0ac7688088608076ad2b459a84" dependencies = [ "thiserror-impl", ] [[package]] name = "thiserror-impl" -version = "1.0.63" +version = "1.0.64" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a4558b58466b9ad7ca0f102865eccc95938dca1a74a856f2b57b6629050da261" +checksum = "08904e7672f5eb876eaaf87e0ce17857500934f4981c4a0ab2b4aa98baac7fc3" dependencies = [ "proc-macro2", "quote", @@ -1841,9 +1811,9 @@ checksum = "1f3ccbac311fea05f86f61904b462b55fb3df8837a366dfc601a0161d0532f20" [[package]] name = "tokio" -version = "1.39.3" +version = "1.40.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "9babc99b9923bfa4804bd74722ff02c0381021eafa4db9949217e3be8e84fff5" +checksum = "e2b070231665d27ad9ec9b8df639893f46727666c6767db40317fbe920a5d998" dependencies = [ "backtrace", "bytes", @@ -1902,9 +1872,9 @@ dependencies = [ [[package]] name = "toml_edit" -version = "0.22.20" +version = "0.22.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "583c44c02ad26b0c3f3066fe629275e50627026c51ac2e595cca4c230ce1ce1d" +checksum = "4ae48d6208a266e853d946088ed816055e556cc6028c5e8e2b84d9fa5dd7c7f5" dependencies = [ "indexmap", "serde", @@ -1913,27 +1883,6 @@ dependencies = [ "winnow", ] -[[package]] -name = "tower" -version = "0.4.13" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "b8fa9be0de6cf49e536ce1851f987bd21a43b771b09473c3549a6c853db37c1c" -dependencies = [ - "futures-core", - "futures-util", - "pin-project", - "pin-project-lite", - "tokio", - "tower-layer", - "tower-service", -] - -[[package]] -name = "tower-layer" -version = "0.3.3" -source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "121c2a6cda46980bb0fcd1647ffaf6cd3fc79a013de288782836f6df9c48780e" - [[package]] name = "tower-service" version = "0.3.3" @@ -2012,15 +1961,15 @@ checksum = "1df77b101bcc4ea3d78dafc5ad7e4f58ceffe0b2b16bf446aeb50b6cb4157656" [[package]] name = "unicode-ident" -version = "1.0.12" +version = "1.0.13" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "3354b9ac3fae1ff6755cb6db53683adb661634f67557942dea4facebec0fee4b" +checksum = "e91b56cd4cadaeb79bbf1a5645f6b4f8dc5bde8834ad5894a8db35fda9efa1fe" [[package]] name = "unicode-normalization" -version = "0.1.23" +version = "0.1.24" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "a56d1686db2308d901306f92a263857ef59ea39678a5458e7cb17f01415101f5" +checksum = "5033c97c4262335cded6d6fc3e5c18ab755e1a3dc96376350f3d8e9f009ad956" dependencies = [ "tinyvec", ] @@ -2033,15 +1982,15 @@ checksum = "52ea75f83c0137a9b98608359a5f1af8144876eb67bcb1ce837368e906a9f524" [[package]] name = "unicode-script" -version = "0.5.6" +version = "0.5.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "ad8d71f5726e5f285a935e9fe8edfd53f0491eb6e9a5774097fdabee7cd8c9cd" +checksum = "9fb421b350c9aff471779e262955939f565ec18b86c15364e6bdf0d662ca7c1f" [[package]] name = "unicode-segmentation" -version = "1.11.0" +version = "1.12.0" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d4c87d22b6e3f4a18d4d40ef354e97c90fcb14dd91d7dc0aa9d8a1172ebf7202" +checksum = "f6ccf251212114b54433ec949fd6a7841275f9ada20dddd2f29e9ceea4501493" [[package]] name = "untrusted" @@ -2156,9 +2105,9 @@ checksum = "c62a0a307cb4a311d3a07867860911ca130c3494e8c2719593806c08bc5d0484" [[package]] name = "wayland-backend" -version = "0.3.6" +version = "0.3.7" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "f90e11ce2ca99c97b940ee83edbae9da2d56a08f9ea8158550fd77fa31722993" +checksum = "056535ced7a150d45159d3a8dc30f91a2e2d588ca0b23f70e56033622b8016f6" dependencies = [ "cc", "downcast-rs", @@ -2170,9 +2119,9 @@ dependencies = [ [[package]] name = "wayland-client" -version = "0.31.5" +version = "0.31.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "7e321577a0a165911bdcfb39cf029302479d7527b517ee58ab0f6ad09edf0943" +checksum = "e3f45d1222915ef1fd2057220c1d9d9624b7654443ea35c3877f7a52bd0a5a2d" dependencies = [ "bitflags 2.6.0", "rustix", @@ -2182,20 +2131,20 @@ dependencies = [ [[package]] name = "wayland-scanner" -version = "0.31.4" +version = "0.31.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "d7b56f89937f1cf2ee1f1259cf2936a17a1f45d8f0aa1019fae6d470d304cfa6" +checksum = "597f2001b2e5fc1121e3d5b9791d3e78f05ba6bfa4641053846248e3a13661c3" dependencies = [ "proc-macro2", - "quick-xml 0.34.0", + "quick-xml", "quote", ] [[package]] name = "wayland-sys" -version = "0.31.4" +version = "0.31.5" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "43676fe2daf68754ecf1d72026e4e6c15483198b5d24e888b74d3f22f887a148" +checksum = "efa8ac0d8e8ed3e3b5c9fc92c7881406a268e11555abe36493efabe649a29e09" dependencies = [ "dlib", "log", @@ -2214,9 +2163,9 @@ dependencies = [ [[package]] name = "webpki-roots" -version = "0.26.3" +version = "0.26.6" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "bd7c23921eeb1713a4e851530e9b9756e4fb0e89978582942612524cf09f01cd" +checksum = "841c67bff177718f1d4dfefde8d8f0e78f9b6589319ba88312f567fc5841a958" dependencies = [ "rustls-pki-types", ] @@ -2412,9 +2361,9 @@ checksum = "589f6da84c646204747d1270a2a5661ea66ed1cced2631d546fdfb155959f9ec" [[package]] name = "winnow" -version = "0.6.18" +version = "0.6.20" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "68a9bda4691f099d435ad181000724da8e5899daa10713c2d432552b9ccd3a6f" +checksum = "36c1fec1a2bb5866f07c25f68c26e565c4c200aebb96d7e55710c19d3e8ac49b" dependencies = [ "memchr", ] @@ -2440,9 +2389,9 @@ dependencies = [ [[package]] name = "xml-rs" -version = "0.8.21" +version = "0.8.22" source = "registry+https://github.com/rust-lang/crates.io-index" -checksum = "539a77ee7c0de333dcc6da69b177380a0b81e0dacfa4f7344c465a36871ee601" +checksum = "af4e2e2f7cba5a093896c1e150fbfe177d1883e7448200efb81d40b9d339ef26" [[package]] name = "zerocopy" From 68047272e3c94eacc9b581c9e1a3ee7856a47d50 Mon Sep 17 00:00:00 2001 From: Bilal Elmoussaoui Date: Tue, 17 Sep 2024 13:53:03 +0200 Subject: [PATCH 10/10] deny: Remove quick-xml --- deny.toml | 5 ----- 1 file changed, 5 deletions(-) diff --git a/deny.toml b/deny.toml index 36dbdf6c1c72..7cd713b6c0c3 100644 --- a/deny.toml +++ b/deny.toml @@ -32,8 +32,3 @@ unknown-git = "deny" allow-git = [ "https://github.com/gtk-rs/gtk-rs-core", ] - -# wayland-scanner depends on an older version -[[bans.skip]] -name = "quick-xml" -version = "0.34.0"