diff --git a/gstreamer-webrtc/src/lib.rs b/gstreamer-webrtc/src/lib.rs index 97535e6e5..5711d809d 100644 --- a/gstreamer-webrtc/src/lib.rs +++ b/gstreamer-webrtc/src/lib.rs @@ -26,9 +26,6 @@ macro_rules! skip_assert_initialized { mod auto; pub use crate::auto::*; -#[cfg(any(feature = "v1_18", feature = "dox"))] -#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] -mod web_rtc_data_channel; mod web_rtc_session_description; // Re-export all the traits in a prelude module, so that applications diff --git a/gstreamer-webrtc/src/web_rtc_data_channel.rs b/gstreamer-webrtc/src/web_rtc_data_channel.rs deleted file mode 100644 index f3a0ee842..000000000 --- a/gstreamer-webrtc/src/web_rtc_data_channel.rs +++ /dev/null @@ -1,13 +0,0 @@ -// Take a look at the license at the top of the repository in the LICENSE file. - -use crate::WebRTCDataChannel; -use glib::translate::*; - -impl WebRTCDataChannel { - #[doc(alias = "gst_webrtc_data_channel_on_error")] - pub fn on_error(&self, error: glib::Error) { - unsafe { - ffi::gst_webrtc_data_channel_on_error(self.to_glib_none().0, error.into_raw()); - } - } -}