gst: structure: revert [filter_]map_in_place deprecation

For `Structure`, `map_in_place()` & `filter_map_in_place()` where marked as
deprecated when the feature v1_26 was selected. Any existing code using those
functions will be rejected by CI clippy job because it uses `--all-features`.

This commit removes the conditional deprecation.

Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1599>
This commit is contained in:
François Laignel 2024-11-21 12:38:01 +01:00
parent 5b652aa3d0
commit 591ab4314e

View file

@ -1588,7 +1588,6 @@ impl StructureRef {
/// * `ControlFlow::Break(())` otherwise.
///
/// [map_in_place_by_id]: crate::StructureRef::map_in_place_by_id
#[cfg_attr(feature = "v1_26", deprecated = "use `map_in_place_by_id()` instead")]
#[doc(alias = "gst_structure_map_in_place")]
pub fn map_in_place<F: FnMut(glib::Quark, &mut glib::Value) -> std::ops::ControlFlow<()>>(
&mut self,
@ -1632,10 +1631,6 @@ impl StructureRef {
/// use [filter_map_in_place_by_id] instead.
///
/// [filter_map_in_place_by_id]: crate::StructureRef::filter_map_in_place_by_id
#[cfg_attr(
feature = "v1_26",
deprecated = "use `filter_map_in_place_by_id()` instead"
)]
#[doc(alias = "gst_structure_filter_and_map_in_place")]
pub fn filter_map_in_place<F: FnMut(glib::Quark, glib::Value) -> Option<glib::Value>>(
&mut self,