From e8859951d3ceb9ad3d41230ab14ca95575276602 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Mon, 5 Dec 2022 13:25:10 +0200 Subject: [PATCH] gstreamer: Ignore `EventType::to_sticky_ordering` This is handled manually via the `PartialOrd` impl. Part-of: --- gstreamer/Gir.toml | 4 ++++ gstreamer/src/auto/enums.rs | 8 -------- 2 files changed, 4 insertions(+), 8 deletions(-) diff --git a/gstreamer/Gir.toml b/gstreamer/Gir.toml index 5dde1e0f0..896e90ff0 100644 --- a/gstreamer/Gir.toml +++ b/gstreamer/Gir.toml @@ -1378,6 +1378,10 @@ ref_mode = "ref" [[object]] name = "Gst.EventType" status = "generate" + [[object.function]] + name = "to_sticky_ordering" + # handle this manually via the `PartialOrd` function + ignore = true [[object.derive]] name = "Debug, PartialEq, Eq, Hash" [[object.member]] diff --git a/gstreamer/src/auto/enums.rs b/gstreamer/src/auto/enums.rs index 1a50abc64..67fa5899f 100644 --- a/gstreamer/src/auto/enums.rs +++ b/gstreamer/src/auto/enums.rs @@ -918,14 +918,6 @@ impl EventType { assert_initialized_main_thread!(); unsafe { from_glib(ffi::gst_event_type_to_quark(self.into_glib())) } } - - #[cfg(any(feature = "v1_22", feature = "dox"))] - #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_22")))] - #[doc(alias = "gst_event_type_to_sticky_ordering")] - pub fn to_sticky_ordering(self) -> u32 { - assert_initialized_main_thread!(); - unsafe { ffi::gst_event_type_to_sticky_ordering(self.into_glib()) } - } } impl fmt::Display for EventType {