mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-22 01:21:05 +00:00
video: Remove some unnecessary #[cfg]
attributes
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1435>
This commit is contained in:
parent
01b32ce143
commit
4b79dddc14
1 changed files with 0 additions and 10 deletions
|
@ -914,8 +914,6 @@ impl NavigationEvent {
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
pressure,
|
pressure,
|
||||||
#[cfg(feature = "v1_22")]
|
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
|
||||||
modifier_state: NavigationModifierType::empty(),
|
modifier_state: NavigationModifierType::empty(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -930,8 +928,6 @@ impl NavigationEvent {
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
pressure,
|
pressure,
|
||||||
#[cfg(feature = "v1_22")]
|
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
|
||||||
modifier_state: NavigationModifierType::empty(),
|
modifier_state: NavigationModifierType::empty(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -945,8 +941,6 @@ impl NavigationEvent {
|
||||||
identifier,
|
identifier,
|
||||||
x,
|
x,
|
||||||
y,
|
y,
|
||||||
#[cfg(feature = "v1_22")]
|
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
|
||||||
modifier_state: NavigationModifierType::empty(),
|
modifier_state: NavigationModifierType::empty(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -957,8 +951,6 @@ impl NavigationEvent {
|
||||||
pub fn new_touch_frame() -> NavigationEvent {
|
pub fn new_touch_frame() -> NavigationEvent {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
Self::TouchFrame {
|
Self::TouchFrame {
|
||||||
#[cfg(feature = "v1_22")]
|
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
|
||||||
modifier_state: NavigationModifierType::empty(),
|
modifier_state: NavigationModifierType::empty(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -969,8 +961,6 @@ impl NavigationEvent {
|
||||||
pub fn new_touch_cancel() -> NavigationEvent {
|
pub fn new_touch_cancel() -> NavigationEvent {
|
||||||
assert_initialized_main_thread!();
|
assert_initialized_main_thread!();
|
||||||
Self::TouchCancel {
|
Self::TouchCancel {
|
||||||
#[cfg(feature = "v1_22")]
|
|
||||||
#[cfg_attr(docsrs, doc(cfg(feature = "v1_22")))]
|
|
||||||
modifier_state: NavigationModifierType::empty(),
|
modifier_state: NavigationModifierType::empty(),
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue