Skip to content
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions gdk4-macos/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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
4 changes: 2 additions & 2 deletions gdk4-macos/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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
4 changes: 2 additions & 2 deletions 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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
4 changes: 2 additions & 2 deletions 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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
4 changes: 2 additions & 2 deletions 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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
4 changes: 2 additions & 2 deletions 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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
4 changes: 2 additions & 2 deletions 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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
4 changes: 2 additions & 2 deletions 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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
4 changes: 2 additions & 2 deletions 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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
8 changes: 5 additions & 3 deletions gdk4/sys/src/lib.rs
Original file line number Diff line number Diff line change
Expand Up @@ -5894,15 +5894,17 @@ extern "C" {
// GdkScrollEvent
//=========================================================================
pub fn gdk_scroll_event_get_type() -> GType;
//#[cfg(feature = "v4_20")]
//#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
//pub fn gdk_scroll_event_get_relative_direction(event: /*Metadata mismatch*/*mut [c:type mismatch GdkEvent != GdkScrollRelativeDirection of ScrollRelativeDirection]) -> GdkScrollRelativeDirection;
pub fn gdk_scroll_event_get_deltas(
event: *mut GdkScrollEvent,
delta_x: *mut c_double,
delta_y: *mut c_double,
);
pub fn gdk_scroll_event_get_direction(event: *mut GdkScrollEvent) -> GdkScrollDirection;
#[cfg(feature = "v4_20")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
pub fn gdk_scroll_event_get_relative_direction(
event: *mut GdkScrollEvent,
) -> GdkScrollRelativeDirection;
#[cfg(feature = "v4_8")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_8")))]
pub fn gdk_scroll_event_get_unit(event: *mut GdkScrollEvent) -> GdkScrollUnit;
Expand Down
4 changes: 2 additions & 2 deletions 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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
2 changes: 1 addition & 1 deletion gir
2 changes: 1 addition & 1 deletion gir-files
24 changes: 24 additions & 0 deletions gsk4/src/auto/enums.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1314,6 +1314,18 @@ pub enum RenderNodeType {
#[cfg_attr(docsrs, doc(cfg(feature = "v4_20")))]
#[doc(alias = "GSK_COMPONENT_TRANSFER_NODE")]
ComponentTransferNode,
#[cfg(feature = "v4_22")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_22")))]
#[doc(alias = "GSK_COPY_NODE")]
CopyNode,
#[cfg(feature = "v4_22")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_22")))]
#[doc(alias = "GSK_PASTE_NODE")]
PasteNode,
#[cfg(feature = "v4_22")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_22")))]
#[doc(alias = "GSK_COMPOSITE_NODE")]
CompositeNode,
#[doc(hidden)]
__Unknown(i32),
}
Expand Down Expand Up @@ -1362,6 +1374,12 @@ impl IntoGlib for RenderNodeType {
Self::SubsurfaceNode => ffi::GSK_SUBSURFACE_NODE,
#[cfg(feature = "v4_20")]
Self::ComponentTransferNode => ffi::GSK_COMPONENT_TRANSFER_NODE,
#[cfg(feature = "v4_22")]
Self::CopyNode => ffi::GSK_COPY_NODE,
#[cfg(feature = "v4_22")]
Self::PasteNode => ffi::GSK_PASTE_NODE,
#[cfg(feature = "v4_22")]
Self::CompositeNode => ffi::GSK_COMPOSITE_NODE,
Self::__Unknown(value) => value,
}
}
Expand Down Expand Up @@ -1411,6 +1429,12 @@ impl FromGlib<ffi::GskRenderNodeType> for RenderNodeType {
ffi::GSK_SUBSURFACE_NODE => Self::SubsurfaceNode,
#[cfg(feature = "v4_20")]
ffi::GSK_COMPONENT_TRANSFER_NODE => Self::ComponentTransferNode,
#[cfg(feature = "v4_22")]
ffi::GSK_COPY_NODE => Self::CopyNode,
#[cfg(feature = "v4_22")]
ffi::GSK_PASTE_NODE => Self::PasteNode,
#[cfg(feature = "v4_22")]
ffi::GSK_COMPOSITE_NODE => Self::CompositeNode,
value => Self::__Unknown(value),
}
}
Expand Down
2 changes: 1 addition & 1 deletion gsk4/src/auto/path.rs
Original file line number Diff line number Diff line change
Expand Up @@ -175,9 +175,9 @@ impl PartialEq for Path {
self.equal(other)
}
}

#[cfg(feature = "v4_22")]
#[cfg_attr(docsrs, doc(cfg(feature = "v4_22")))]

impl Eq for Path {}

impl std::fmt::Display for Path {
Expand Down
4 changes: 2 additions & 2 deletions 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 @ d9a99899e425)
from gir-files (https://github.com/gtk-rs/gir-files @ 3b05ae05a285)
Generated by gir (https://github.com/gtk-rs/gir @ 1d0088ebcb66)
from gir-files (https://github.com/gtk-rs/gir-files @ 60a110082abd)
Loading