gstreamer/element: Include ElementExtManual::request_pad_simple() in the docs too

Currently only the v1_20 ElementExt::request_pad_simple() appears in the
docs but it's available from the other trait in older versions.
This commit is contained in:
Sebastian Dröge 2021-06-30 12:25:27 +03:00
parent f33594bdd9
commit c44fde7279

View file

@ -270,7 +270,7 @@ pub trait ElementExtManual: 'static {
#[doc(alias = "get_current_clock_time")]
fn current_clock_time(&self) -> Option<crate::ClockTime>;
#[cfg(not(feature = "v1_20"))]
#[cfg(any(not(feature = "v1_20"), feature = "dox"))]
#[cfg_attr(feature = "dox", doc(cfg(not(feature = "v1_20"))))]
#[doc(alias = "gst_element_get_request_pad")]
#[doc(alias = "get_request_pad")]
@ -797,7 +797,7 @@ impl<O: IsA<Element>> ElementExtManual for O {
}
}
#[cfg(not(feature = "v1_20"))]
#[cfg(any(not(feature = "v1_20"), feature = "dox"))]
fn request_pad_simple(&self, name: &str) -> Option<Pad> {
unsafe {
from_glib_full(ffi::gst_element_get_request_pad(