From 4ce19bd069f106df873192bc5f6a27453131ff6d Mon Sep 17 00:00:00 2001 From: eri Date: Thu, 19 Sep 2024 18:19:11 +0200 Subject: [PATCH] update to the latest gir --- Cargo.lock | 32 +-- gdk4-wayland/src/auto/versions.txt | 4 +- gdk4-wayland/sys/src/lib.rs | 25 +- gdk4-wayland/sys/versions.txt | 4 +- gdk4-win32/src/auto/versions.txt | 4 +- gdk4-win32/sys/src/lib.rs | 28 +- gdk4-win32/sys/versions.txt | 4 +- gdk4-x11/src/auto/versions.txt | 4 +- gdk4-x11/sys/src/lib.rs | 30 +- gdk4-x11/sys/versions.txt | 4 +- gdk4/src/auto/display.rs | 2 +- gdk4/src/auto/surface.rs | 4 +- gdk4/src/auto/versions.txt | 4 +- gdk4/sys/src/lib.rs | 82 +++++- gdk4/sys/versions.txt | 4 +- gir | 2 +- gir-files | 2 +- gsk4/src/auto/versions.txt | 4 +- gsk4/sys/src/lib.rs | 61 +++- gsk4/sys/versions.txt | 4 +- 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 | 4 +- gtk4/src/auto/widget.rs | 4 +- gtk4/sys/src/lib.rs | 342 ++++++++++++++++++++++- gtk4/sys/versions.txt | 4 +- 75 files changed, 705 insertions(+), 209 deletions(-) diff --git a/Cargo.lock b/Cargo.lock index 8125a501c950..77bb255794f9 100644 --- a/Cargo.lock +++ b/Cargo.lock @@ -128,7 +128,7 @@ checksum = "514de17de45fdb8dc022b1a7975556c53c86f9f0aa5f534b98977b171857c2c9" [[package]] name = "cairo-rs" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "bitflags 2.6.0", "cairo-sys-rs", @@ -139,7 +139,7 @@ dependencies = [ [[package]] name = "cairo-sys-rs" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "glib-sys", "libc", @@ -391,7 +391,7 @@ dependencies = [ [[package]] name = "gdk-pixbuf" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "gdk-pixbuf-sys", "gio", @@ -402,7 +402,7 @@ dependencies = [ [[package]] name = "gdk-pixbuf-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "gio-sys", "glib-sys", @@ -551,7 +551,7 @@ checksum = "40ecd4077b5ae9fd2e9e169b102c6c330d0605168eb0e8bf79952b256dbefffd" [[package]] name = "gio" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "futures-channel", "futures-core", @@ -567,7 +567,7 @@ dependencies = [ [[package]] name = "gio-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "glib-sys", "gobject-sys", @@ -616,7 +616,7 @@ dependencies = [ [[package]] name = "glib" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "bitflags 2.6.0", "futures-channel", @@ -636,7 +636,7 @@ dependencies = [ [[package]] name = "glib-macros" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "heck", "proc-macro-crate", @@ -648,7 +648,7 @@ dependencies = [ [[package]] name = "glib-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "libc", "system-deps", @@ -688,7 +688,7 @@ dependencies = [ [[package]] name = "gobject-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "glib-sys", "libc", @@ -698,7 +698,7 @@ dependencies = [ [[package]] name = "graphene-rs" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "glib", "graphene-sys", @@ -708,7 +708,7 @@ dependencies = [ [[package]] name = "graphene-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "glib-sys", "libc", @@ -1171,7 +1171,7 @@ checksum = "3fdb12b2476b595f9358c5161aa467c2438859caa136dec86c26fdd2efe17b92" [[package]] name = "pango" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "gio", "glib", @@ -1182,7 +1182,7 @@ dependencies = [ [[package]] name = "pango-sys" version = "0.21.0" -source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#6aaab888e5cec9e817a6f4cdbee3a771c59e68fc" +source = "git+https://github.com/gtk-rs/gtk-rs-core?branch=master#a1a0fdc1e02409a40fe706e18fea19abad6320fa" dependencies = [ "glib-sys", "gobject-sys", @@ -1716,9 +1716,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", diff --git a/gdk4-wayland/src/auto/versions.txt b/gdk4-wayland/src/auto/versions.txt index 31b61cd214a0..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) 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..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) diff --git a/gdk4-win32/src/auto/versions.txt b/gdk4-win32/src/auto/versions.txt index 31b61cd214a0..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) 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..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) diff --git a/gdk4-x11/src/auto/versions.txt b/gdk4-x11/src/auto/versions.txt index 31b61cd214a0..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) 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..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) 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..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) 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..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) diff --git a/gir b/gir index d7c0763cacbc..a11b11f2e403 160000 --- a/gir +++ b/gir @@ -1 +1 @@ -Subproject commit d7c0763cacbcc3c088e994d31142bf16adad0150 +Subproject commit a11b11f2e403d615edd94497b6fe5b3c5283145b diff --git a/gir-files b/gir-files index 4d1189172a70..62da9eb7c4bd 160000 --- a/gir-files +++ b/gir-files @@ -1 +1 @@ -Subproject commit 4d1189172a70c6cd6cd8db4954d7cfed2af3983b +Subproject commit 62da9eb7c4bd5d6091a0eaab0d5e97a51f59fd6d diff --git a/gsk4/src/auto/versions.txt b/gsk4/src/auto/versions.txt index 31b61cd214a0..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) 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..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) 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..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd) 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..f8c9324cb5db 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) -from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70) +Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403) +from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)