Skip to content

Commit 5a78919

Browse files
authored
Merge pull request #1840 from eerii/master
Update to the latest gir
2 parents 7b84f94 + 4ce19bd commit 5a78919

Some content is hidden

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

75 files changed

+705
-209
lines changed

Cargo.lock

Lines changed: 16 additions & 16 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

gdk4-wayland/src/auto/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
1+
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)

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: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
1+
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)

gdk4-win32/src/auto/versions.txt

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
1-
Generated by gir (https://github.com/gtk-rs/gir @ d7c0763cacbc)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 4d1189172a70)
1+
Generated by gir (https://github.com/gtk-rs/gir @ a11b11f2e403)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ 62da9eb7c4bd)

0 commit comments

Comments
 (0)