Skip to content

Commit 044d205

Browse files
Regenerate with latest gir-files
1 parent 24616dd commit 044d205

38 files changed

+896
-17
lines changed

gdk4-macos/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 59e3912ac141)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ a79d23cd6a42)

gdk4-macos/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 59e3912ac141)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ a79d23cd6a42)

gdk4-wayland/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 59e3912ac141)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ a79d23cd6a42)

gdk4-wayland/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 59e3912ac141)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ a79d23cd6a42)

gdk4-win32/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 59e3912ac141)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ a79d23cd6a42)

gdk4-win32/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 59e3912ac141)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ a79d23cd6a42)

gdk4-x11/src/auto/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 59e3912ac141)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ a79d23cd6a42)

gdk4-x11/sys/versions.txt

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,2 +1,2 @@
11
Generated by gir (https://github.com/gtk-rs/gir @ 59e3912ac141)
2-
from gir-files (https://github.com/gtk-rs/gir-files @ 5c1e490fe50a)
2+
from gir-files (https://github.com/gtk-rs/gir-files @ a79d23cd6a42)

gdk4/src/auto/enums.rs

Lines changed: 72 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1848,6 +1848,42 @@ pub enum MemoryFormat {
18481848
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
18491849
#[doc(alias = "GDK_MEMORY_B8G8R8G8_422")]
18501850
B8g8r8g8422,
1851+
#[cfg(feature = "v4_20")]
1852+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
1853+
#[doc(alias = "GDK_MEMORY_X6G10_X6B10_X6R10_420")]
1854+
X6g10X6b10X6r10420,
1855+
#[cfg(feature = "v4_20")]
1856+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
1857+
#[doc(alias = "GDK_MEMORY_X6G10_X6B10_X6R10_422")]
1858+
X6g10X6b10X6r10422,
1859+
#[cfg(feature = "v4_20")]
1860+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
1861+
#[doc(alias = "GDK_MEMORY_X6G10_X6B10_X6R10_444")]
1862+
X6g10X6b10X6r10444,
1863+
#[cfg(feature = "v4_20")]
1864+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
1865+
#[doc(alias = "GDK_MEMORY_X4G12_X4B12_X4R12_420")]
1866+
X4g12X4b12X4r12420,
1867+
#[cfg(feature = "v4_20")]
1868+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
1869+
#[doc(alias = "GDK_MEMORY_X4G12_X4B12_X4R12_422")]
1870+
X4g12X4b12X4r12422,
1871+
#[cfg(feature = "v4_20")]
1872+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
1873+
#[doc(alias = "GDK_MEMORY_X4G12_X4B12_X4R12_444")]
1874+
X4g12X4b12X4r12444,
1875+
#[cfg(feature = "v4_20")]
1876+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
1877+
#[doc(alias = "GDK_MEMORY_G16_B16_R16_420")]
1878+
G16B16R16420,
1879+
#[cfg(feature = "v4_20")]
1880+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
1881+
#[doc(alias = "GDK_MEMORY_G16_B16_R16_422")]
1882+
G16B16R16422,
1883+
#[cfg(feature = "v4_20")]
1884+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
1885+
#[doc(alias = "GDK_MEMORY_G16_B16_R16_444")]
1886+
G16B16R16444,
18511887
#[doc(hidden)]
18521888
__Unknown(i32),
18531889
}
@@ -1965,6 +2001,24 @@ impl IntoGlib for MemoryFormat {
19652001
Self::R8g8b8g8422 => ffi::GDK_MEMORY_R8G8B8G8_422,
19662002
#[cfg(feature = "v4_20")]
19672003
Self::B8g8r8g8422 => ffi::GDK_MEMORY_B8G8R8G8_422,
2004+
#[cfg(feature = "v4_20")]
2005+
Self::X6g10X6b10X6r10420 => ffi::GDK_MEMORY_X6G10_X6B10_X6R10_420,
2006+
#[cfg(feature = "v4_20")]
2007+
Self::X6g10X6b10X6r10422 => ffi::GDK_MEMORY_X6G10_X6B10_X6R10_422,
2008+
#[cfg(feature = "v4_20")]
2009+
Self::X6g10X6b10X6r10444 => ffi::GDK_MEMORY_X6G10_X6B10_X6R10_444,
2010+
#[cfg(feature = "v4_20")]
2011+
Self::X4g12X4b12X4r12420 => ffi::GDK_MEMORY_X4G12_X4B12_X4R12_420,
2012+
#[cfg(feature = "v4_20")]
2013+
Self::X4g12X4b12X4r12422 => ffi::GDK_MEMORY_X4G12_X4B12_X4R12_422,
2014+
#[cfg(feature = "v4_20")]
2015+
Self::X4g12X4b12X4r12444 => ffi::GDK_MEMORY_X4G12_X4B12_X4R12_444,
2016+
#[cfg(feature = "v4_20")]
2017+
Self::G16B16R16420 => ffi::GDK_MEMORY_G16_B16_R16_420,
2018+
#[cfg(feature = "v4_20")]
2019+
Self::G16B16R16422 => ffi::GDK_MEMORY_G16_B16_R16_422,
2020+
#[cfg(feature = "v4_20")]
2021+
Self::G16B16R16444 => ffi::GDK_MEMORY_G16_B16_R16_444,
19682022
Self::__Unknown(value) => value,
19692023
}
19702024
}
@@ -2083,6 +2137,24 @@ impl FromGlib<ffi::GdkMemoryFormat> for MemoryFormat {
20832137
ffi::GDK_MEMORY_R8G8B8G8_422 => Self::R8g8b8g8422,
20842138
#[cfg(feature = "v4_20")]
20852139
ffi::GDK_MEMORY_B8G8R8G8_422 => Self::B8g8r8g8422,
2140+
#[cfg(feature = "v4_20")]
2141+
ffi::GDK_MEMORY_X6G10_X6B10_X6R10_420 => Self::X6g10X6b10X6r10420,
2142+
#[cfg(feature = "v4_20")]
2143+
ffi::GDK_MEMORY_X6G10_X6B10_X6R10_422 => Self::X6g10X6b10X6r10422,
2144+
#[cfg(feature = "v4_20")]
2145+
ffi::GDK_MEMORY_X6G10_X6B10_X6R10_444 => Self::X6g10X6b10X6r10444,
2146+
#[cfg(feature = "v4_20")]
2147+
ffi::GDK_MEMORY_X4G12_X4B12_X4R12_420 => Self::X4g12X4b12X4r12420,
2148+
#[cfg(feature = "v4_20")]
2149+
ffi::GDK_MEMORY_X4G12_X4B12_X4R12_422 => Self::X4g12X4b12X4r12422,
2150+
#[cfg(feature = "v4_20")]
2151+
ffi::GDK_MEMORY_X4G12_X4B12_X4R12_444 => Self::X4g12X4b12X4r12444,
2152+
#[cfg(feature = "v4_20")]
2153+
ffi::GDK_MEMORY_G16_B16_R16_420 => Self::G16B16R16420,
2154+
#[cfg(feature = "v4_20")]
2155+
ffi::GDK_MEMORY_G16_B16_R16_422 => Self::G16B16R16422,
2156+
#[cfg(feature = "v4_20")]
2157+
ffi::GDK_MEMORY_G16_B16_R16_444 => Self::G16B16R16444,
20862158
value => Self::__Unknown(value),
20872159
}
20882160
}

gdk4/src/auto/flags.rs

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -213,6 +213,10 @@ bitflags! {
213213
#[derive(Clone, Copy, Debug, PartialEq, Eq, Hash)]
214214
#[doc(alias = "GdkDragAction")]
215215
pub struct DragAction: u32 {
216+
#[cfg(feature = "v4_20")]
217+
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
218+
#[doc(alias = "GDK_ACTION_NONE")]
219+
const NONE = ffi::GDK_ACTION_NONE as _;
216220
#[doc(alias = "GDK_ACTION_COPY")]
217221
const COPY = ffi::GDK_ACTION_COPY as _;
218222
#[doc(alias = "GDK_ACTION_MOVE")]

0 commit comments

Comments
 (0)