diff --git a/gstreamer/src/subclass/clock.rs b/gstreamer/src/subclass/clock.rs index 84678b22b..eca5d4ac3 100644 --- a/gstreamer/src/subclass/clock.rs +++ b/gstreamer/src/subclass/clock.rs @@ -56,10 +56,7 @@ pub trait ClockImplExt: ObjectSubclass { fn parent_unschedule(&self, id: &ClockId); - fn wake_id(&self, id: &ClockId) - where - Self: ObjectSubclass, - ::Type: IsA; + fn wake_id(&self, id: &ClockId); } impl ClockImplExt for T { @@ -170,11 +167,7 @@ impl ClockImplExt for T { } } - fn wake_id(&self, id: &ClockId) - where - Self: ObjectSubclass, - ::Type: IsA, - { + fn wake_id(&self, id: &ClockId) { let clock = self.instance(); let clock = unsafe { clock.unsafe_cast_ref::() };