Skip to content

Commit

Permalink
Regenerate with latest gir
Browse files Browse the repository at this point in the history
  • Loading branch information
bilelmoussaoui committed Jan 20, 2024
1 parent c0728be commit 88b9e26
Show file tree
Hide file tree
Showing 44 changed files with 222 additions and 221 deletions.
2 changes: 1 addition & 1 deletion gdk4-wayland/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 428c880ecf0b)
Generated by gir (https://github.com/gtk-rs/gir @ 20a5b17f6da9)
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
4 changes: 2 additions & 2 deletions gdk4-wayland/src/auto/wayland_toplevel.rs
Original file line number Diff line number Diff line change
Expand Up @@ -39,14 +39,14 @@ impl WaylandToplevel {
) {
let toplevel = from_glib_borrow(toplevel);
let handle: Borrowed<glib::GString> = from_glib_borrow(handle);
let callback: &P = &*(user_data as *mut _);
let callback = &*(user_data as *mut P);
(*callback)(&toplevel, handle.as_str())
}
let callback = Some(callback_func::<P> as _);
unsafe extern "C" fn destroy_func_func<P: Fn(&WaylandToplevel, &str) + 'static>(
data: glib::ffi::gpointer,
) {
let _callback: Box_<P> = Box_::from_raw(data as *mut _);
let _callback = Box_::from_raw(data as *mut P);
}
let destroy_call3 = Some(destroy_func_func::<P> as _);
let super_callback0: Box_<P> = callback_data;
Expand Down
10 changes: 5 additions & 5 deletions gdk4-wayland/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -31,39 +31,39 @@ pub struct _GdkWaylandDeviceClass {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWaylandDeviceClass = *mut _GdkWaylandDeviceClass;
pub type GdkWaylandDeviceClass = _GdkWaylandDeviceClass;

#[repr(C)]
pub struct _GdkWaylandDisplayClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWaylandDisplayClass = *mut _GdkWaylandDisplayClass;
pub type GdkWaylandDisplayClass = _GdkWaylandDisplayClass;

#[repr(C)]
pub struct _GdkWaylandGLContextClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWaylandGLContextClass = *mut _GdkWaylandGLContextClass;
pub type GdkWaylandGLContextClass = _GdkWaylandGLContextClass;

#[repr(C)]
pub struct _GdkWaylandMonitorClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWaylandMonitorClass = *mut _GdkWaylandMonitorClass;
pub type GdkWaylandMonitorClass = _GdkWaylandMonitorClass;

#[repr(C)]
pub struct _GdkWaylandSeatClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWaylandSeatClass = *mut _GdkWaylandSeatClass;
pub type GdkWaylandSeatClass = _GdkWaylandSeatClass;

// Classes
#[repr(C)]
Expand Down
2 changes: 1 addition & 1 deletion gdk4-wayland/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 428c880ecf0b)
Generated by gir (https://github.com/gtk-rs/gir @ 20a5b17f6da9)
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
2 changes: 1 addition & 1 deletion gdk4-win32/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 428c880ecf0b)
Generated by gir (https://github.com/gtk-rs/gir @ 20a5b17f6da9)
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
16 changes: 8 additions & 8 deletions gdk4-win32/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -42,63 +42,63 @@ pub struct _GdkWin32DisplayClass {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWin32DisplayClass = *mut _GdkWin32DisplayClass;
pub type GdkWin32DisplayClass = _GdkWin32DisplayClass;

#[repr(C)]
pub struct _GdkWin32DisplayManagerClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWin32DisplayManagerClass = *mut _GdkWin32DisplayManagerClass;
pub type GdkWin32DisplayManagerClass = _GdkWin32DisplayManagerClass;

#[repr(C)]
pub struct _GdkWin32DragClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWin32DragClass = *mut _GdkWin32DragClass;
pub type GdkWin32DragClass = _GdkWin32DragClass;

#[repr(C)]
pub struct _GdkWin32GLContextClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWin32GLContextClass = *mut _GdkWin32GLContextClass;
pub type GdkWin32GLContextClass = _GdkWin32GLContextClass;

#[repr(C)]
pub struct _GdkWin32HCursorClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWin32HCursorClass = *mut _GdkWin32HCursorClass;
pub type GdkWin32HCursorClass = _GdkWin32HCursorClass;

#[repr(C)]
pub struct _GdkWin32MonitorClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWin32MonitorClass = *mut _GdkWin32MonitorClass;
pub type GdkWin32MonitorClass = _GdkWin32MonitorClass;

#[repr(C)]
pub struct _GdkWin32ScreenClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWin32ScreenClass = *mut _GdkWin32ScreenClass;
pub type GdkWin32ScreenClass = _GdkWin32ScreenClass;

#[repr(C)]
pub struct _GdkWin32SurfaceClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkWin32SurfaceClass = *mut _GdkWin32SurfaceClass;
pub type GdkWin32SurfaceClass = _GdkWin32SurfaceClass;

// Classes
#[repr(C)]
Expand Down
2 changes: 1 addition & 1 deletion gdk4-win32/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 428c880ecf0b)
Generated by gir (https://github.com/gtk-rs/gir @ 20a5b17f6da9)
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
2 changes: 1 addition & 1 deletion gdk4-x11/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 428c880ecf0b)
Generated by gir (https://github.com/gtk-rs/gir @ 20a5b17f6da9)
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
18 changes: 9 additions & 9 deletions gdk4-x11/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -33,71 +33,71 @@ pub struct _GdkX11AppLaunchContextClass {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkX11AppLaunchContextClass = *mut _GdkX11AppLaunchContextClass;
pub type GdkX11AppLaunchContextClass = _GdkX11AppLaunchContextClass;

#[repr(C)]
pub struct _GdkX11DeviceManagerXI2Class {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkX11DeviceManagerXI2Class = *mut _GdkX11DeviceManagerXI2Class;
pub type GdkX11DeviceManagerXI2Class = _GdkX11DeviceManagerXI2Class;

#[repr(C)]
pub struct _GdkX11DeviceXI2Class {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkX11DeviceXI2Class = *mut _GdkX11DeviceXI2Class;
pub type GdkX11DeviceXI2Class = _GdkX11DeviceXI2Class;

#[repr(C)]
pub struct _GdkX11DisplayClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkX11DisplayClass = *mut _GdkX11DisplayClass;
pub type GdkX11DisplayClass = _GdkX11DisplayClass;

#[repr(C)]
pub struct _GdkX11DragClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkX11DragClass = *mut _GdkX11DragClass;
pub type GdkX11DragClass = _GdkX11DragClass;

#[repr(C)]
pub struct _GdkX11GLContextClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkX11GLContextClass = *mut _GdkX11GLContextClass;
pub type GdkX11GLContextClass = _GdkX11GLContextClass;

#[repr(C)]
pub struct _GdkX11MonitorClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkX11MonitorClass = *mut _GdkX11MonitorClass;
pub type GdkX11MonitorClass = _GdkX11MonitorClass;

#[repr(C)]
pub struct _GdkX11ScreenClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkX11ScreenClass = *mut _GdkX11ScreenClass;
pub type GdkX11ScreenClass = _GdkX11ScreenClass;

#[repr(C)]
pub struct _GdkX11SurfaceClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkX11SurfaceClass = *mut _GdkX11SurfaceClass;
pub type GdkX11SurfaceClass = _GdkX11SurfaceClass;

// Classes
#[repr(C)]
Expand Down
2 changes: 1 addition & 1 deletion gdk4-x11/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 428c880ecf0b)
Generated by gir (https://github.com/gtk-rs/gir @ 20a5b17f6da9)
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
2 changes: 1 addition & 1 deletion gdk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 428c880ecf0b)
Generated by gir (https://github.com/gtk-rs/gir @ 20a5b17f6da9)
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
30 changes: 15 additions & 15 deletions gdk4/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -2698,23 +2698,23 @@ pub struct _GdkDevicePadInterface {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkDevicePadInterface = *mut _GdkDevicePadInterface;
pub type GdkDevicePadInterface = _GdkDevicePadInterface;

#[repr(C)]
pub struct _GdkDragSurfaceInterface {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkDragSurfaceInterface = *mut _GdkDragSurfaceInterface;
pub type GdkDragSurfaceInterface = _GdkDragSurfaceInterface;

#[repr(C)]
pub struct _GdkDragSurfaceSize {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkDragSurfaceSize = *mut _GdkDragSurfaceSize;
pub type GdkDragSurfaceSize = _GdkDragSurfaceSize;

#[repr(C)]
pub struct GdkEventSequence {
Expand Down Expand Up @@ -2747,15 +2747,15 @@ pub struct _GdkFrameClockClass {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkFrameClockClass = *mut _GdkFrameClockClass;
pub type GdkFrameClockClass = _GdkFrameClockClass;

#[repr(C)]
pub struct _GdkFrameClockPrivate {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkFrameClockPrivate = *mut _GdkFrameClockPrivate;
pub type GdkFrameClockPrivate = _GdkFrameClockPrivate;

#[repr(C)]
pub struct GdkFrameTimings {
Expand All @@ -2776,15 +2776,15 @@ pub struct _GdkGLTextureBuilderClass {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkGLTextureBuilderClass = *mut _GdkGLTextureBuilderClass;
pub type GdkGLTextureBuilderClass = _GdkGLTextureBuilderClass;

#[repr(C)]
pub struct _GdkGLTextureClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkGLTextureClass = *mut _GdkGLTextureClass;
pub type GdkGLTextureClass = _GdkGLTextureClass;

#[derive(Copy, Clone)]
#[repr(C)]
Expand All @@ -2810,15 +2810,15 @@ pub struct _GdkMemoryTextureClass {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkMemoryTextureClass = *mut _GdkMemoryTextureClass;
pub type GdkMemoryTextureClass = _GdkMemoryTextureClass;

#[repr(C)]
pub struct _GdkMonitorClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkMonitorClass = *mut _GdkMonitorClass;
pub type GdkMonitorClass = _GdkMonitorClass;

#[derive(Copy, Clone)]
#[repr(C)]
Expand Down Expand Up @@ -2855,7 +2855,7 @@ pub struct _GdkPopupInterface {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkPopupInterface = *mut _GdkPopupInterface;
pub type GdkPopupInterface = _GdkPopupInterface;

#[repr(C)]
pub struct GdkPopupLayout {
Expand Down Expand Up @@ -2916,23 +2916,23 @@ pub struct _GdkSnapshotClass {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkSnapshotClass = *mut _GdkSnapshotClass;
pub type GdkSnapshotClass = _GdkSnapshotClass;

#[repr(C)]
pub struct _GdkSurfaceClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkSurfaceClass = *mut _GdkSurfaceClass;
pub type GdkSurfaceClass = _GdkSurfaceClass;

#[repr(C)]
pub struct _GdkTextureClass {
_data: [u8; 0],
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkTextureClass = *mut _GdkTextureClass;
pub type GdkTextureClass = _GdkTextureClass;

#[repr(C)]
pub struct GdkTextureDownloader {
Expand Down Expand Up @@ -2971,7 +2971,7 @@ pub struct _GdkToplevelInterface {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkToplevelInterface = *mut _GdkToplevelInterface;
pub type GdkToplevelInterface = _GdkToplevelInterface;

#[repr(C)]
pub struct GdkToplevelLayout {
Expand All @@ -2992,7 +2992,7 @@ pub struct _GdkToplevelSize {
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
}

pub type GdkToplevelSize = *mut _GdkToplevelSize;
pub type GdkToplevelSize = _GdkToplevelSize;

// Classes
#[repr(C)]
Expand Down
2 changes: 1 addition & 1 deletion gdk4/sys/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 428c880ecf0b)
Generated by gir (https://github.com/gtk-rs/gir @ 20a5b17f6da9)
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
2 changes: 1 addition & 1 deletion gsk4/src/auto/versions.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
Generated by gir (https://github.com/gtk-rs/gir @ 428c880ecf0b)
Generated by gir (https://github.com/gtk-rs/gir @ 20a5b17f6da9)
from gir-files (https://github.com/gtk-rs/gir-files @ 20031a537e40)
Loading

0 comments on commit 88b9e26

Please sign in to comment.