Commit 60c9cdfd authored by Víctor Manuel Jáquez Leal's avatar Víctor Manuel Jáquez Leal Committed by Sebastian Dröge

Update autogenerated code with latest gir

parent 1be9f590
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -39,3 +39,8 @@ pub fn type_find_helper_for_extension<'a, P: IsA<gst::Object> + 'a, Q: Into<Opti
//pub fn type_find_helper_get_range<'a, P: IsA<gst::Object>, Q: IsA<gst::Object> + 'a, R: Into<Option<&'a Q>>>(obj: &P, parent: R, func: /*Unknown conversion*//*Unimplemented*/TypeFindHelperGetRangeFunction, size: u64, extension: &str) -> (Option<gst::Caps>, gst::TypeFindProbability) {
// unsafe { TODO: call ffi::gst_type_find_helper_get_range() }
//}
//#[cfg(any(feature = "v1_14_3", feature = "dox"))]
//pub fn type_find_helper_get_range_full<'a, 'b, P: IsA<gst::Object>, Q: IsA<gst::Object> + 'a, R: Into<Option<&'a Q>>, S: Into<Option<&'b str>>>(obj: &P, parent: R, func: /*Unknown conversion*//*Unimplemented*/TypeFindHelperGetRangeFunction, size: u64, extension: S) -> (gst::FlowReturn, gst::Caps, gst::TypeFindProbability) {
// unsafe { TODO: call ffi::gst_type_find_helper_get_range_full() }
//}
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -37,7 +37,8 @@ impl NetClientClock {
}
}
pub fn set_property_address(&self, address: Option<&str>) {
pub fn set_property_address<'a, P: Into<Option<&'a str>>>(&self, address: P) {
let address = address.into();
unsafe {
gobject_ffi::g_object_set_property(self.to_glib_none().0, "address".to_glib_none().0, Value::from(address).to_glib_none().0);
}
......
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -292,7 +292,8 @@ impl Player {
}
}
pub fn set_property_suburi(&self, suburi: Option<&str>) {
pub fn set_property_suburi<'a, P: Into<Option<&'a str>>>(&self, suburi: P) {
let suburi = suburi.into();
unsafe {
gobject_ffi::g_object_set_property(self.to_glib_none().0, "suburi".to_glib_none().0, Value::from(suburi).to_glib_none().0);
}
......
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
......@@ -47,7 +47,8 @@ impl WebRTCDTLSTransport {
}
}
pub fn set_property_certificate(&self, certificate: Option<&str>) {
pub fn set_property_certificate<'a, P: Into<Option<&'a str>>>(&self, certificate: P) {
let certificate = certificate.into();
unsafe {
gobject_ffi::g_object_set_property(self.to_glib_none().0, "certificate".to_glib_none().0, Value::from(certificate).to_glib_none().0);
}
......
......@@ -63,7 +63,8 @@ impl StreamCollection {
}
}
pub fn set_property_upstream_id(&self, upstream_id: Option<&str>) {
pub fn set_property_upstream_id<'a, P: Into<Option<&'a str>>>(&self, upstream_id: P) {
let upstream_id = upstream_id.into();
unsafe {
gobject_ffi::g_object_set_property(self.to_glib_none().0, "upstream-id".to_glib_none().0, Value::from(upstream_id).to_glib_none().0);
}
......
Generated by gir (https://github.com/gtk-rs/gir @ c385982)
Generated by gir (https://github.com/gtk-rs/gir @ 82cdb44)
from gir-files (https://github.com/gtk-rs/gir-files @ ???)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment