Skip to content

Commit 6888d28

Browse files
sdroegebilelmoussaoui
authored andcommitted
Regenerate with latest gir
1 parent be4fcfe commit 6888d28

Some content is hidden

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

72 files changed

+675
-179
lines changed

gdk4-wayland/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
1+
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)

gdk4-wayland/sys/src/lib.rs

Lines changed: 19 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -13,14 +13,15 @@
1313

1414
use glib_sys as glib;
1515

16-
#[allow(unused_imports)]
17-
use libc::{
18-
c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
19-
intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE,
20-
};
2116
#[cfg(unix)]
2217
#[allow(unused_imports)]
2318
use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t};
19+
#[allow(unused_imports)]
20+
use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE};
21+
#[allow(unused_imports)]
22+
use std::ffi::{
23+
c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
24+
};
2425

2526
#[allow(unused_imports)]
2627
use glib::{gboolean, gconstpointer, gpointer, GType};
@@ -31,6 +32,7 @@ pub type GdkWaylandToplevelExported =
3132

3233
// Records
3334
#[repr(C)]
35+
#[allow(dead_code)]
3436
pub struct _GdkWaylandDeviceClass {
3537
_data: [u8; 0],
3638
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -39,6 +41,7 @@ pub struct _GdkWaylandDeviceClass {
3941
pub type GdkWaylandDeviceClass = _GdkWaylandDeviceClass;
4042

4143
#[repr(C)]
44+
#[allow(dead_code)]
4245
pub struct _GdkWaylandDisplayClass {
4346
_data: [u8; 0],
4447
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -47,6 +50,7 @@ pub struct _GdkWaylandDisplayClass {
4750
pub type GdkWaylandDisplayClass = _GdkWaylandDisplayClass;
4851

4952
#[repr(C)]
53+
#[allow(dead_code)]
5054
pub struct _GdkWaylandGLContextClass {
5155
_data: [u8; 0],
5256
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -55,6 +59,7 @@ pub struct _GdkWaylandGLContextClass {
5559
pub type GdkWaylandGLContextClass = _GdkWaylandGLContextClass;
5660

5761
#[repr(C)]
62+
#[allow(dead_code)]
5863
pub struct _GdkWaylandMonitorClass {
5964
_data: [u8; 0],
6065
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -63,6 +68,7 @@ pub struct _GdkWaylandMonitorClass {
6368
pub type GdkWaylandMonitorClass = _GdkWaylandMonitorClass;
6469

6570
#[repr(C)]
71+
#[allow(dead_code)]
6672
pub struct _GdkWaylandSeatClass {
6773
_data: [u8; 0],
6874
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -72,6 +78,7 @@ pub type GdkWaylandSeatClass = _GdkWaylandSeatClass;
7278

7379
// Classes
7480
#[repr(C)]
81+
#[allow(dead_code)]
7582
pub struct GdkWaylandDevice {
7683
_data: [u8; 0],
7784
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -85,6 +92,7 @@ impl ::std::fmt::Debug for GdkWaylandDevice {
8592
}
8693

8794
#[repr(C)]
95+
#[allow(dead_code)]
8896
pub struct GdkWaylandDisplay {
8997
_data: [u8; 0],
9098
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -98,6 +106,7 @@ impl ::std::fmt::Debug for GdkWaylandDisplay {
98106
}
99107

100108
#[repr(C)]
109+
#[allow(dead_code)]
101110
pub struct GdkWaylandGLContext {
102111
_data: [u8; 0],
103112
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -111,6 +120,7 @@ impl ::std::fmt::Debug for GdkWaylandGLContext {
111120
}
112121

113122
#[repr(C)]
123+
#[allow(dead_code)]
114124
pub struct GdkWaylandMonitor {
115125
_data: [u8; 0],
116126
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -124,6 +134,7 @@ impl ::std::fmt::Debug for GdkWaylandMonitor {
124134
}
125135

126136
#[repr(C)]
137+
#[allow(dead_code)]
127138
pub struct GdkWaylandPopup {
128139
_data: [u8; 0],
129140
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -137,6 +148,7 @@ impl ::std::fmt::Debug for GdkWaylandPopup {
137148
}
138149

139150
#[repr(C)]
151+
#[allow(dead_code)]
140152
pub struct GdkWaylandSeat {
141153
_data: [u8; 0],
142154
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -150,6 +162,7 @@ impl ::std::fmt::Debug for GdkWaylandSeat {
150162
}
151163

152164
#[repr(C)]
165+
#[allow(dead_code)]
153166
pub struct GdkWaylandSurface {
154167
_data: [u8; 0],
155168
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -163,6 +176,7 @@ impl ::std::fmt::Debug for GdkWaylandSurface {
163176
}
164177

165178
#[repr(C)]
179+
#[allow(dead_code)]
166180
pub struct GdkWaylandToplevel {
167181
_data: [u8; 0],
168182
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -175,7 +189,6 @@ impl ::std::fmt::Debug for GdkWaylandToplevel {
175189
}
176190
}
177191

178-
#[link(name = "gtk-4")]
179192
extern "C" {
180193

181194
//=========================================================================

gdk4-wayland/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
1+
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)

gdk4-win32/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
1+
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)

gdk4-win32/sys/src/lib.rs

Lines changed: 22 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -14,14 +14,15 @@
1414
use gdk4_sys as gdk;
1515
use glib_sys as glib;
1616

17-
#[allow(unused_imports)]
18-
use libc::{
19-
c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
20-
intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE,
21-
};
2217
#[cfg(unix)]
2318
#[allow(unused_imports)]
2419
use libc::{dev_t, gid_t, pid_t, socklen_t, uid_t};
20+
#[allow(unused_imports)]
21+
use libc::{intptr_t, off_t, size_t, ssize_t, time_t, uintptr_t, FILE};
22+
#[allow(unused_imports)]
23+
use std::ffi::{
24+
c_char, c_double, c_float, c_int, c_long, c_short, c_uchar, c_uint, c_ulong, c_ushort, c_void,
25+
};
2526

2627
#[allow(unused_imports)]
2728
use glib::{gboolean, gconstpointer, gpointer, GType};
@@ -43,6 +44,7 @@ pub type GdkWin32MessageFilterFunc = Option<
4344

4445
// Records
4546
#[repr(C)]
47+
#[allow(dead_code)]
4648
pub struct _GdkWin32DisplayClass {
4749
_data: [u8; 0],
4850
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -51,6 +53,7 @@ pub struct _GdkWin32DisplayClass {
5153
pub type GdkWin32DisplayClass = _GdkWin32DisplayClass;
5254

5355
#[repr(C)]
56+
#[allow(dead_code)]
5457
pub struct _GdkWin32DisplayManagerClass {
5558
_data: [u8; 0],
5659
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -59,6 +62,7 @@ pub struct _GdkWin32DisplayManagerClass {
5962
pub type GdkWin32DisplayManagerClass = _GdkWin32DisplayManagerClass;
6063

6164
#[repr(C)]
65+
#[allow(dead_code)]
6266
pub struct _GdkWin32DragClass {
6367
_data: [u8; 0],
6468
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -67,6 +71,7 @@ pub struct _GdkWin32DragClass {
6771
pub type GdkWin32DragClass = _GdkWin32DragClass;
6872

6973
#[repr(C)]
74+
#[allow(dead_code)]
7075
pub struct _GdkWin32GLContextClass {
7176
_data: [u8; 0],
7277
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -75,6 +80,7 @@ pub struct _GdkWin32GLContextClass {
7580
pub type GdkWin32GLContextClass = _GdkWin32GLContextClass;
7681

7782
#[repr(C)]
83+
#[allow(dead_code)]
7884
pub struct _GdkWin32HCursorClass {
7985
_data: [u8; 0],
8086
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -83,6 +89,7 @@ pub struct _GdkWin32HCursorClass {
8389
pub type GdkWin32HCursorClass = _GdkWin32HCursorClass;
8490

8591
#[repr(C)]
92+
#[allow(dead_code)]
8693
pub struct _GdkWin32MonitorClass {
8794
_data: [u8; 0],
8895
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -91,6 +98,7 @@ pub struct _GdkWin32MonitorClass {
9198
pub type GdkWin32MonitorClass = _GdkWin32MonitorClass;
9299

93100
#[repr(C)]
101+
#[allow(dead_code)]
94102
pub struct _GdkWin32ScreenClass {
95103
_data: [u8; 0],
96104
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -99,6 +107,7 @@ pub struct _GdkWin32ScreenClass {
99107
pub type GdkWin32ScreenClass = _GdkWin32ScreenClass;
100108

101109
#[repr(C)]
110+
#[allow(dead_code)]
102111
pub struct _GdkWin32SurfaceClass {
103112
_data: [u8; 0],
104113
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -108,6 +117,7 @@ pub type GdkWin32SurfaceClass = _GdkWin32SurfaceClass;
108117

109118
// Classes
110119
#[repr(C)]
120+
#[allow(dead_code)]
111121
pub struct GdkWin32Display {
112122
_data: [u8; 0],
113123
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -121,6 +131,7 @@ impl ::std::fmt::Debug for GdkWin32Display {
121131
}
122132

123133
#[repr(C)]
134+
#[allow(dead_code)]
124135
pub struct GdkWin32DisplayManager {
125136
_data: [u8; 0],
126137
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -134,6 +145,7 @@ impl ::std::fmt::Debug for GdkWin32DisplayManager {
134145
}
135146

136147
#[repr(C)]
148+
#[allow(dead_code)]
137149
pub struct GdkWin32Drag {
138150
_data: [u8; 0],
139151
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -146,6 +158,7 @@ impl ::std::fmt::Debug for GdkWin32Drag {
146158
}
147159

148160
#[repr(C)]
161+
#[allow(dead_code)]
149162
pub struct GdkWin32GLContext {
150163
_data: [u8; 0],
151164
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -159,6 +172,7 @@ impl ::std::fmt::Debug for GdkWin32GLContext {
159172
}
160173

161174
#[repr(C)]
175+
#[allow(dead_code)]
162176
pub struct GdkWin32HCursor {
163177
_data: [u8; 0],
164178
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -172,6 +186,7 @@ impl ::std::fmt::Debug for GdkWin32HCursor {
172186
}
173187

174188
#[repr(C)]
189+
#[allow(dead_code)]
175190
pub struct GdkWin32Monitor {
176191
_data: [u8; 0],
177192
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -185,6 +200,7 @@ impl ::std::fmt::Debug for GdkWin32Monitor {
185200
}
186201

187202
#[repr(C)]
203+
#[allow(dead_code)]
188204
pub struct GdkWin32Screen {
189205
_data: [u8; 0],
190206
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -198,6 +214,7 @@ impl ::std::fmt::Debug for GdkWin32Screen {
198214
}
199215

200216
#[repr(C)]
217+
#[allow(dead_code)]
201218
pub struct GdkWin32Surface {
202219
_data: [u8; 0],
203220
_marker: core::marker::PhantomData<(*mut u8, core::marker::PhantomPinned)>,
@@ -210,7 +227,6 @@ impl ::std::fmt::Debug for GdkWin32Surface {
210227
}
211228
}
212229

213-
#[link(name = "gtk-4")]
214230
extern "C" {
215231

216232
//=========================================================================

gdk4-win32/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
1+
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)

gdk4-x11/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
1+
Generated by gir (https://github.com/gtk-rs/gir @ f7d2061cc781)
22
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)

0 commit comments

Comments
 (0)