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 {