Update autogenerated code with latest gir

This commit is contained in:
Víctor Manuel Jáquez Leal 2018-10-19 20:34:25 +02:00 committed by Sebastian Dröge
parent 1be9f59091
commit 60c9cdfda1
17 changed files with 25 additions and 16 deletions

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -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() }
//}

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -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);
}

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -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);
}

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -1,2 +1,2 @@
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 @ ???)

View file

@ -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);
}

View file

@ -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);
}

View file

@ -1,2 +1,2 @@
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 @ ???)