From 4b79dddc14d4c937f5f358eb4fc2e85251b230d2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 30 Apr 2024 11:53:31 +0300 Subject: [PATCH] video: Remove some unnecessary `#[cfg]` attributes Part-of: --- gstreamer-video/src/video_event.rs | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/gstreamer-video/src/video_event.rs b/gstreamer-video/src/video_event.rs index d4dd58a6a..025f342cc 100644 --- a/gstreamer-video/src/video_event.rs +++ b/gstreamer-video/src/video_event.rs @@ -914,8 +914,6 @@ impl NavigationEvent { x, y, pressure, - #[cfg(feature = "v1_22")] - #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))] modifier_state: NavigationModifierType::empty(), } } @@ -930,8 +928,6 @@ impl NavigationEvent { x, y, pressure, - #[cfg(feature = "v1_22")] - #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))] modifier_state: NavigationModifierType::empty(), } } @@ -945,8 +941,6 @@ impl NavigationEvent { identifier, x, y, - #[cfg(feature = "v1_22")] - #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))] modifier_state: NavigationModifierType::empty(), } } @@ -957,8 +951,6 @@ impl NavigationEvent { pub fn new_touch_frame() -> NavigationEvent { assert_initialized_main_thread!(); Self::TouchFrame { - #[cfg(feature = "v1_22")] - #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))] modifier_state: NavigationModifierType::empty(), } } @@ -969,8 +961,6 @@ impl NavigationEvent { pub fn new_touch_cancel() -> NavigationEvent { assert_initialized_main_thread!(); Self::TouchCancel { - #[cfg(feature = "v1_22")] - #[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))] modifier_state: NavigationModifierType::empty(), } }