diff --git a/gstreamer-app/src/auto/app_sink.rs b/gstreamer-app/src/auto/app_sink.rs index cde1f7279..79fa7ff6c 100644 --- a/gstreamer-app/src/auto/app_sink.rs +++ b/gstreamer-app/src/auto/app_sink.rs @@ -10,7 +10,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct AppSink(Object) @extends gst_base::BaseSink, gst::Element, gst::Object, @implements gst::URIHandler; match fn { @@ -64,7 +64,7 @@ impl AppSink { pub fn pull_preroll(&self) -> Result { unsafe { Option::<_>::from_glib_full(ffi::gst_app_sink_pull_preroll(self.to_glib_none().0)) - .ok_or_else(|| glib::glib_bool_error!("Failed to pull preroll sample")) + .ok_or_else(|| glib::bool_error!("Failed to pull preroll sample")) } } @@ -72,7 +72,7 @@ impl AppSink { pub fn pull_sample(&self) -> Result { unsafe { Option::<_>::from_glib_full(ffi::gst_app_sink_pull_sample(self.to_glib_none().0)) - .ok_or_else(|| glib::glib_bool_error!("Failed to pull sample")) + .ok_or_else(|| glib::bool_error!("Failed to pull sample")) } } diff --git a/gstreamer-app/src/auto/app_src.rs b/gstreamer-app/src/auto/app_src.rs index 67e54ddeb..0b2aaf47b 100644 --- a/gstreamer-app/src/auto/app_src.rs +++ b/gstreamer-app/src/auto/app_src.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct AppSrc(Object) @extends gst_base::BaseSrc, gst::Element, gst::Object, @implements gst::URIHandler; match fn { diff --git a/gstreamer-app/src/auto/versions.txt b/gstreamer-app/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-app/src/auto/versions.txt +++ b/gstreamer-app/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-app/sys/build.rs b/gstreamer-app/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-app/sys/build.rs +++ b/gstreamer-app/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-app/sys/src/lib.rs b/gstreamer-app/sys/src/lib.rs index 22e26bf76..fad1325dc 100644 --- a/gstreamer-app/sys/src/lib.rs +++ b/gstreamer-app/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-app/sys/tests/abi.rs b/gstreamer-app/sys/tests/abi.rs index a7c7f3e65..bab93d8ad 100644 --- a/gstreamer-app/sys/tests/abi.rs +++ b/gstreamer-app/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_app_sys::*; diff --git a/gstreamer-app/sys/tests/constant.c b/gstreamer-app/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-app/sys/tests/constant.c +++ b/gstreamer-app/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-app/sys/tests/layout.c b/gstreamer-app/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-app/sys/tests/layout.c +++ b/gstreamer-app/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-audio/src/auto/audio_base_sink.rs b/gstreamer-audio/src/auto/audio_base_sink.rs index 1097b3fec..dda535ceb 100644 --- a/gstreamer-audio/src/auto/audio_base_sink.rs +++ b/gstreamer-audio/src/auto/audio_base_sink.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct AudioBaseSink(Object) @extends gst_base::BaseSink, gst::Element, gst::Object; match fn { diff --git a/gstreamer-audio/src/auto/audio_base_src.rs b/gstreamer-audio/src/auto/audio_base_src.rs index 05bce6b05..8900525cc 100644 --- a/gstreamer-audio/src/auto/audio_base_src.rs +++ b/gstreamer-audio/src/auto/audio_base_src.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct AudioBaseSrc(Object) @extends gst_base::BaseSrc, gst::Element, gst::Object; match fn { diff --git a/gstreamer-audio/src/auto/audio_decoder.rs b/gstreamer-audio/src/auto/audio_decoder.rs index f083c9cb2..5df10245a 100644 --- a/gstreamer-audio/src/auto/audio_decoder.rs +++ b/gstreamer-audio/src/auto/audio_decoder.rs @@ -12,7 +12,7 @@ use std::boxed::Box as Box_; use std::mem; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct AudioDecoder(Object) @extends gst::Element, gst::Object; match fn { @@ -136,7 +136,7 @@ impl> AudioDecoderExt for O { self.as_ref().to_glib_none().0, size, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to allocate output buffer")) + .ok_or_else(|| glib::bool_error!("Failed to allocate output buffer")) } } diff --git a/gstreamer-audio/src/auto/audio_encoder.rs b/gstreamer-audio/src/auto/audio_encoder.rs index e333a9119..cebe3a008 100644 --- a/gstreamer-audio/src/auto/audio_encoder.rs +++ b/gstreamer-audio/src/auto/audio_encoder.rs @@ -11,7 +11,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct AudioEncoder(Object) @extends gst::Element, gst::Object; match fn { @@ -136,7 +136,7 @@ impl> AudioEncoderExt for O { self.as_ref().to_glib_none().0, size, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to allocate output buffer")) + .ok_or_else(|| glib::bool_error!("Failed to allocate output buffer")) } } diff --git a/gstreamer-audio/src/auto/audio_sink.rs b/gstreamer-audio/src/auto/audio_sink.rs index 9c54ca7d5..7b16b2ea2 100644 --- a/gstreamer-audio/src/auto/audio_sink.rs +++ b/gstreamer-audio/src/auto/audio_sink.rs @@ -5,7 +5,7 @@ use crate::AudioBaseSink; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct AudioSink(Object) @extends AudioBaseSink, gst_base::BaseSink, gst::Element, gst::Object; match fn { diff --git a/gstreamer-audio/src/auto/audio_src.rs b/gstreamer-audio/src/auto/audio_src.rs index 94ba7c3bb..301dca14d 100644 --- a/gstreamer-audio/src/auto/audio_src.rs +++ b/gstreamer-audio/src/auto/audio_src.rs @@ -5,7 +5,7 @@ use crate::AudioBaseSrc; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct AudioSrc(Object) @extends AudioBaseSrc, gst_base::BaseSrc, gst::Element, gst::Object; match fn { diff --git a/gstreamer-audio/src/auto/audio_stream_align.rs b/gstreamer-audio/src/auto/audio_stream_align.rs index dfb789929..0943c305b 100644 --- a/gstreamer-audio/src/auto/audio_stream_align.rs +++ b/gstreamer-audio/src/auto/audio_stream_align.rs @@ -6,7 +6,7 @@ #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))] use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct AudioStreamAlign(Boxed); diff --git a/gstreamer-audio/src/auto/stream_volume.rs b/gstreamer-audio/src/auto/stream_volume.rs index 0dfd6cc4f..540b8bed4 100644 --- a/gstreamer-audio/src/auto/stream_volume.rs +++ b/gstreamer-audio/src/auto/stream_volume.rs @@ -11,7 +11,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct StreamVolume(Interface); match fn { diff --git a/gstreamer-audio/src/auto/versions.txt b/gstreamer-audio/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-audio/src/auto/versions.txt +++ b/gstreamer-audio/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-audio/sys/build.rs b/gstreamer-audio/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-audio/sys/build.rs +++ b/gstreamer-audio/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-audio/sys/src/lib.rs b/gstreamer-audio/sys/src/lib.rs index 803cf6b4c..86776ebef 100644 --- a/gstreamer-audio/sys/src/lib.rs +++ b/gstreamer-audio/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-audio/sys/tests/abi.rs b/gstreamer-audio/sys/tests/abi.rs index bc8ab010b..b272bb757 100644 --- a/gstreamer-audio/sys/tests/abi.rs +++ b/gstreamer-audio/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_audio_sys::*; diff --git a/gstreamer-audio/sys/tests/constant.c b/gstreamer-audio/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-audio/sys/tests/constant.c +++ b/gstreamer-audio/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-audio/sys/tests/layout.c b/gstreamer-audio/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-audio/sys/tests/layout.c +++ b/gstreamer-audio/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-base/src/auto/adapter.rs b/gstreamer-base/src/auto/adapter.rs index b0a12f2a1..d018b8a46 100644 --- a/gstreamer-base/src/auto/adapter.rs +++ b/gstreamer-base/src/auto/adapter.rs @@ -6,7 +6,7 @@ use glib::translate::*; use glib::ObjectExt; use std::mem; -glib::glib_wrapper! { +glib::wrapper! { pub struct Adapter(Object); match fn { diff --git a/gstreamer-base/src/auto/aggregator.rs b/gstreamer-base/src/auto/aggregator.rs index 37acd1304..1dcd9c824 100644 --- a/gstreamer-base/src/auto/aggregator.rs +++ b/gstreamer-base/src/auto/aggregator.rs @@ -17,7 +17,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Aggregator(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/aggregator_pad.rs b/gstreamer-base/src/auto/aggregator_pad.rs index d5407ca8d..f2520b888 100644 --- a/gstreamer-base/src/auto/aggregator_pad.rs +++ b/gstreamer-base/src/auto/aggregator_pad.rs @@ -13,7 +13,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct AggregatorPad(Object) @extends gst::Pad, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/base_parse.rs b/gstreamer-base/src/auto/base_parse.rs index eda08b494..f139b3d07 100644 --- a/gstreamer-base/src/auto/base_parse.rs +++ b/gstreamer-base/src/auto/base_parse.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct BaseParse(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/base_sink.rs b/gstreamer-base/src/auto/base_sink.rs index a994ad4c3..1f5306269 100644 --- a/gstreamer-base/src/auto/base_sink.rs +++ b/gstreamer-base/src/auto/base_sink.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct BaseSink(Object) @extends gst::Element, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/base_src.rs b/gstreamer-base/src/auto/base_src.rs index bbc94dde4..3030ef61c 100644 --- a/gstreamer-base/src/auto/base_src.rs +++ b/gstreamer-base/src/auto/base_src.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct BaseSrc(Object) @extends gst::Element, gst::Object; match fn { @@ -178,7 +178,7 @@ impl> BaseSrcExt for O { fn set_caps(&self, caps: &gst::Caps) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_base_src_set_caps(self.as_ref().to_glib_none().0, caps.to_glib_none().0), "Failed to set caps" ) diff --git a/gstreamer-base/src/auto/base_transform.rs b/gstreamer-base/src/auto/base_transform.rs index e037f109f..0e487948c 100644 --- a/gstreamer-base/src/auto/base_transform.rs +++ b/gstreamer-base/src/auto/base_transform.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct BaseTransform(Object) @extends gst::Element, gst::Object; match fn { @@ -199,7 +199,7 @@ impl> BaseTransformExt for O { fn update_src_caps(&self, updated_caps: &gst::Caps) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_base_transform_update_src_caps( self.as_ref().to_glib_none().0, updated_caps.to_glib_none().0 diff --git a/gstreamer-base/src/auto/functions.rs b/gstreamer-base/src/auto/functions.rs index e29f6dad2..8f30394a8 100644 --- a/gstreamer-base/src/auto/functions.rs +++ b/gstreamer-base/src/auto/functions.rs @@ -16,7 +16,7 @@ pub fn type_find_helper>( src.as_ref().to_glib_none().0, size, )) - .ok_or_else(|| glib::glib_bool_error!("Could not find type")) + .ok_or_else(|| glib::bool_error!("Could not find type")) } } @@ -31,7 +31,7 @@ pub fn type_find_helper_for_extension>( obj.map(|p| p.as_ref()).to_glib_none().0, extension.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Could not find type")) + .ok_or_else(|| glib::bool_error!("Could not find type")) } } diff --git a/gstreamer-base/src/auto/push_src.rs b/gstreamer-base/src/auto/push_src.rs index c557149d5..1365c2ae7 100644 --- a/gstreamer-base/src/auto/push_src.rs +++ b/gstreamer-base/src/auto/push_src.rs @@ -5,7 +5,7 @@ use crate::BaseSrc; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct PushSrc(Object) @extends BaseSrc, gst::Element, gst::Object; match fn { diff --git a/gstreamer-base/src/auto/versions.txt b/gstreamer-base/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-base/src/auto/versions.txt +++ b/gstreamer-base/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-base/sys/build.rs b/gstreamer-base/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-base/sys/build.rs +++ b/gstreamer-base/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-base/sys/src/lib.rs b/gstreamer-base/sys/src/lib.rs index 8ab7fed7f..80ea6ccbc 100644 --- a/gstreamer-base/sys/src/lib.rs +++ b/gstreamer-base/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-base/sys/tests/abi.rs b/gstreamer-base/sys/tests/abi.rs index 65bdbe548..8a25be10b 100644 --- a/gstreamer-base/sys/tests/abi.rs +++ b/gstreamer-base/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_base_sys::*; diff --git a/gstreamer-base/sys/tests/constant.c b/gstreamer-base/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-base/sys/tests/constant.c +++ b/gstreamer-base/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-base/sys/tests/layout.c b/gstreamer-base/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-base/sys/tests/layout.c +++ b/gstreamer-base/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-check/src/auto/test_clock.rs b/gstreamer-check/src/auto/test_clock.rs index 36a06cc23..b0fa8ac32 100644 --- a/gstreamer-check/src/auto/test_clock.rs +++ b/gstreamer-check/src/auto/test_clock.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct TestClock(Object) @extends gst::Clock, gst::Object; match fn { diff --git a/gstreamer-check/src/auto/versions.txt b/gstreamer-check/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-check/src/auto/versions.txt +++ b/gstreamer-check/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-check/sys/build.rs b/gstreamer-check/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-check/sys/build.rs +++ b/gstreamer-check/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-check/sys/src/lib.rs b/gstreamer-check/sys/src/lib.rs index e0907fd72..1b838d571 100644 --- a/gstreamer-check/sys/src/lib.rs +++ b/gstreamer-check/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-check/sys/tests/abi.rs b/gstreamer-check/sys/tests/abi.rs index b08fc2aab..0060662b7 100644 --- a/gstreamer-check/sys/tests/abi.rs +++ b/gstreamer-check/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_check_sys::*; diff --git a/gstreamer-check/sys/tests/constant.c b/gstreamer-check/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-check/sys/tests/constant.c +++ b/gstreamer-check/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-check/sys/tests/layout.c b/gstreamer-check/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-check/sys/tests/layout.c +++ b/gstreamer-check/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-controller/src/auto/argb_control_binding.rs b/gstreamer-controller/src/auto/argb_control_binding.rs index 48819d36a..890049b6c 100644 --- a/gstreamer-controller/src/auto/argb_control_binding.rs +++ b/gstreamer-controller/src/auto/argb_control_binding.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct ARGBControlBinding(Object) @extends gst::ControlBinding, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/direct_control_binding.rs b/gstreamer-controller/src/auto/direct_control_binding.rs index 41384aa1d..e9f5de642 100644 --- a/gstreamer-controller/src/auto/direct_control_binding.rs +++ b/gstreamer-controller/src/auto/direct_control_binding.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct DirectControlBinding(Object) @extends gst::ControlBinding, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/interpolation_control_source.rs b/gstreamer-controller/src/auto/interpolation_control_source.rs index 68e4ef8c0..9feaffa9f 100644 --- a/gstreamer-controller/src/auto/interpolation_control_source.rs +++ b/gstreamer-controller/src/auto/interpolation_control_source.rs @@ -13,7 +13,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct InterpolationControlSource(Object) @extends TimedValueControlSource, gst::ControlSource, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/lfo_control_source.rs b/gstreamer-controller/src/auto/lfo_control_source.rs index 6a18121d7..5065c07f4 100644 --- a/gstreamer-controller/src/auto/lfo_control_source.rs +++ b/gstreamer-controller/src/auto/lfo_control_source.rs @@ -12,7 +12,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct LFOControlSource(Object) @extends gst::ControlSource, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/proxy_control_binding.rs b/gstreamer-controller/src/auto/proxy_control_binding.rs index 8e7a20fba..2ec99a27f 100644 --- a/gstreamer-controller/src/auto/proxy_control_binding.rs +++ b/gstreamer-controller/src/auto/proxy_control_binding.rs @@ -10,7 +10,7 @@ use glib::object::Cast; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct ProxyControlBinding(Object) @extends gst::ControlBinding, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/timed_value_control_source.rs b/gstreamer-controller/src/auto/timed_value_control_source.rs index e2b9348dd..70f339c22 100644 --- a/gstreamer-controller/src/auto/timed_value_control_source.rs +++ b/gstreamer-controller/src/auto/timed_value_control_source.rs @@ -11,7 +11,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct TimedValueControlSource(Object) @extends gst::ControlSource, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/trigger_control_source.rs b/gstreamer-controller/src/auto/trigger_control_source.rs index bc0ae5211..d3f967b86 100644 --- a/gstreamer-controller/src/auto/trigger_control_source.rs +++ b/gstreamer-controller/src/auto/trigger_control_source.rs @@ -12,7 +12,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct TriggerControlSource(Object) @extends TimedValueControlSource, gst::ControlSource, gst::Object; match fn { diff --git a/gstreamer-controller/src/auto/versions.txt b/gstreamer-controller/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-controller/src/auto/versions.txt +++ b/gstreamer-controller/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-controller/sys/build.rs b/gstreamer-controller/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-controller/sys/build.rs +++ b/gstreamer-controller/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-controller/sys/src/lib.rs b/gstreamer-controller/sys/src/lib.rs index 54dd00b92..13a63e1dd 100644 --- a/gstreamer-controller/sys/src/lib.rs +++ b/gstreamer-controller/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-controller/sys/tests/abi.rs b/gstreamer-controller/sys/tests/abi.rs index 80386371d..b27341e88 100644 --- a/gstreamer-controller/sys/tests/abi.rs +++ b/gstreamer-controller/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_controller_sys::*; diff --git a/gstreamer-controller/sys/tests/constant.c b/gstreamer-controller/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-controller/sys/tests/constant.c +++ b/gstreamer-controller/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-controller/sys/tests/layout.c b/gstreamer-controller/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-controller/sys/tests/layout.c +++ b/gstreamer-controller/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-editing-services/src/auto/asset.rs b/gstreamer-editing-services/src/auto/asset.rs index a2ad44f4f..e27993138 100644 --- a/gstreamer-editing-services/src/auto/asset.rs +++ b/gstreamer-editing-services/src/auto/asset.rs @@ -13,7 +13,7 @@ use std::mem::transmute; use std::pin::Pin; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Asset(Object); match fn { @@ -201,7 +201,7 @@ impl> AssetExt for O { fn set_proxy>(&self, proxy: Option<&P>) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_asset_set_proxy( self.as_ref().to_glib_none().0, proxy.map(|p| p.as_ref()).to_glib_none().0 @@ -213,7 +213,7 @@ impl> AssetExt for O { fn unproxy>(&self, proxy: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_asset_unproxy( self.as_ref().to_glib_none().0, proxy.as_ref().to_glib_none().0 diff --git a/gstreamer-editing-services/src/auto/base_effect.rs b/gstreamer-editing-services/src/auto/base_effect.rs index 8ea816c94..8edf4f83f 100644 --- a/gstreamer-editing-services/src/auto/base_effect.rs +++ b/gstreamer-editing-services/src/auto/base_effect.rs @@ -8,7 +8,7 @@ use crate::TrackElement; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct BaseEffect(Object) @extends TrackElement, TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/clip.rs b/gstreamer-editing-services/src/auto/clip.rs index 99f751752..f9424277e 100644 --- a/gstreamer-editing-services/src/auto/clip.rs +++ b/gstreamer-editing-services/src/auto/clip.rs @@ -25,7 +25,7 @@ use std::mem::transmute; #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Clip(Object) @extends Container, TimelineElement, @implements Extractable; match fn { @@ -184,7 +184,7 @@ impl> ClipExt for O { self.as_ref().to_glib_none().0, asset.as_ref().to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to add asset")) + .ok_or_else(|| glib::bool_error!("Failed to add asset")) } } @@ -381,7 +381,7 @@ impl> ClipExt for O { fn move_to_layer>(&self, layer: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_clip_move_to_layer( self.as_ref().to_glib_none().0, layer.as_ref().to_glib_none().0 @@ -442,7 +442,7 @@ impl> ClipExt for O { newindex: u32, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_clip_set_top_effect_index( self.as_ref().to_glib_none().0, effect.as_ref().to_glib_none().0, @@ -482,7 +482,7 @@ impl> ClipExt for O { newpriority: u32, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_clip_set_top_effect_priority( self.as_ref().to_glib_none().0, effect.as_ref().to_glib_none().0, @@ -499,7 +499,7 @@ impl> ClipExt for O { self.as_ref().to_glib_none().0, position, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to split clip")) + .ok_or_else(|| glib::bool_error!("Failed to split clip")) } } diff --git a/gstreamer-editing-services/src/auto/container.rs b/gstreamer-editing-services/src/auto/container.rs index 002d70487..7b87232f9 100644 --- a/gstreamer-editing-services/src/auto/container.rs +++ b/gstreamer-editing-services/src/auto/container.rs @@ -16,7 +16,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Container(Object) @extends TimelineElement, @implements Extractable; match fn { @@ -76,7 +76,7 @@ pub trait GESContainerExt: 'static { impl> GESContainerExt for O { fn add>(&self, child: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_container_add( self.as_ref().to_glib_none().0, child.as_ref().to_glib_none().0 @@ -95,7 +95,7 @@ impl> GESContainerExt for O { position: u64, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_container_edit( self.as_ref().to_glib_none().0, layers.to_glib_none().0, @@ -120,7 +120,7 @@ impl> GESContainerExt for O { fn remove>(&self, child: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_container_remove( self.as_ref().to_glib_none().0, child.as_ref().to_glib_none().0 diff --git a/gstreamer-editing-services/src/auto/effect.rs b/gstreamer-editing-services/src/auto/effect.rs index 59fa11a26..870131096 100644 --- a/gstreamer-editing-services/src/auto/effect.rs +++ b/gstreamer-editing-services/src/auto/effect.rs @@ -10,7 +10,7 @@ use glib::object::IsA; use glib::translate::*; use glib::StaticType; -glib::glib_wrapper! { +glib::wrapper! { pub struct Effect(Object) @extends BaseEffect, TrackElement, TimelineElement, @implements Extractable; match fn { @@ -24,7 +24,7 @@ impl Effect { assert_initialized_main_thread!(); unsafe { Option::<_>::from_glib_none(ffi::ges_effect_new(bin_description.to_glib_none().0)) - .ok_or_else(|| glib::glib_bool_error!("Failed to create effect from description")) + .ok_or_else(|| glib::bool_error!("Failed to create effect from description")) } } } diff --git a/gstreamer-editing-services/src/auto/extractable.rs b/gstreamer-editing-services/src/auto/extractable.rs index 44e19f8b2..703f79422 100644 --- a/gstreamer-editing-services/src/auto/extractable.rs +++ b/gstreamer-editing-services/src/auto/extractable.rs @@ -6,7 +6,7 @@ use crate::Asset; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct Extractable(Interface); match fn { @@ -42,7 +42,7 @@ impl> ExtractableExt for O { fn set_asset>(&self, asset: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_extractable_set_asset( self.as_ref().to_glib_none().0, asset.as_ref().to_glib_none().0 diff --git a/gstreamer-editing-services/src/auto/group.rs b/gstreamer-editing-services/src/auto/group.rs index 785c4a7a4..df7b2d89a 100644 --- a/gstreamer-editing-services/src/auto/group.rs +++ b/gstreamer-editing-services/src/auto/group.rs @@ -14,7 +14,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Group(Object) @extends Container, TimelineElement, @implements Extractable; match fn { diff --git a/gstreamer-editing-services/src/auto/layer.rs b/gstreamer-editing-services/src/auto/layer.rs index fa672fb09..9a6af0c4e 100644 --- a/gstreamer-editing-services/src/auto/layer.rs +++ b/gstreamer-editing-services/src/auto/layer.rs @@ -21,7 +21,7 @@ use std::mem::transmute; #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Layer(Object) @implements Extractable; match fn { @@ -155,7 +155,7 @@ impl> LayerExt for O { duration.to_glib(), track_types.to_glib(), )) - .ok_or_else(|| glib::glib_bool_error!("Failed to add asset")) + .ok_or_else(|| glib::bool_error!("Failed to add asset")) } } @@ -190,7 +190,7 @@ impl> LayerExt for O { fn add_clip>(&self, clip: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_layer_add_clip( self.as_ref().to_glib_none().0, clip.as_ref().to_glib_none().0 @@ -273,7 +273,7 @@ impl> LayerExt for O { fn remove_clip>(&self, clip: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_layer_remove_clip( self.as_ref().to_glib_none().0, clip.as_ref().to_glib_none().0 diff --git a/gstreamer-editing-services/src/auto/pipeline.rs b/gstreamer-editing-services/src/auto/pipeline.rs index 79d35041d..3949fd586 100644 --- a/gstreamer-editing-services/src/auto/pipeline.rs +++ b/gstreamer-editing-services/src/auto/pipeline.rs @@ -14,7 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Pipeline(Object) @extends gst::Pipeline, gst::Element, gst::Object; match fn { @@ -200,7 +200,7 @@ impl> GESPipelineExt for O { fn set_mode(&self, mode: PipelineFlags) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_pipeline_set_mode(self.as_ref().to_glib_none().0, mode.to_glib()), "Failed to set mode" ) @@ -213,7 +213,7 @@ impl> GESPipelineExt for O { profile: &P, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_pipeline_set_render_settings( self.as_ref().to_glib_none().0, output_uri.to_glib_none().0, @@ -226,7 +226,7 @@ impl> GESPipelineExt for O { fn set_timeline>(&self, timeline: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_pipeline_set_timeline( self.as_ref().to_glib_none().0, timeline.as_ref().to_glib_full() diff --git a/gstreamer-editing-services/src/auto/project.rs b/gstreamer-editing-services/src/auto/project.rs index 14c1a9eae..9ba59ff0a 100644 --- a/gstreamer-editing-services/src/auto/project.rs +++ b/gstreamer-editing-services/src/auto/project.rs @@ -13,7 +13,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Project(Object) @extends Asset; match fn { @@ -131,7 +131,7 @@ impl> ProjectExt for O { profile: &P, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_project_add_encoding_profile( self.as_ref().to_glib_none().0, profile.as_ref().to_glib_none().0 @@ -235,7 +235,7 @@ impl> ProjectExt for O { fn remove_asset>(&self, asset: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_project_remove_asset( self.as_ref().to_glib_none().0, asset.as_ref().to_glib_none().0 diff --git a/gstreamer-editing-services/src/auto/timeline.rs b/gstreamer-editing-services/src/auto/timeline.rs index 91726ba65..310e9f034 100644 --- a/gstreamer-editing-services/src/auto/timeline.rs +++ b/gstreamer-editing-services/src/auto/timeline.rs @@ -24,7 +24,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Timeline(Object) @extends gst::Element, gst::Object, @implements Extractable; match fn { @@ -217,7 +217,7 @@ pub trait TimelineExt: 'static { impl> TimelineExt for O { fn add_layer>(&self, layer: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_add_layer( self.as_ref().to_glib_none().0, layer.as_ref().to_glib_none().0 @@ -229,7 +229,7 @@ impl> TimelineExt for O { fn add_track>(&self, track: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_add_track( self.as_ref().to_glib_none().0, track.as_ref().to_glib_full() @@ -390,7 +390,7 @@ impl> TimelineExt for O { new_layer_priority: u32, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_move_layer( self.as_ref().to_glib_none().0, layer.as_ref().to_glib_none().0, @@ -419,7 +419,7 @@ impl> TimelineExt for O { fn remove_layer>(&self, layer: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_remove_layer( self.as_ref().to_glib_none().0, layer.as_ref().to_glib_none().0 @@ -431,7 +431,7 @@ impl> TimelineExt for O { fn remove_track>(&self, track: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_remove_track( self.as_ref().to_glib_none().0, track.as_ref().to_glib_none().0 diff --git a/gstreamer-editing-services/src/auto/timeline_element.rs b/gstreamer-editing-services/src/auto/timeline_element.rs index 481245095..44348f9c2 100644 --- a/gstreamer-editing-services/src/auto/timeline_element.rs +++ b/gstreamer-editing-services/src/auto/timeline_element.rs @@ -29,7 +29,7 @@ use std::mem::transmute; #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct TimelineElement(Object) @implements Extractable; match fn { @@ -241,7 +241,7 @@ impl> TimelineElementExt for O { self.as_ref().to_glib_none().0, deep.to_glib(), )) - .ok_or_else(|| glib::glib_bool_error!("Failed to copy timeline element")) + .ok_or_else(|| glib::bool_error!("Failed to copy timeline element")) } } @@ -427,7 +427,7 @@ impl> TimelineElementExt for O { self.as_ref().to_glib_none().0, paste_position.to_glib(), )) - .ok_or_else(|| glib::glib_bool_error!("Failed to paste timeline element")) + .ok_or_else(|| glib::bool_error!("Failed to paste timeline element")) } } @@ -437,7 +437,7 @@ impl> TimelineElementExt for O { fn ripple(&self, start: gst::ClockTime) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_element_ripple(self.as_ref().to_glib_none().0, start.to_glib()), "Failed to ripple" ) @@ -446,7 +446,7 @@ impl> TimelineElementExt for O { fn ripple_end(&self, end: gst::ClockTime) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_element_ripple_end(self.as_ref().to_glib_none().0, end.to_glib()), "Failed to ripple" ) @@ -455,7 +455,7 @@ impl> TimelineElementExt for O { fn roll_end(&self, end: gst::ClockTime) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_element_roll_end(self.as_ref().to_glib_none().0, end.to_glib()), "Failed to roll" ) @@ -464,7 +464,7 @@ impl> TimelineElementExt for O { fn roll_start(&self, start: gst::ClockTime) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_element_roll_start( self.as_ref().to_glib_none().0, start.to_glib() @@ -525,7 +525,7 @@ impl> TimelineElementExt for O { fn set_name(&self, name: Option<&str>) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_element_set_name( self.as_ref().to_glib_none().0, name.to_glib_none().0 @@ -540,7 +540,7 @@ impl> TimelineElementExt for O { parent: &P, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_element_set_parent( self.as_ref().to_glib_none().0, parent.as_ref().to_glib_none().0 @@ -570,7 +570,7 @@ impl> TimelineElementExt for O { fn set_timeline>(&self, timeline: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_element_set_timeline( self.as_ref().to_glib_none().0, timeline.as_ref().to_glib_none().0 @@ -582,7 +582,7 @@ impl> TimelineElementExt for O { fn trim(&self, start: gst::ClockTime) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_timeline_element_trim(self.as_ref().to_glib_none().0, start.to_glib()), "Failed to trim" ) diff --git a/gstreamer-editing-services/src/auto/track.rs b/gstreamer-editing-services/src/auto/track.rs index fd141fa2d..f0813aba1 100644 --- a/gstreamer-editing-services/src/auto/track.rs +++ b/gstreamer-editing-services/src/auto/track.rs @@ -17,7 +17,7 @@ use std::mem::transmute; #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Track(Object) @extends gst::Element, gst::Object; match fn { @@ -133,7 +133,7 @@ pub trait GESTrackExt: 'static { impl> GESTrackExt for O { fn add_element>(&self, object: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_track_add_element( self.as_ref().to_glib_none().0, object.as_ref().to_glib_none().0 @@ -200,7 +200,7 @@ impl> GESTrackExt for O { object: &P, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_track_remove_element( self.as_ref().to_glib_none().0, object.as_ref().to_glib_none().0 diff --git a/gstreamer-editing-services/src/auto/track_element.rs b/gstreamer-editing-services/src/auto/track_element.rs index d747733c2..93c441159 100644 --- a/gstreamer-editing-services/src/auto/track_element.rs +++ b/gstreamer-editing-services/src/auto/track_element.rs @@ -18,7 +18,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct TrackElement(Object) @extends TimelineElement, @implements Extractable; match fn { @@ -186,7 +186,7 @@ impl> TrackElementExt for O { position: u64, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_track_element_edit( self.as_ref().to_glib_none().0, layers.to_glib_none().0, @@ -291,7 +291,7 @@ impl> TrackElementExt for O { fn remove_control_binding(&self, property_name: &str) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::ges_track_element_remove_control_binding( self.as_ref().to_glib_none().0, property_name.to_glib_none().0 diff --git a/gstreamer-editing-services/src/auto/uri_clip.rs b/gstreamer-editing-services/src/auto/uri_clip.rs index 46dcc95d7..187ed30ce 100644 --- a/gstreamer-editing-services/src/auto/uri_clip.rs +++ b/gstreamer-editing-services/src/auto/uri_clip.rs @@ -15,7 +15,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct UriClip(Object) @extends Clip, Container, TimelineElement, @implements Extractable; match fn { @@ -29,7 +29,7 @@ impl UriClip { assert_initialized_main_thread!(); unsafe { Option::<_>::from_glib_none(ffi::ges_uri_clip_new(uri.to_glib_none().0)) - .ok_or_else(|| glib::glib_bool_error!("Failed to create Uri clip from Uri")) + .ok_or_else(|| glib::bool_error!("Failed to create Uri clip from Uri")) } } } diff --git a/gstreamer-editing-services/src/auto/uri_clip_asset.rs b/gstreamer-editing-services/src/auto/uri_clip_asset.rs index e2fe12a55..0bf7cc26a 100644 --- a/gstreamer-editing-services/src/auto/uri_clip_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_clip_asset.rs @@ -16,7 +16,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct UriClipAsset(Object) @extends Asset; match fn { diff --git a/gstreamer-editing-services/src/auto/uri_source_asset.rs b/gstreamer-editing-services/src/auto/uri_source_asset.rs index a2c62c9e6..3220b5eea 100644 --- a/gstreamer-editing-services/src/auto/uri_source_asset.rs +++ b/gstreamer-editing-services/src/auto/uri_source_asset.rs @@ -7,7 +7,7 @@ use crate::UriClipAsset; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct UriSourceAsset(Object) @extends Asset; match fn { diff --git a/gstreamer-editing-services/src/auto/versions.txt b/gstreamer-editing-services/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-editing-services/src/auto/versions.txt +++ b/gstreamer-editing-services/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-editing-services/sys/build.rs b/gstreamer-editing-services/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-editing-services/sys/build.rs +++ b/gstreamer-editing-services/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-editing-services/sys/src/lib.rs b/gstreamer-editing-services/sys/src/lib.rs index 6dfcf4014..0cc8db902 100644 --- a/gstreamer-editing-services/sys/src/lib.rs +++ b/gstreamer-editing-services/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-editing-services/sys/tests/abi.rs b/gstreamer-editing-services/sys/tests/abi.rs index 70c0ec743..7bf47f7fd 100644 --- a/gstreamer-editing-services/sys/tests/abi.rs +++ b/gstreamer-editing-services/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_editing_services_sys::*; diff --git a/gstreamer-editing-services/sys/tests/constant.c b/gstreamer-editing-services/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-editing-services/sys/tests/constant.c +++ b/gstreamer-editing-services/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-editing-services/sys/tests/layout.c b/gstreamer-editing-services/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-editing-services/sys/tests/layout.c +++ b/gstreamer-editing-services/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/egl/src/auto/gl_display_egl.rs b/gstreamer-gl/egl/src/auto/gl_display_egl.rs index 5516476ed..f684ba8e3 100644 --- a/gstreamer-gl/egl/src/auto/gl_display_egl.rs +++ b/gstreamer-gl/egl/src/auto/gl_display_egl.rs @@ -5,7 +5,7 @@ use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLDisplayEGL(Object) @extends gst_gl::GLDisplay, gst::Object; match fn { diff --git a/gstreamer-gl/egl/src/auto/versions.txt b/gstreamer-gl/egl/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-gl/egl/src/auto/versions.txt +++ b/gstreamer-gl/egl/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-gl/egl/sys/build.rs b/gstreamer-gl/egl/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-gl/egl/sys/build.rs +++ b/gstreamer-gl/egl/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-gl/egl/sys/src/lib.rs b/gstreamer-gl/egl/sys/src/lib.rs index 1455bd646..97b281f59 100644 --- a/gstreamer-gl/egl/sys/src/lib.rs +++ b/gstreamer-gl/egl/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-gl/egl/sys/tests/abi.rs b/gstreamer-gl/egl/sys/tests/abi.rs index 0127db9ad..281313838 100644 --- a/gstreamer-gl/egl/sys/tests/abi.rs +++ b/gstreamer-gl/egl/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_gl_egl_sys::*; diff --git a/gstreamer-gl/egl/sys/tests/constant.c b/gstreamer-gl/egl/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-gl/egl/sys/tests/constant.c +++ b/gstreamer-gl/egl/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/egl/sys/tests/layout.c b/gstreamer-gl/egl/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-gl/egl/sys/tests/layout.c +++ b/gstreamer-gl/egl/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/src/auto/gl_base_filter.rs b/gstreamer-gl/src/auto/gl_base_filter.rs index f832b0ce7..a68203861 100644 --- a/gstreamer-gl/src/auto/gl_base_filter.rs +++ b/gstreamer-gl/src/auto/gl_base_filter.rs @@ -12,7 +12,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLBaseFilter(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_color_convert.rs b/gstreamer-gl/src/auto/gl_color_convert.rs index 41a4cab41..283073984 100644 --- a/gstreamer-gl/src/auto/gl_color_convert.rs +++ b/gstreamer-gl/src/auto/gl_color_convert.rs @@ -6,7 +6,7 @@ use crate::GLContext; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLColorConvert(Object) @extends gst::Object; match fn { @@ -32,7 +32,7 @@ impl GLColorConvert { out_caps: &gst::Caps, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_gl_color_convert_set_caps( self.to_glib_none().0, in_caps.to_glib_none().0, diff --git a/gstreamer-gl/src/auto/gl_context.rs b/gstreamer-gl/src/auto/gl_context.rs index b395a367a..85a98c627 100644 --- a/gstreamer-gl/src/auto/gl_context.rs +++ b/gstreamer-gl/src/auto/gl_context.rs @@ -13,7 +13,7 @@ use glib::translate::*; use std::mem; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLContext(Object) @extends gst::Object; match fn { @@ -135,7 +135,7 @@ pub trait GLContextExt: 'static { impl> GLContextExt for O { fn activate(&self, activate: bool) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_gl_context_activate(self.as_ref().to_glib_none().0, activate.to_glib()), "Failed to activate OpenGL context" ) @@ -307,7 +307,7 @@ impl> GLContextExt for O { fn set_window>(&self, window: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_gl_context_set_window( self.as_ref().to_glib_none().0, window.as_ref().to_glib_full() diff --git a/gstreamer-gl/src/auto/gl_display.rs b/gstreamer-gl/src/auto/gl_display.rs index cc6f39cc4..79bb83c8c 100644 --- a/gstreamer-gl/src/auto/gl_display.rs +++ b/gstreamer-gl/src/auto/gl_display.rs @@ -15,7 +15,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLDisplay(Object) @extends gst::Object; match fn { @@ -89,7 +89,7 @@ pub trait GLDisplayExt: 'static { impl> GLDisplayExt for O { fn add_context>(&self, context: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_gl_display_add_context( self.as_ref().to_glib_none().0, context.as_ref().to_glib_none().0 @@ -125,7 +125,7 @@ impl> GLDisplayExt for O { Option::<_>::from_glib_full(ffi::gst_gl_display_create_window( self.as_ref().to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to create window")) + .ok_or_else(|| glib::bool_error!("Failed to create window")) } } @@ -172,7 +172,7 @@ impl> GLDisplayExt for O { fn remove_window>(&self, window: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_gl_display_remove_window( self.as_ref().to_glib_none().0, window.as_ref().to_glib_none().0 diff --git a/gstreamer-gl/src/auto/gl_framebuffer.rs b/gstreamer-gl/src/auto/gl_framebuffer.rs index 47cf2c054..70e551b45 100644 --- a/gstreamer-gl/src/auto/gl_framebuffer.rs +++ b/gstreamer-gl/src/auto/gl_framebuffer.rs @@ -7,7 +7,7 @@ use glib::object::IsA; use glib::translate::*; use std::mem; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLFramebuffer(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_overlay_compositor.rs b/gstreamer-gl/src/auto/gl_overlay_compositor.rs index d67284434..1312621da 100644 --- a/gstreamer-gl/src/auto/gl_overlay_compositor.rs +++ b/gstreamer-gl/src/auto/gl_overlay_compositor.rs @@ -24,7 +24,7 @@ use std::boxed::Box as Box_; #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))] use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLOverlayCompositor(Object) @extends gst::Object; match fn { diff --git a/gstreamer-gl/src/auto/gl_shader.rs b/gstreamer-gl/src/auto/gl_shader.rs index 39b4b5b0a..949c86cd2 100644 --- a/gstreamer-gl/src/auto/gl_shader.rs +++ b/gstreamer-gl/src/auto/gl_shader.rs @@ -20,7 +20,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLShader(Object) @extends gst::Object; match fn { @@ -62,7 +62,7 @@ impl GLShader { #[doc(alias = "gst_gl_shader_attach")] pub fn attach(&self, stage: &GLSLStage) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_gl_shader_attach(self.to_glib_none().0, stage.to_glib_none().0), "Failed to attach stage to shader" ) @@ -72,7 +72,7 @@ impl GLShader { #[doc(alias = "gst_gl_shader_attach_unlocked")] pub fn attach_unlocked(&self, stage: &GLSLStage) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_gl_shader_attach_unlocked(self.to_glib_none().0, stage.to_glib_none().0), "Failed to attach stage to shader" ) diff --git a/gstreamer-gl/src/auto/gl_upload.rs b/gstreamer-gl/src/auto/gl_upload.rs index e25800627..287e0d3d4 100644 --- a/gstreamer-gl/src/auto/gl_upload.rs +++ b/gstreamer-gl/src/auto/gl_upload.rs @@ -7,7 +7,7 @@ use glib::object::IsA; use glib::translate::*; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLUpload(Object) @extends gst::Object; match fn { @@ -39,7 +39,7 @@ impl GLUpload { out_caps: &gst::Caps, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_gl_upload_set_caps( self.to_glib_none().0, in_caps.to_glib_none().0, diff --git a/gstreamer-gl/src/auto/gl_view_convert.rs b/gstreamer-gl/src/auto/gl_view_convert.rs index eeda59f7d..d0408dfc5 100644 --- a/gstreamer-gl/src/auto/gl_view_convert.rs +++ b/gstreamer-gl/src/auto/gl_view_convert.rs @@ -13,7 +13,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLViewConvert(Object) @extends gst::Object; match fn { @@ -52,7 +52,7 @@ impl GLViewConvert { out_caps: &gst::Caps, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_gl_view_convert_set_caps( self.to_glib_none().0, in_caps.to_glib_none().0, diff --git a/gstreamer-gl/src/auto/gl_window.rs b/gstreamer-gl/src/auto/gl_window.rs index 4a33b353b..d6e3df3a9 100644 --- a/gstreamer-gl/src/auto/gl_window.rs +++ b/gstreamer-gl/src/auto/gl_window.rs @@ -13,7 +13,7 @@ use std::boxed::Box as Box_; use std::mem; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLWindow(Object) @extends gst::Object; match fn { @@ -246,7 +246,7 @@ impl> GLWindowExt for O { height: i32, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_gl_window_set_render_rectangle( self.as_ref().to_glib_none().0, x, diff --git a/gstreamer-gl/src/auto/glsl_stage.rs b/gstreamer-gl/src/auto/glsl_stage.rs index 958b93482..40bbff04e 100644 --- a/gstreamer-gl/src/auto/glsl_stage.rs +++ b/gstreamer-gl/src/auto/glsl_stage.rs @@ -9,7 +9,7 @@ use glib::object::IsA; use glib::translate::*; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLSLStage(Object) @extends gst::Object; match fn { @@ -133,7 +133,7 @@ impl GLSLStage { ) -> Result<(), glib::error::BoolError> { let n_strings = str.len() as i32; unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_glsl_stage_set_strings( self.to_glib_none().0, version.to_glib(), diff --git a/gstreamer-gl/src/auto/versions.txt b/gstreamer-gl/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-gl/src/auto/versions.txt +++ b/gstreamer-gl/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-gl/sys/build.rs b/gstreamer-gl/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-gl/sys/build.rs +++ b/gstreamer-gl/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-gl/sys/src/lib.rs b/gstreamer-gl/sys/src/lib.rs index 9b3850806..95876ff1a 100644 --- a/gstreamer-gl/sys/src/lib.rs +++ b/gstreamer-gl/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-gl/sys/tests/abi.rs b/gstreamer-gl/sys/tests/abi.rs index daba6e348..0515a35a7 100644 --- a/gstreamer-gl/sys/tests/abi.rs +++ b/gstreamer-gl/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_gl_sys::*; diff --git a/gstreamer-gl/sys/tests/constant.c b/gstreamer-gl/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-gl/sys/tests/constant.c +++ b/gstreamer-gl/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/sys/tests/layout.c b/gstreamer-gl/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-gl/sys/tests/layout.c +++ b/gstreamer-gl/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs b/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs index a0c0852cf..21cf94747 100644 --- a/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs +++ b/gstreamer-gl/wayland/src/auto/gl_display_wayland.rs @@ -4,7 +4,7 @@ use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLDisplayWayland(Object) @extends gst_gl::GLDisplay, gst::Object; match fn { diff --git a/gstreamer-gl/wayland/src/auto/versions.txt b/gstreamer-gl/wayland/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-gl/wayland/src/auto/versions.txt +++ b/gstreamer-gl/wayland/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-gl/wayland/sys/build.rs b/gstreamer-gl/wayland/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-gl/wayland/sys/build.rs +++ b/gstreamer-gl/wayland/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-gl/wayland/sys/src/lib.rs b/gstreamer-gl/wayland/sys/src/lib.rs index 6b596d378..ce4d6678b 100644 --- a/gstreamer-gl/wayland/sys/src/lib.rs +++ b/gstreamer-gl/wayland/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-gl/wayland/sys/tests/abi.rs b/gstreamer-gl/wayland/sys/tests/abi.rs index 7fea0ce78..f88713796 100644 --- a/gstreamer-gl/wayland/sys/tests/abi.rs +++ b/gstreamer-gl/wayland/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_gl_wayland_sys::*; diff --git a/gstreamer-gl/wayland/sys/tests/constant.c b/gstreamer-gl/wayland/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-gl/wayland/sys/tests/constant.c +++ b/gstreamer-gl/wayland/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/wayland/sys/tests/layout.c b/gstreamer-gl/wayland/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-gl/wayland/sys/tests/layout.c +++ b/gstreamer-gl/wayland/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/x11/src/auto/gl_display_x11.rs b/gstreamer-gl/x11/src/auto/gl_display_x11.rs index 4f481eedc..8dece1c4b 100644 --- a/gstreamer-gl/x11/src/auto/gl_display_x11.rs +++ b/gstreamer-gl/x11/src/auto/gl_display_x11.rs @@ -4,7 +4,7 @@ use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct GLDisplayX11(Object) @extends gst_gl::GLDisplay, gst::Object; match fn { diff --git a/gstreamer-gl/x11/src/auto/versions.txt b/gstreamer-gl/x11/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-gl/x11/src/auto/versions.txt +++ b/gstreamer-gl/x11/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-gl/x11/sys/build.rs b/gstreamer-gl/x11/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-gl/x11/sys/build.rs +++ b/gstreamer-gl/x11/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-gl/x11/sys/src/lib.rs b/gstreamer-gl/x11/sys/src/lib.rs index 8594c2025..747812237 100644 --- a/gstreamer-gl/x11/sys/src/lib.rs +++ b/gstreamer-gl/x11/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-gl/x11/sys/tests/abi.rs b/gstreamer-gl/x11/sys/tests/abi.rs index e5267d74b..06740c858 100644 --- a/gstreamer-gl/x11/sys/tests/abi.rs +++ b/gstreamer-gl/x11/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_gl_x11_sys::*; diff --git a/gstreamer-gl/x11/sys/tests/constant.c b/gstreamer-gl/x11/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-gl/x11/sys/tests/constant.c +++ b/gstreamer-gl/x11/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-gl/x11/sys/tests/layout.c b/gstreamer-gl/x11/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-gl/x11/sys/tests/layout.c +++ b/gstreamer-gl/x11/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-mpegts/sys/build.rs b/gstreamer-mpegts/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-mpegts/sys/build.rs +++ b/gstreamer-mpegts/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-mpegts/sys/src/lib.rs b/gstreamer-mpegts/sys/src/lib.rs index a515d5108..34b1b67f4 100644 --- a/gstreamer-mpegts/sys/src/lib.rs +++ b/gstreamer-mpegts/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-mpegts/sys/tests/abi.rs b/gstreamer-mpegts/sys/tests/abi.rs index 3d7d665f2..ed531bc81 100644 --- a/gstreamer-mpegts/sys/tests/abi.rs +++ b/gstreamer-mpegts/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_mpegts_sys::*; diff --git a/gstreamer-mpegts/sys/tests/constant.c b/gstreamer-mpegts/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-mpegts/sys/tests/constant.c +++ b/gstreamer-mpegts/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-mpegts/sys/tests/layout.c b/gstreamer-mpegts/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-mpegts/sys/tests/layout.c +++ b/gstreamer-mpegts/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-net/src/auto/net_client_clock.rs b/gstreamer-net/src/auto/net_client_clock.rs index 62c2ff0b2..9ea2d90d5 100644 --- a/gstreamer-net/src/auto/net_client_clock.rs +++ b/gstreamer-net/src/auto/net_client_clock.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct NetClientClock(Object) @extends gst::Clock, gst::Object; match fn { diff --git a/gstreamer-net/src/auto/net_time_provider.rs b/gstreamer-net/src/auto/net_time_provider.rs index 6d62fbf80..122bb3825 100644 --- a/gstreamer-net/src/auto/net_time_provider.rs +++ b/gstreamer-net/src/auto/net_time_provider.rs @@ -10,7 +10,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct NetTimeProvider(Object) @extends gst::Object; match fn { diff --git a/gstreamer-net/src/auto/ntp_clock.rs b/gstreamer-net/src/auto/ntp_clock.rs index 9c08312df..a9781236c 100644 --- a/gstreamer-net/src/auto/ntp_clock.rs +++ b/gstreamer-net/src/auto/ntp_clock.rs @@ -5,7 +5,7 @@ use crate::NetClientClock; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct NtpClock(Object) @extends NetClientClock, gst::Clock, gst::Object; match fn { diff --git a/gstreamer-net/src/auto/ptp_clock.rs b/gstreamer-net/src/auto/ptp_clock.rs index c4a6e8bf7..47c133fff 100644 --- a/gstreamer-net/src/auto/ptp_clock.rs +++ b/gstreamer-net/src/auto/ptp_clock.rs @@ -10,7 +10,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct PtpClock(Object) @extends gst::Clock, gst::Object; match fn { diff --git a/gstreamer-net/src/auto/versions.txt b/gstreamer-net/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-net/src/auto/versions.txt +++ b/gstreamer-net/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-net/sys/build.rs b/gstreamer-net/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-net/sys/build.rs +++ b/gstreamer-net/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-net/sys/src/lib.rs b/gstreamer-net/sys/src/lib.rs index 27615dcfd..aa90eaafa 100644 --- a/gstreamer-net/sys/src/lib.rs +++ b/gstreamer-net/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-net/sys/tests/abi.rs b/gstreamer-net/sys/tests/abi.rs index 8e23c5039..7b412efa3 100644 --- a/gstreamer-net/sys/tests/abi.rs +++ b/gstreamer-net/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_net_sys::*; diff --git a/gstreamer-net/sys/tests/constant.c b/gstreamer-net/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-net/sys/tests/constant.c +++ b/gstreamer-net/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-net/sys/tests/layout.c b/gstreamer-net/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-net/sys/tests/layout.c +++ b/gstreamer-net/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-pbutils/src/auto/discoverer.rs b/gstreamer-pbutils/src/auto/discoverer.rs index 6a2af6e99..c5e968bfb 100644 --- a/gstreamer-pbutils/src/auto/discoverer.rs +++ b/gstreamer-pbutils/src/auto/discoverer.rs @@ -14,7 +14,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Discoverer(Object); match fn { @@ -57,7 +57,7 @@ impl Discoverer { #[doc(alias = "gst_discoverer_discover_uri_async")] pub fn discover_uri_async(&self, uri: &str) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_discoverer_discover_uri_async(self.to_glib_none().0, uri.to_glib_none().0), "Failed to add URI to list of discovers" ) diff --git a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs index 2b8417d4e..bd10440f2 100644 --- a/gstreamer-pbutils/src/auto/discoverer_audio_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_audio_info.rs @@ -5,7 +5,7 @@ use crate::DiscovererStreamInfo; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct DiscovererAudioInfo(Object) @extends DiscovererStreamInfo; match fn { diff --git a/gstreamer-pbutils/src/auto/discoverer_container_info.rs b/gstreamer-pbutils/src/auto/discoverer_container_info.rs index b59abf96b..8c67adc3f 100644 --- a/gstreamer-pbutils/src/auto/discoverer_container_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_container_info.rs @@ -5,7 +5,7 @@ use crate::DiscovererStreamInfo; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct DiscovererContainerInfo(Object) @extends DiscovererStreamInfo; match fn { diff --git a/gstreamer-pbutils/src/auto/discoverer_info.rs b/gstreamer-pbutils/src/auto/discoverer_info.rs index e20f99a6a..fe86ed4fa 100644 --- a/gstreamer-pbutils/src/auto/discoverer_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_info.rs @@ -7,7 +7,7 @@ use crate::DiscovererSerializeFlags; use crate::DiscovererStreamInfo; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct DiscovererInfo(Object); match fn { @@ -148,7 +148,7 @@ impl DiscovererInfo { self.to_glib_none().0, flags.to_glib(), )) - .ok_or_else(|| glib::glib_bool_error!("Failed to serialize DiscovererInfo to Variant")) + .ok_or_else(|| glib::bool_error!("Failed to serialize DiscovererInfo to Variant")) } } @@ -159,9 +159,7 @@ impl DiscovererInfo { Option::<_>::from_glib_full(ffi::gst_discoverer_info_from_variant( variant.to_glib_none().0, )) - .ok_or_else(|| { - glib::glib_bool_error!("Failed to deserialize DiscovererInfo from Variant") - }) + .ok_or_else(|| glib::bool_error!("Failed to deserialize DiscovererInfo from Variant")) } } } diff --git a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs index ec9de9c58..dfe3f27f6 100644 --- a/gstreamer-pbutils/src/auto/discoverer_stream_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_stream_info.rs @@ -5,7 +5,7 @@ use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct DiscovererStreamInfo(Object); match fn { diff --git a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs index 5c784d7ff..fca324abe 100644 --- a/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_subtitle_info.rs @@ -5,7 +5,7 @@ use crate::DiscovererStreamInfo; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct DiscovererSubtitleInfo(Object) @extends DiscovererStreamInfo; match fn { diff --git a/gstreamer-pbutils/src/auto/discoverer_video_info.rs b/gstreamer-pbutils/src/auto/discoverer_video_info.rs index 5312257a6..330bf6951 100644 --- a/gstreamer-pbutils/src/auto/discoverer_video_info.rs +++ b/gstreamer-pbutils/src/auto/discoverer_video_info.rs @@ -5,7 +5,7 @@ use crate::DiscovererStreamInfo; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct DiscovererVideoInfo(Object) @extends DiscovererStreamInfo; match fn { diff --git a/gstreamer-pbutils/src/auto/encoding_audio_profile.rs b/gstreamer-pbutils/src/auto/encoding_audio_profile.rs index 88a44097e..ad41d6ab8 100644 --- a/gstreamer-pbutils/src/auto/encoding_audio_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_audio_profile.rs @@ -5,7 +5,7 @@ use crate::EncodingProfile; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct EncodingAudioProfile(Object) @extends EncodingProfile; match fn { diff --git a/gstreamer-pbutils/src/auto/encoding_container_profile.rs b/gstreamer-pbutils/src/auto/encoding_container_profile.rs index 69bccfdbc..f699f8b61 100644 --- a/gstreamer-pbutils/src/auto/encoding_container_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_container_profile.rs @@ -6,7 +6,7 @@ use crate::EncodingProfile; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct EncodingContainerProfile(Object) @extends EncodingProfile; match fn { diff --git a/gstreamer-pbutils/src/auto/encoding_profile.rs b/gstreamer-pbutils/src/auto/encoding_profile.rs index 780630a87..4b8b79d76 100644 --- a/gstreamer-pbutils/src/auto/encoding_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_profile.rs @@ -6,7 +6,7 @@ use crate::DiscovererInfo; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct EncodingProfile(Object); match fn { @@ -39,7 +39,7 @@ impl EncodingProfile { info.to_glib_none().0, )) .ok_or_else(|| { - glib::glib_bool_error!("Failed to create EncodingProfile from DiscovererInfo") + glib::bool_error!("Failed to create EncodingProfile from DiscovererInfo") }) } } diff --git a/gstreamer-pbutils/src/auto/encoding_target.rs b/gstreamer-pbutils/src/auto/encoding_target.rs index 4fdfacc1a..04cce15c1 100644 --- a/gstreamer-pbutils/src/auto/encoding_target.rs +++ b/gstreamer-pbutils/src/auto/encoding_target.rs @@ -7,7 +7,7 @@ use glib::translate::*; use std::fmt; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct EncodingTarget(Object); match fn { diff --git a/gstreamer-pbutils/src/auto/encoding_video_profile.rs b/gstreamer-pbutils/src/auto/encoding_video_profile.rs index c0b7e8ae3..480c44314 100644 --- a/gstreamer-pbutils/src/auto/encoding_video_profile.rs +++ b/gstreamer-pbutils/src/auto/encoding_video_profile.rs @@ -5,7 +5,7 @@ use crate::EncodingProfile; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct EncodingVideoProfile(Object) @extends EncodingProfile; match fn { diff --git a/gstreamer-pbutils/src/auto/functions.rs b/gstreamer-pbutils/src/auto/functions.rs index 4e19fd756..99f93fc5f 100644 --- a/gstreamer-pbutils/src/auto/functions.rs +++ b/gstreamer-pbutils/src/auto/functions.rs @@ -31,7 +31,7 @@ pub fn pb_utils_get_element_description( Option::<_>::from_glib_full(ffi::gst_pb_utils_get_element_description( factory_name.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to get element description")) + .ok_or_else(|| glib::bool_error!("Failed to get element description")) } } @@ -42,7 +42,7 @@ pub fn pb_utils_get_sink_description(protocol: &str) -> Result::from_glib_full(ffi::gst_pb_utils_get_sink_description( protocol.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to get sink description")) + .ok_or_else(|| glib::bool_error!("Failed to get sink description")) } } @@ -53,7 +53,7 @@ pub fn pb_utils_get_source_description(protocol: &str) -> Result::from_glib_full(ffi::gst_pb_utils_get_source_description( protocol.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to get source description")) + .ok_or_else(|| glib::bool_error!("Failed to get source description")) } } diff --git a/gstreamer-pbutils/src/auto/versions.txt b/gstreamer-pbutils/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-pbutils/src/auto/versions.txt +++ b/gstreamer-pbutils/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-pbutils/sys/build.rs b/gstreamer-pbutils/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-pbutils/sys/build.rs +++ b/gstreamer-pbutils/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-pbutils/sys/src/lib.rs b/gstreamer-pbutils/sys/src/lib.rs index 99536547d..3746c7c33 100644 --- a/gstreamer-pbutils/sys/src/lib.rs +++ b/gstreamer-pbutils/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-pbutils/sys/tests/abi.rs b/gstreamer-pbutils/sys/tests/abi.rs index 67492dc95..4aa9cc93f 100644 --- a/gstreamer-pbutils/sys/tests/abi.rs +++ b/gstreamer-pbutils/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_pbutils_sys::*; diff --git a/gstreamer-pbutils/sys/tests/constant.c b/gstreamer-pbutils/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-pbutils/sys/tests/constant.c +++ b/gstreamer-pbutils/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-pbutils/sys/tests/layout.c b/gstreamer-pbutils/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-pbutils/sys/tests/layout.c +++ b/gstreamer-pbutils/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-player/src/auto/player.rs b/gstreamer-player/src/auto/player.rs index c9a425165..cfaa9fc0f 100644 --- a/gstreamer-player/src/auto/player.rs +++ b/gstreamer-player/src/auto/player.rs @@ -18,7 +18,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Player(Object) @extends gst::Object; match fn { @@ -179,7 +179,7 @@ impl Player { #[doc(alias = "gst_player_set_audio_track")] pub fn set_audio_track(&self, stream_index: i32) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_player_set_audio_track(self.to_glib_none().0, stream_index), "Failed to set audio track" ) @@ -238,7 +238,7 @@ impl Player { #[doc(alias = "gst_player_set_subtitle_track")] pub fn set_subtitle_track(&self, stream_index: i32) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_player_set_subtitle_track(self.to_glib_none().0, stream_index), "Failed to set subtitle track" ) @@ -278,7 +278,7 @@ impl Player { #[doc(alias = "gst_player_set_video_track")] pub fn set_video_track(&self, stream_index: i32) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_player_set_video_track(self.to_glib_none().0, stream_index), "Failed to set video track" ) @@ -295,7 +295,7 @@ impl Player { #[doc(alias = "gst_player_set_visualization")] pub fn set_visualization(&self, name: Option<&str>) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_player_set_visualization(self.to_glib_none().0, name.to_glib_none().0), "Failed to set visualization" ) diff --git a/gstreamer-player/src/auto/player_audio_info.rs b/gstreamer-player/src/auto/player_audio_info.rs index 3a1b93a75..23e95518e 100644 --- a/gstreamer-player/src/auto/player_audio_info.rs +++ b/gstreamer-player/src/auto/player_audio_info.rs @@ -5,7 +5,7 @@ use crate::PlayerStreamInfo; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct PlayerAudioInfo(Object) @extends PlayerStreamInfo; match fn { diff --git a/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs b/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs index f22501830..7762faa2e 100644 --- a/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_gmain_context_signal_dispatcher.rs @@ -7,7 +7,7 @@ use glib::object::ObjectType as ObjectType_; use glib::translate::*; use glib::StaticType; -glib::glib_wrapper! { +glib::wrapper! { pub struct PlayerGMainContextSignalDispatcher(Object) @implements PlayerSignalDispatcher; match fn { diff --git a/gstreamer-player/src/auto/player_media_info.rs b/gstreamer-player/src/auto/player_media_info.rs index fd408235c..4c73f7d96 100644 --- a/gstreamer-player/src/auto/player_media_info.rs +++ b/gstreamer-player/src/auto/player_media_info.rs @@ -8,7 +8,7 @@ use crate::PlayerSubtitleInfo; use crate::PlayerVideoInfo; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct PlayerMediaInfo(Object); match fn { diff --git a/gstreamer-player/src/auto/player_signal_dispatcher.rs b/gstreamer-player/src/auto/player_signal_dispatcher.rs index 62a2aea82..55522b1c5 100644 --- a/gstreamer-player/src/auto/player_signal_dispatcher.rs +++ b/gstreamer-player/src/auto/player_signal_dispatcher.rs @@ -5,7 +5,7 @@ use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct PlayerSignalDispatcher(Interface); match fn { diff --git a/gstreamer-player/src/auto/player_stream_info.rs b/gstreamer-player/src/auto/player_stream_info.rs index 21051af09..c1848ab7f 100644 --- a/gstreamer-player/src/auto/player_stream_info.rs +++ b/gstreamer-player/src/auto/player_stream_info.rs @@ -5,7 +5,7 @@ use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct PlayerStreamInfo(Object); match fn { diff --git a/gstreamer-player/src/auto/player_subtitle_info.rs b/gstreamer-player/src/auto/player_subtitle_info.rs index e20ebe219..01768bab1 100644 --- a/gstreamer-player/src/auto/player_subtitle_info.rs +++ b/gstreamer-player/src/auto/player_subtitle_info.rs @@ -5,7 +5,7 @@ use crate::PlayerStreamInfo; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct PlayerSubtitleInfo(Object) @extends PlayerStreamInfo; match fn { diff --git a/gstreamer-player/src/auto/player_video_info.rs b/gstreamer-player/src/auto/player_video_info.rs index 012215d33..d622b40fd 100644 --- a/gstreamer-player/src/auto/player_video_info.rs +++ b/gstreamer-player/src/auto/player_video_info.rs @@ -5,7 +5,7 @@ use crate::PlayerStreamInfo; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct PlayerVideoInfo(Object) @extends PlayerStreamInfo; match fn { diff --git a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs index 57fb4dedb..7f465ed94 100644 --- a/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_overlay_video_renderer.rs @@ -13,7 +13,7 @@ use std::boxed::Box as Box_; use std::mem; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct PlayerVideoOverlayVideoRenderer(Object) @implements PlayerVideoRenderer; match fn { diff --git a/gstreamer-player/src/auto/player_video_renderer.rs b/gstreamer-player/src/auto/player_video_renderer.rs index e9764fac1..2796b3880 100644 --- a/gstreamer-player/src/auto/player_video_renderer.rs +++ b/gstreamer-player/src/auto/player_video_renderer.rs @@ -5,7 +5,7 @@ use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct PlayerVideoRenderer(Interface); match fn { diff --git a/gstreamer-player/src/auto/player_visualization.rs b/gstreamer-player/src/auto/player_visualization.rs index b35e64a78..1635772de 100644 --- a/gstreamer-player/src/auto/player_visualization.rs +++ b/gstreamer-player/src/auto/player_visualization.rs @@ -4,7 +4,7 @@ use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct PlayerVisualization(Boxed); diff --git a/gstreamer-player/src/auto/versions.txt b/gstreamer-player/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-player/src/auto/versions.txt +++ b/gstreamer-player/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-player/sys/build.rs b/gstreamer-player/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-player/sys/build.rs +++ b/gstreamer-player/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-player/sys/src/lib.rs b/gstreamer-player/sys/src/lib.rs index ab04204d7..51a3b6613 100644 --- a/gstreamer-player/sys/src/lib.rs +++ b/gstreamer-player/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-player/sys/tests/abi.rs b/gstreamer-player/sys/tests/abi.rs index 7d46c3e79..a29f2dedb 100644 --- a/gstreamer-player/sys/tests/abi.rs +++ b/gstreamer-player/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_player_sys::*; diff --git a/gstreamer-player/sys/tests/constant.c b/gstreamer-player/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-player/sys/tests/constant.c +++ b/gstreamer-player/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-player/sys/tests/layout.c b/gstreamer-player/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-player/sys/tests/layout.c +++ b/gstreamer-player/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtp/src/auto/versions.txt b/gstreamer-rtp/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-rtp/src/auto/versions.txt +++ b/gstreamer-rtp/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-rtp/sys/build.rs b/gstreamer-rtp/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-rtp/sys/build.rs +++ b/gstreamer-rtp/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-rtp/sys/src/lib.rs b/gstreamer-rtp/sys/src/lib.rs index be15c483e..f54ac51f3 100644 --- a/gstreamer-rtp/sys/src/lib.rs +++ b/gstreamer-rtp/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-rtp/sys/tests/abi.rs b/gstreamer-rtp/sys/tests/abi.rs index 200cd7759..4d65fb264 100644 --- a/gstreamer-rtp/sys/tests/abi.rs +++ b/gstreamer-rtp/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_rtp_sys::*; diff --git a/gstreamer-rtp/sys/tests/constant.c b/gstreamer-rtp/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-rtp/sys/tests/constant.c +++ b/gstreamer-rtp/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtp/sys/tests/layout.c b/gstreamer-rtp/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-rtp/sys/tests/layout.c +++ b/gstreamer-rtp/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp-server/src/auto/rtsp_address.rs b/gstreamer-rtsp-server/src/auto/rtsp_address.rs index 8bf685f57..41311d56a 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_address.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_address.rs @@ -4,7 +4,7 @@ use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct RTSPAddress(Boxed); diff --git a/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs index 3310f85c4..565c584de 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_address_pool.rs @@ -7,7 +7,7 @@ use crate::RTSPAddressFlags; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPAddressPool(Object); match fn { @@ -74,7 +74,7 @@ impl> RTSPAddressPoolExt for O { flags.to_glib(), n_ports, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to acquire address")) + .ok_or_else(|| glib::bool_error!("Failed to acquire address")) } } @@ -87,7 +87,7 @@ impl> RTSPAddressPoolExt for O { ttl: u8, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_address_pool_add_range( self.as_ref().to_glib_none().0, min_address.to_glib_none().0, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs index c37cb0cde..b7b1f87e5 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_auth.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_auth.rs @@ -11,7 +11,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPAuth(Object); match fn { @@ -30,7 +30,7 @@ impl RTSPAuth { pub fn check(check: &str) -> Result<(), glib::error::BoolError> { assert_initialized_main_thread!(); unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_auth_check(check.to_glib_none().0), "Check failed" ) diff --git a/gstreamer-rtsp-server/src/auto/rtsp_client.rs b/gstreamer-rtsp-server/src/auto/rtsp_client.rs index ee7de6bca..3931255ac 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_client.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_client.rs @@ -21,7 +21,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPClient(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_media.rs index 3fad0bc7e..2b0e2da8e 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media.rs @@ -22,7 +22,7 @@ use std::boxed::Box as Box_; use std::mem; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPMedia(Object); match fn { @@ -730,7 +730,7 @@ impl> RTSPMediaExt for O { fn prepare(&self, thread: Option<&RTSPThread>) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_media_prepare(self.as_ref().to_glib_none().0, thread.to_glib_full()), "Failed to prepare media" ) @@ -945,7 +945,7 @@ impl> RTSPMediaExt for O { fn suspend(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_media_suspend(self.as_ref().to_glib_none().0), "Failed to suspend media" ) @@ -962,7 +962,7 @@ impl> RTSPMediaExt for O { fn unprepare(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_media_unprepare(self.as_ref().to_glib_none().0), "Failed to unprepare media" ) @@ -971,7 +971,7 @@ impl> RTSPMediaExt for O { fn unsuspend(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_media_unsuspend(self.as_ref().to_glib_none().0), "Failed to unsuspend media" ) diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs index a7b251714..5bfb685e5 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory.rs @@ -16,7 +16,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPMediaFactory(Object); match fn { @@ -305,7 +305,7 @@ impl> RTSPMediaFactoryExt for O { self.as_ref().to_glib_none().0, url.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to construct media")) + .ok_or_else(|| glib::bool_error!("Failed to construct media")) } } @@ -315,7 +315,7 @@ impl> RTSPMediaFactoryExt for O { self.as_ref().to_glib_none().0, url.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to create media element")) + .ok_or_else(|| glib::bool_error!("Failed to create media element")) } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs b/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs index 3c81ae5bd..ceda4d676 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_media_factory_uri.rs @@ -12,7 +12,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPMediaFactoryURI(Object) @extends RTSPMediaFactory; match fn { diff --git a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs index 9bc7f50df..855173146 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_mount_points.rs @@ -7,7 +7,7 @@ use glib::object::IsA; use glib::translate::*; use std::mem; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPMountPoints(Object); match fn { @@ -65,7 +65,7 @@ impl> RTSPMountPointsExt for O { self.as_ref().to_glib_none().0, url.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to make path")) + .ok_or_else(|| glib::bool_error!("Failed to make path")) } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_server.rs b/gstreamer-rtsp-server/src/auto/rtsp_server.rs index 7efef01ef..acda6a0ed 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_server.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_server.rs @@ -18,7 +18,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPServer(Object); match fn { @@ -41,7 +41,7 @@ impl RTSPServer { ) -> Result<(), glib::error::BoolError> { skip_assert_initialized!(); unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_server_io_func( socket.as_ref().to_glib_none().0, condition.to_glib(), @@ -410,7 +410,7 @@ impl> RTSPServerExt for O { initial_buffer: Option<&str>, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_server_transfer_connection( self.as_ref().to_glib_none().0, socket.as_ref().to_glib_full(), diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session.rs b/gstreamer-rtsp-server/src/auto/rtsp_session.rs index 4ac204581..b19f2bf85 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session.rs @@ -15,7 +15,7 @@ use std::boxed::Box as Box_; use std::mem; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPSession(Object); match fn { @@ -221,7 +221,7 @@ impl> RTSPSessionExt for O { path.to_glib_none().0, media.as_ref().to_glib_full(), )) - .ok_or_else(|| glib::glib_bool_error!("Failed to manage media")) + .ok_or_else(|| glib::bool_error!("Failed to manage media")) } } diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs index 3f987a0e6..9b27c739d 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_media.rs @@ -8,7 +8,7 @@ use glib::object::IsA; use glib::translate::*; use std::mem; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPSessionMedia(Object); match fn { @@ -146,7 +146,7 @@ impl> RTSPSessionMediaExt for O { fn set_state(&self, state: gst::State) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_session_media_set_state( self.as_ref().to_glib_none().0, state.to_glib() diff --git a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs index af4fa00d1..5ca3d2f0f 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_session_pool.rs @@ -12,7 +12,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPSessionPool(Object); match fn { @@ -88,7 +88,7 @@ impl> RTSPSessionPoolExt for O { Option::<_>::from_glib_full(ffi::gst_rtsp_session_pool_create( self.as_ref().to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to create session pool")) + .ok_or_else(|| glib::bool_error!("Failed to create session pool")) } } @@ -155,7 +155,7 @@ impl> RTSPSessionPoolExt for O { fn remove>(&self, sess: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_session_pool_remove( self.as_ref().to_glib_none().0, sess.as_ref().to_glib_none().0 diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs index c66000bd9..5791e3314 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream.rs @@ -16,7 +16,7 @@ use std::boxed::Box as Box_; use std::mem; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPStream(Object); match fn { @@ -434,7 +434,7 @@ impl> RTSPStreamExt for O { trans: &P, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_stream_add_transport( self.as_ref().to_glib_none().0, trans.as_ref().to_glib_none().0 @@ -825,7 +825,7 @@ impl> RTSPStreamExt for O { state: gst::State, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_stream_join_bin( self.as_ref().to_glib_none().0, bin.as_ref().to_glib_none().0, @@ -843,7 +843,7 @@ impl> RTSPStreamExt for O { rtpbin: &Q, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_stream_leave_bin( self.as_ref().to_glib_none().0, bin.as_ref().to_glib_none().0, @@ -859,7 +859,7 @@ impl> RTSPStreamExt for O { trans: &P, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_stream_remove_transport( self.as_ref().to_glib_none().0, trans.as_ref().to_glib_none().0 @@ -966,7 +966,7 @@ impl> RTSPStreamExt for O { fn set_blocked(&self, blocked: bool) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_stream_set_blocked(self.as_ref().to_glib_none().0, blocked.to_glib()), "Failed to block/unblock the dataflow" ) @@ -1154,7 +1154,7 @@ impl> RTSPStreamExt for O { fn unblock_linked(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_stream_unblock_linked(self.as_ref().to_glib_none().0), "Failed to unblock the dataflow" ) @@ -1167,7 +1167,7 @@ impl> RTSPStreamExt for O { crypto: Option<&gst::Caps>, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_stream_update_crypto( self.as_ref().to_glib_none().0, ssrc, diff --git a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs index 082497d31..1f35b2b0e 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_stream_transport.rs @@ -7,7 +7,7 @@ use glib::object::IsA; use glib::translate::*; use std::boxed::Box as Box_; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPStreamTransport(Object); match fn { @@ -150,7 +150,7 @@ impl> RTSPStreamTransportExt for O { fn send_rtcp(&self, buffer: &gst::Buffer) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_stream_transport_send_rtcp( self.as_ref().to_glib_none().0, buffer.to_glib_none().0 @@ -168,7 +168,7 @@ impl> RTSPStreamTransportExt for O { fn send_rtp(&self, buffer: &gst::Buffer) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_stream_transport_send_rtp( self.as_ref().to_glib_none().0, buffer.to_glib_none().0 @@ -186,7 +186,7 @@ impl> RTSPStreamTransportExt for O { fn set_active(&self, active: bool) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_rtsp_stream_transport_set_active( self.as_ref().to_glib_none().0, active.to_glib() diff --git a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs index 6af129948..42b161864 100644 --- a/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs +++ b/gstreamer-rtsp-server/src/auto/rtsp_thread_pool.rs @@ -13,7 +13,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct RTSPThreadPool(Object); match fn { diff --git a/gstreamer-rtsp-server/src/auto/versions.txt b/gstreamer-rtsp-server/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-rtsp-server/src/auto/versions.txt +++ b/gstreamer-rtsp-server/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-rtsp-server/sys/build.rs b/gstreamer-rtsp-server/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-rtsp-server/sys/build.rs +++ b/gstreamer-rtsp-server/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-rtsp-server/sys/src/lib.rs b/gstreamer-rtsp-server/sys/src/lib.rs index 20f594e49..b6447ae52 100644 --- a/gstreamer-rtsp-server/sys/src/lib.rs +++ b/gstreamer-rtsp-server/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-rtsp-server/sys/tests/abi.rs b/gstreamer-rtsp-server/sys/tests/abi.rs index 4821312dd..4c418d6dd 100644 --- a/gstreamer-rtsp-server/sys/tests/abi.rs +++ b/gstreamer-rtsp-server/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_rtsp_server_sys::*; diff --git a/gstreamer-rtsp-server/sys/tests/constant.c b/gstreamer-rtsp-server/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-rtsp-server/sys/tests/constant.c +++ b/gstreamer-rtsp-server/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp-server/sys/tests/layout.c b/gstreamer-rtsp-server/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-rtsp-server/sys/tests/layout.c +++ b/gstreamer-rtsp-server/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp/src/auto/rtsp_auth_param.rs b/gstreamer-rtsp/src/auto/rtsp_auth_param.rs index a057b86a4..9ae9b190d 100644 --- a/gstreamer-rtsp/src/auto/rtsp_auth_param.rs +++ b/gstreamer-rtsp/src/auto/rtsp_auth_param.rs @@ -6,7 +6,7 @@ #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_12")))] use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct RTSPAuthParam(Boxed); diff --git a/gstreamer-rtsp/src/auto/rtsp_url.rs b/gstreamer-rtsp/src/auto/rtsp_url.rs index 339897f7c..ffdb69eea 100644 --- a/gstreamer-rtsp/src/auto/rtsp_url.rs +++ b/gstreamer-rtsp/src/auto/rtsp_url.rs @@ -6,7 +6,7 @@ use crate::RTSPResult; use glib::translate::*; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct RTSPUrl(Boxed); diff --git a/gstreamer-rtsp/src/auto/versions.txt b/gstreamer-rtsp/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-rtsp/src/auto/versions.txt +++ b/gstreamer-rtsp/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-rtsp/sys/build.rs b/gstreamer-rtsp/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-rtsp/sys/build.rs +++ b/gstreamer-rtsp/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-rtsp/sys/src/lib.rs b/gstreamer-rtsp/sys/src/lib.rs index 67d8d0f39..6eb6bd029 100644 --- a/gstreamer-rtsp/sys/src/lib.rs +++ b/gstreamer-rtsp/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-rtsp/sys/tests/abi.rs b/gstreamer-rtsp/sys/tests/abi.rs index 3bb08b0f3..d7cee5819 100644 --- a/gstreamer-rtsp/sys/tests/abi.rs +++ b/gstreamer-rtsp/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_rtsp_sys::*; diff --git a/gstreamer-rtsp/sys/tests/constant.c b/gstreamer-rtsp/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-rtsp/sys/tests/constant.c +++ b/gstreamer-rtsp/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-rtsp/sys/tests/layout.c b/gstreamer-rtsp/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-rtsp/sys/tests/layout.c +++ b/gstreamer-rtsp/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-sdp/src/auto/versions.txt b/gstreamer-sdp/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-sdp/src/auto/versions.txt +++ b/gstreamer-sdp/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-sdp/sys/build.rs b/gstreamer-sdp/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-sdp/sys/build.rs +++ b/gstreamer-sdp/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-sdp/sys/src/lib.rs b/gstreamer-sdp/sys/src/lib.rs index b735d94b5..cb67a747c 100644 --- a/gstreamer-sdp/sys/src/lib.rs +++ b/gstreamer-sdp/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-sdp/sys/tests/abi.rs b/gstreamer-sdp/sys/tests/abi.rs index 819d7c104..e06f74a55 100644 --- a/gstreamer-sdp/sys/tests/abi.rs +++ b/gstreamer-sdp/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_sdp_sys::*; diff --git a/gstreamer-sdp/sys/tests/constant.c b/gstreamer-sdp/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-sdp/sys/tests/constant.c +++ b/gstreamer-sdp/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-sdp/sys/tests/layout.c b/gstreamer-sdp/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-sdp/sys/tests/layout.c +++ b/gstreamer-sdp/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-tag/sys/build.rs b/gstreamer-tag/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-tag/sys/build.rs +++ b/gstreamer-tag/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-tag/sys/src/lib.rs b/gstreamer-tag/sys/src/lib.rs index b5fd36aa4..30334ef38 100644 --- a/gstreamer-tag/sys/src/lib.rs +++ b/gstreamer-tag/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-tag/sys/tests/abi.rs b/gstreamer-tag/sys/tests/abi.rs index fcf0041c3..45c1e0d48 100644 --- a/gstreamer-tag/sys/tests/abi.rs +++ b/gstreamer-tag/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_tag_sys::*; diff --git a/gstreamer-tag/sys/tests/constant.c b/gstreamer-tag/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-tag/sys/tests/constant.c +++ b/gstreamer-tag/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-tag/sys/tests/layout.c b/gstreamer-tag/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-tag/sys/tests/layout.c +++ b/gstreamer-tag/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-video/src/auto/versions.txt b/gstreamer-video/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-video/src/auto/versions.txt +++ b/gstreamer-video/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-video/src/auto/video_buffer_pool.rs b/gstreamer-video/src/auto/video_buffer_pool.rs index c9d9e8043..9a1dbd6cb 100644 --- a/gstreamer-video/src/auto/video_buffer_pool.rs +++ b/gstreamer-video/src/auto/video_buffer_pool.rs @@ -5,7 +5,7 @@ use glib::object::Cast; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct VideoBufferPool(Object) @extends gst::BufferPool, gst::Object; match fn { diff --git a/gstreamer-video/src/auto/video_decoder.rs b/gstreamer-video/src/auto/video_decoder.rs index d4209a3ee..3a188faf1 100644 --- a/gstreamer-video/src/auto/video_decoder.rs +++ b/gstreamer-video/src/auto/video_decoder.rs @@ -24,7 +24,7 @@ use std::boxed::Box as Box_; #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct VideoDecoder(Object) @extends gst::Element, gst::Object; match fn { @@ -124,7 +124,7 @@ impl> VideoDecoderExt for O { Option::<_>::from_glib_full(ffi::gst_video_decoder_allocate_output_buffer( self.as_ref().to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to allocate output buffer")) + .ok_or_else(|| glib::bool_error!("Failed to allocate output buffer")) } } diff --git a/gstreamer-video/src/auto/video_encoder.rs b/gstreamer-video/src/auto/video_encoder.rs index 67883a3cf..7e818c874 100644 --- a/gstreamer-video/src/auto/video_encoder.rs +++ b/gstreamer-video/src/auto/video_encoder.rs @@ -14,7 +14,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct VideoEncoder(Object) @extends gst::Element, gst::Object; match fn { @@ -92,7 +92,7 @@ impl> VideoEncoderExt for O { self.as_ref().to_glib_none().0, size, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to allocate output buffer")) + .ok_or_else(|| glib::bool_error!("Failed to allocate output buffer")) } } diff --git a/gstreamer-video/src/auto/video_filter.rs b/gstreamer-video/src/auto/video_filter.rs index f1e859d20..1c283cc30 100644 --- a/gstreamer-video/src/auto/video_filter.rs +++ b/gstreamer-video/src/auto/video_filter.rs @@ -4,7 +4,7 @@ use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct VideoFilter(Object) @extends gst_base::BaseTransform, gst::Element, gst::Object; match fn { diff --git a/gstreamer-video/src/auto/video_overlay.rs b/gstreamer-video/src/auto/video_overlay.rs index d4cdde0f8..bf3dce7eb 100644 --- a/gstreamer-video/src/auto/video_overlay.rs +++ b/gstreamer-video/src/auto/video_overlay.rs @@ -5,7 +5,7 @@ use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct VideoOverlay(Interface); match fn { @@ -94,7 +94,7 @@ impl> VideoOverlayExt for O { height: i32, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_video_overlay_set_render_rectangle( self.as_ref().to_glib_none().0, x, diff --git a/gstreamer-video/src/auto/video_sink.rs b/gstreamer-video/src/auto/video_sink.rs index b3642858b..217ed8074 100644 --- a/gstreamer-video/src/auto/video_sink.rs +++ b/gstreamer-video/src/auto/video_sink.rs @@ -11,7 +11,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct VideoSink(Object) @extends gst_base::BaseSink, gst::Element, gst::Object; match fn { diff --git a/gstreamer-video/sys/build.rs b/gstreamer-video/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-video/sys/build.rs +++ b/gstreamer-video/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-video/sys/src/lib.rs b/gstreamer-video/sys/src/lib.rs index 69e56b000..2847a6bc5 100644 --- a/gstreamer-video/sys/src/lib.rs +++ b/gstreamer-video/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-video/sys/tests/abi.rs b/gstreamer-video/sys/tests/abi.rs index 61fb7342c..4bfe93ae3 100644 --- a/gstreamer-video/sys/tests/abi.rs +++ b/gstreamer-video/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_video_sys::*; diff --git a/gstreamer-video/sys/tests/constant.c b/gstreamer-video/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-video/sys/tests/constant.c +++ b/gstreamer-video/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-video/sys/tests/layout.c b/gstreamer-video/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-video/sys/tests/layout.c +++ b/gstreamer-video/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-webrtc/src/auto/versions.txt b/gstreamer-webrtc/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer-webrtc/src/auto/versions.txt +++ b/gstreamer-webrtc/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs index f4f665e3d..febeb3a6d 100644 --- a/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs +++ b/gstreamer-webrtc/src/auto/web_rtc_data_channel.rs @@ -13,7 +13,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct WebRTCDataChannel(Object); match fn { diff --git a/gstreamer-webrtc/src/auto/web_rtc_session_description.rs b/gstreamer-webrtc/src/auto/web_rtc_session_description.rs index 44ab918cd..4fdab26fe 100644 --- a/gstreamer-webrtc/src/auto/web_rtc_session_description.rs +++ b/gstreamer-webrtc/src/auto/web_rtc_session_description.rs @@ -4,7 +4,7 @@ use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { #[derive(Debug, PartialEq, Eq, PartialOrd, Ord, Hash)] pub struct WebRTCSessionDescription(Boxed); diff --git a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs index 71162e7f2..80a432856 100644 --- a/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcdtls_transport.rs @@ -12,7 +12,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct WebRTCDTLSTransport(Object); match fn { diff --git a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs index cbb919186..59dfa8358 100644 --- a/gstreamer-webrtc/src/auto/web_rtcice_transport.rs +++ b/gstreamer-webrtc/src/auto/web_rtcice_transport.rs @@ -13,7 +13,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct WebRTCICETransport(Object); match fn { diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs index 379c98ca0..ca843361b 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_receiver.rs @@ -5,7 +5,7 @@ use crate::WebRTCDTLSTransport; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct WebRTCRTPReceiver(Object); match fn { diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs index 55bada11a..3733de3d9 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_sender.rs @@ -5,7 +5,7 @@ use crate::WebRTCDTLSTransport; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct WebRTCRTPSender(Object); match fn { diff --git a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs index a8e07bf4a..13d89a0ab 100644 --- a/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs +++ b/gstreamer-webrtc/src/auto/web_rtcrtp_transceiver.rs @@ -23,7 +23,7 @@ use std::boxed::Box as Box_; #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_18")))] use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct WebRTCRTPTransceiver(Object); match fn { diff --git a/gstreamer-webrtc/sys/build.rs b/gstreamer-webrtc/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer-webrtc/sys/build.rs +++ b/gstreamer-webrtc/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer-webrtc/sys/src/lib.rs b/gstreamer-webrtc/sys/src/lib.rs index 8f2faf231..6a1406b88 100644 --- a/gstreamer-webrtc/sys/src/lib.rs +++ b/gstreamer-webrtc/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer-webrtc/sys/tests/abi.rs b/gstreamer-webrtc/sys/tests/abi.rs index b6e9c7d46..583c36880 100644 --- a/gstreamer-webrtc/sys/tests/abi.rs +++ b/gstreamer-webrtc/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_webrtc_sys::*; diff --git a/gstreamer-webrtc/sys/tests/constant.c b/gstreamer-webrtc/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer-webrtc/sys/tests/constant.c +++ b/gstreamer-webrtc/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer-webrtc/sys/tests/layout.c b/gstreamer-webrtc/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer-webrtc/sys/tests/layout.c +++ b/gstreamer-webrtc/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer/src/auto/allocator.rs b/gstreamer/src/auto/allocator.rs index 8dacbb0b3..5d3ce3fd0 100644 --- a/gstreamer/src/auto/allocator.rs +++ b/gstreamer/src/auto/allocator.rs @@ -6,7 +6,7 @@ use crate::Object; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct Allocator(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/bin.rs b/gstreamer/src/auto/bin.rs index bfc09cda5..6abec147e 100644 --- a/gstreamer/src/auto/bin.rs +++ b/gstreamer/src/auto/bin.rs @@ -19,7 +19,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Bin(Object) @extends Element, Object, @implements ChildProxy; match fn { @@ -150,7 +150,7 @@ pub trait GstBinExt: 'static { impl> GstBinExt for O { fn add>(&self, element: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_bin_add( self.as_ref().to_glib_none().0, element.as_ref().to_glib_none().0 @@ -242,7 +242,7 @@ impl> GstBinExt for O { fn recalculate_latency(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_bin_recalculate_latency(self.as_ref().to_glib_none().0), "Failed to recalculate latency" ) @@ -251,7 +251,7 @@ impl> GstBinExt for O { fn remove>(&self, element: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_bin_remove( self.as_ref().to_glib_none().0, element.as_ref().to_glib_none().0 @@ -275,7 +275,7 @@ impl> GstBinExt for O { fn sync_children_states(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_bin_sync_children_states(self.as_ref().to_glib_none().0), "Failed to sync children states" ) diff --git a/gstreamer/src/auto/buffer_pool.rs b/gstreamer/src/auto/buffer_pool.rs index 1b7820ca0..57d743806 100644 --- a/gstreamer/src/auto/buffer_pool.rs +++ b/gstreamer/src/auto/buffer_pool.rs @@ -6,7 +6,7 @@ use crate::Object; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct BufferPool(Object) @extends Object; match fn { @@ -64,7 +64,7 @@ impl> BufferPoolExt for O { fn set_active(&self, active: bool) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_buffer_pool_set_active(self.as_ref().to_glib_none().0, active.to_glib()), "Failed to activate buffer pool" ) diff --git a/gstreamer/src/auto/bus.rs b/gstreamer/src/auto/bus.rs index 8462cbfef..cb5c2c1e1 100644 --- a/gstreamer/src/auto/bus.rs +++ b/gstreamer/src/auto/bus.rs @@ -12,7 +12,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Bus(Object) @extends Object; match fn { @@ -78,7 +78,7 @@ impl Bus { #[doc(alias = "gst_bus_post")] pub fn post(&self, message: &Message) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_bus_post(self.to_glib_none().0, message.to_glib_full()), "Failed to post message" ) @@ -95,7 +95,7 @@ impl Bus { #[doc(alias = "gst_bus_remove_watch")] pub fn remove_watch(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_bus_remove_watch(self.to_glib_none().0), "Bus has no event source" ) diff --git a/gstreamer/src/auto/child_proxy.rs b/gstreamer/src/auto/child_proxy.rs index ff3a0768d..1feb76b30 100644 --- a/gstreamer/src/auto/child_proxy.rs +++ b/gstreamer/src/auto/child_proxy.rs @@ -10,7 +10,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct ChildProxy(Interface); match fn { diff --git a/gstreamer/src/auto/clock.rs b/gstreamer/src/auto/clock.rs index 6d3fdcd14..22c35cfee 100644 --- a/gstreamer/src/auto/clock.rs +++ b/gstreamer/src/auto/clock.rs @@ -14,7 +14,7 @@ use std::boxed::Box as Box_; use std::mem; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Clock(Object) @extends Object; match fn { @@ -336,7 +336,7 @@ impl> ClockExt for O { fn set_master>(&self, master: Option<&P>) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_clock_set_master( self.as_ref().to_glib_none().0, master.map(|p| p.as_ref()).to_glib_none().0 @@ -382,7 +382,7 @@ impl> ClockExt for O { fn wait_for_sync(&self, timeout: ClockTime) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_clock_wait_for_sync(self.as_ref().to_glib_none().0, timeout.to_glib()), "Timed out waiting for sync" ) diff --git a/gstreamer/src/auto/control_binding.rs b/gstreamer/src/auto/control_binding.rs index ee79c4522..a89ac9a56 100644 --- a/gstreamer/src/auto/control_binding.rs +++ b/gstreamer/src/auto/control_binding.rs @@ -8,7 +8,7 @@ use glib::object::IsA; use glib::translate::*; use glib::StaticType; -glib::glib_wrapper! { +glib::wrapper! { pub struct ControlBinding(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/control_source.rs b/gstreamer/src/auto/control_source.rs index 757177e17..d0bb51e27 100644 --- a/gstreamer/src/auto/control_source.rs +++ b/gstreamer/src/auto/control_source.rs @@ -8,7 +8,7 @@ use glib::object::IsA; use glib::translate::*; use std::mem; -glib::glib_wrapper! { +glib::wrapper! { pub struct ControlSource(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/date_time.rs b/gstreamer/src/auto/date_time.rs index 58d8684e2..b06e085c9 100644 --- a/gstreamer/src/auto/date_time.rs +++ b/gstreamer/src/auto/date_time.rs @@ -4,7 +4,7 @@ use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { #[derive()] pub struct DateTime(Shared); @@ -29,7 +29,7 @@ impl DateTime { Option::<_>::from_glib_full(ffi::gst_date_time_new_from_iso8601_string( string.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to create DateTime from ISO-8601 string")) + .ok_or_else(|| glib::bool_error!("Failed to create DateTime from ISO-8601 string")) } } @@ -38,7 +38,7 @@ impl DateTime { assert_initialized_main_thread!(); unsafe { Option::<_>::from_glib_full(ffi::gst_date_time_new_from_unix_epoch_local_time(secs)) - .ok_or_else(|| glib::glib_bool_error!("Can't create DateTime from UNIX epoch")) + .ok_or_else(|| glib::bool_error!("Can't create DateTime from UNIX epoch")) } } @@ -51,7 +51,7 @@ impl DateTime { Option::<_>::from_glib_full(ffi::gst_date_time_new_from_unix_epoch_local_time_usecs( usecs, )) - .ok_or_else(|| glib::glib_bool_error!("Can't create DateTime from UNIX epoch")) + .ok_or_else(|| glib::bool_error!("Can't create DateTime from UNIX epoch")) } } @@ -60,7 +60,7 @@ impl DateTime { assert_initialized_main_thread!(); unsafe { Option::<_>::from_glib_full(ffi::gst_date_time_new_from_unix_epoch_utc(secs)) - .ok_or_else(|| glib::glib_bool_error!("Can't create DateTime from UNIX epoch")) + .ok_or_else(|| glib::bool_error!("Can't create DateTime from UNIX epoch")) } } @@ -71,7 +71,7 @@ impl DateTime { assert_initialized_main_thread!(); unsafe { Option::<_>::from_glib_full(ffi::gst_date_time_new_from_unix_epoch_utc_usecs(usecs)) - .ok_or_else(|| glib::glib_bool_error!("Can't create DateTime from UNIX epoch")) + .ok_or_else(|| glib::bool_error!("Can't create DateTime from UNIX epoch")) } } @@ -121,7 +121,7 @@ impl DateTime { pub fn to_g_date_time(&self) -> Result { unsafe { Option::<_>::from_glib_full(ffi::gst_date_time_to_g_date_time(self.to_glib_none().0)) - .ok_or_else(|| glib::glib_bool_error!("Can't create glib::DateTime from DateTime")) + .ok_or_else(|| glib::bool_error!("Can't create glib::DateTime from DateTime")) } } @@ -129,9 +129,7 @@ impl DateTime { pub fn to_iso8601_string(&self) -> Result { unsafe { Option::<_>::from_glib_full(ffi::gst_date_time_to_iso8601_string(self.to_glib_none().0)) - .ok_or_else(|| { - glib::glib_bool_error!("Failed to create ISO-8601 string from DateTime") - }) + .ok_or_else(|| glib::bool_error!("Failed to create ISO-8601 string from DateTime")) } } } diff --git a/gstreamer/src/auto/device.rs b/gstreamer/src/auto/device.rs index b32ee4b78..47203e772 100644 --- a/gstreamer/src/auto/device.rs +++ b/gstreamer/src/auto/device.rs @@ -14,7 +14,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Device(Object) @extends Object; match fn { @@ -65,7 +65,7 @@ impl> DeviceExt for O { self.as_ref().to_glib_none().0, name.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to create element for device")) + .ok_or_else(|| glib::bool_error!("Failed to create element for device")) } } @@ -120,7 +120,7 @@ impl> DeviceExt for O { element: &P, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_device_reconfigure_element( self.as_ref().to_glib_none().0, element.as_ref().to_glib_none().0 diff --git a/gstreamer/src/auto/device_monitor.rs b/gstreamer/src/auto/device_monitor.rs index fe38f4139..23b88560e 100644 --- a/gstreamer/src/auto/device_monitor.rs +++ b/gstreamer/src/auto/device_monitor.rs @@ -14,7 +14,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct DeviceMonitor(Object) @extends Object; match fn { @@ -103,7 +103,7 @@ impl> DeviceMonitorExt for O { fn start(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_device_monitor_start(self.as_ref().to_glib_none().0), "Failed to start" ) diff --git a/gstreamer/src/auto/device_provider.rs b/gstreamer/src/auto/device_provider.rs index f6293ea31..0571370e0 100644 --- a/gstreamer/src/auto/device_provider.rs +++ b/gstreamer/src/auto/device_provider.rs @@ -14,7 +14,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct DeviceProvider(Object) @extends Object; match fn { @@ -159,7 +159,7 @@ impl> DeviceProviderExt for O { fn start(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_device_provider_start(self.as_ref().to_glib_none().0), "Failed to start" ) diff --git a/gstreamer/src/auto/device_provider_factory.rs b/gstreamer/src/auto/device_provider_factory.rs index 177b26510..b5c067e52 100644 --- a/gstreamer/src/auto/device_provider_factory.rs +++ b/gstreamer/src/auto/device_provider_factory.rs @@ -8,7 +8,7 @@ use crate::PluginFeature; use crate::Rank; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct DeviceProviderFactory(Object) @extends PluginFeature, Object; match fn { diff --git a/gstreamer/src/auto/element.rs b/gstreamer/src/auto/element.rs index b57fdf345..6d24a071d 100644 --- a/gstreamer/src/auto/element.rs +++ b/gstreamer/src/auto/element.rs @@ -22,7 +22,7 @@ use std::boxed::Box as Box_; use std::mem::transmute; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Element(Object) @extends Object; match fn { @@ -252,7 +252,7 @@ impl> ElementExt for O { fn add_pad>(&self, pad: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_element_add_pad( self.as_ref().to_glib_none().0, pad.as_ref().to_glib_none().0 @@ -450,7 +450,7 @@ impl> ElementExt for O { fn link>(&self, dest: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_element_link( self.as_ref().to_glib_none().0, dest.as_ref().to_glib_none().0 @@ -466,7 +466,7 @@ impl> ElementExt for O { filter: Option<&Caps>, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_element_link_filtered( self.as_ref().to_glib_none().0, dest.as_ref().to_glib_none().0, @@ -488,7 +488,7 @@ impl> ElementExt for O { destpadname: Option<&str>, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_element_link_pads( self.as_ref().to_glib_none().0, srcpadname.to_glib_none().0, @@ -508,7 +508,7 @@ impl> ElementExt for O { filter: Option<&Caps>, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_element_link_pads_filtered( self.as_ref().to_glib_none().0, srcpadname.to_glib_none().0, @@ -529,7 +529,7 @@ impl> ElementExt for O { flags: PadLinkCheck, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_element_link_pads_full( self.as_ref().to_glib_none().0, srcpadname.to_glib_none().0, @@ -583,7 +583,7 @@ impl> ElementExt for O { fn remove_pad>(&self, pad: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_element_remove_pad( self.as_ref().to_glib_none().0, pad.as_ref().to_glib_none().0 @@ -623,7 +623,7 @@ impl> ElementExt for O { fn set_clock>(&self, clock: Option<&P>) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_element_set_clock( self.as_ref().to_glib_none().0, clock.map(|p| p.as_ref()).to_glib_none().0 @@ -656,7 +656,7 @@ impl> ElementExt for O { fn sync_state_with_parent(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_element_sync_state_with_parent(self.as_ref().to_glib_none().0), "Failed to sync state with parent" ) diff --git a/gstreamer/src/auto/element_factory.rs b/gstreamer/src/auto/element_factory.rs index 9e83f1c8c..121f66c9c 100644 --- a/gstreamer/src/auto/element_factory.rs +++ b/gstreamer/src/auto/element_factory.rs @@ -13,7 +13,7 @@ use crate::StaticPadTemplate; use crate::URIType; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct ElementFactory(Object) @extends PluginFeature, Object; match fn { @@ -69,7 +69,7 @@ impl ElementFactory { self.to_glib_none().0, name.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to create element from factory")) + .ok_or_else(|| glib::bool_error!("Failed to create element from factory")) } } @@ -192,7 +192,7 @@ impl ElementFactory { factoryname.to_glib_none().0, name.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to create element from factory name")) + .ok_or_else(|| glib::bool_error!("Failed to create element from factory name")) } } } diff --git a/gstreamer/src/auto/functions.rs b/gstreamer/src/auto/functions.rs index caae3ff50..633ae2155 100644 --- a/gstreamer/src/auto/functions.rs +++ b/gstreamer/src/auto/functions.rs @@ -84,7 +84,7 @@ pub fn debug_get_stack_trace(flags: StackTraceFlags) -> Result::from_glib_full(ffi::gst_debug_get_stack_trace(flags.to_glib())) - .ok_or_else(|| glib::glib_bool_error!("Failed to get stack trace")) + .ok_or_else(|| glib::bool_error!("Failed to get stack trace")) } } @@ -181,7 +181,7 @@ pub fn get_main_executable_path() -> Result { assert_initialized_main_thread!(); unsafe { Option::<_>::from_glib_none(ffi::gst_get_main_executable_path()) - .ok_or_else(|| glib::glib_bool_error!("Failed to get main executable path")) + .ok_or_else(|| glib::bool_error!("Failed to get main executable path")) } } @@ -260,10 +260,7 @@ pub fn type_mark_as_plugin_api(type_: glib::types::Type, flags: PluginAPIFlags) pub fn update_registry() -> Result<(), glib::error::BoolError> { assert_initialized_main_thread!(); unsafe { - glib::glib_result_from_gboolean!( - ffi::gst_update_registry(), - "Failed to update the registry" - ) + glib::result_from_gboolean!(ffi::gst_update_registry(), "Failed to update the registry") } } diff --git a/gstreamer/src/auto/ghost_pad.rs b/gstreamer/src/auto/ghost_pad.rs index e8918d330..0d1a5ce1d 100644 --- a/gstreamer/src/auto/ghost_pad.rs +++ b/gstreamer/src/auto/ghost_pad.rs @@ -8,7 +8,7 @@ use crate::ProxyPad; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct GhostPad(Object) @extends ProxyPad, Pad, Object; match fn { @@ -40,7 +40,7 @@ impl> GhostPadExt for O { fn set_target>(&self, newtarget: Option<&P>) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_ghost_pad_set_target( self.as_ref().to_glib_none().0, newtarget.map(|p| p.as_ref()).to_glib_none().0 diff --git a/gstreamer/src/auto/object.rs b/gstreamer/src/auto/object.rs index b7c91b0f0..680e033a0 100644 --- a/gstreamer/src/auto/object.rs +++ b/gstreamer/src/auto/object.rs @@ -13,7 +13,7 @@ use std::boxed::Box as Box_; use std::fmt; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Object(Object); match fn { @@ -142,7 +142,7 @@ impl> GstObjectExt for O { binding: &P, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_object_add_control_binding( self.as_ref().to_glib_none().0, binding.as_ref().to_glib_none().0 @@ -283,7 +283,7 @@ impl> GstObjectExt for O { fn set_parent>(&self, parent: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_object_set_parent( self.as_ref().to_glib_none().0, parent.as_ref().to_glib_none().0 @@ -303,7 +303,7 @@ impl> GstObjectExt for O { fn sync_values(&self, timestamp: ClockTime) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_object_sync_values(self.as_ref().to_glib_none().0, timestamp.to_glib()), "Failed to sync values" ) diff --git a/gstreamer/src/auto/pad.rs b/gstreamer/src/auto/pad.rs index c3062df73..52839ea9c 100644 --- a/gstreamer/src/auto/pad.rs +++ b/gstreamer/src/auto/pad.rs @@ -28,7 +28,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Pad(Object) @extends Object; match fn { @@ -210,7 +210,7 @@ pub trait PadExt: 'static { impl> PadExt for O { fn activate_mode(&self, mode: PadMode, active: bool) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_pad_activate_mode( self.as_ref().to_glib_none().0, mode.to_glib(), @@ -410,7 +410,7 @@ impl> PadExt for O { #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] fn link_maybe_ghosting>(&self, sink: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_pad_link_maybe_ghosting( self.as_ref().to_glib_none().0, sink.as_ref().to_glib_none().0 @@ -428,7 +428,7 @@ impl> PadExt for O { flags: PadLinkCheck, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_pad_link_maybe_ghosting_full( self.as_ref().to_glib_none().0, sink.as_ref().to_glib_none().0, @@ -455,7 +455,7 @@ impl> PadExt for O { fn pause_task(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_pad_pause_task(self.as_ref().to_glib_none().0), "Failed to pause pad task" ) @@ -500,7 +500,7 @@ impl> PadExt for O { fn set_active(&self, active: bool) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_pad_set_active(self.as_ref().to_glib_none().0, active.to_glib()), "Failed to activate pad" ) @@ -519,7 +519,7 @@ impl> PadExt for O { fn stop_task(&self) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_pad_stop_task(self.as_ref().to_glib_none().0), "Failed to stop pad task" ) @@ -528,7 +528,7 @@ impl> PadExt for O { fn unlink>(&self, sinkpad: &P) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_pad_unlink( self.as_ref().to_glib_none().0, sinkpad.as_ref().to_glib_none().0 diff --git a/gstreamer/src/auto/pad_template.rs b/gstreamer/src/auto/pad_template.rs index 2645c3296..15d2090b7 100644 --- a/gstreamer/src/auto/pad_template.rs +++ b/gstreamer/src/auto/pad_template.rs @@ -16,7 +16,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct PadTemplate(Object) @extends Object; match fn { @@ -40,7 +40,7 @@ impl PadTemplate { presence.to_glib(), caps.to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to create pad template")) + .ok_or_else(|| glib::bool_error!("Failed to create pad template")) } } @@ -63,7 +63,7 @@ impl PadTemplate { caps.to_glib_none().0, pad_type.to_glib(), )) - .ok_or_else(|| glib::glib_bool_error!("Failed to create pad template")) + .ok_or_else(|| glib::bool_error!("Failed to create pad template")) } } diff --git a/gstreamer/src/auto/pipeline.rs b/gstreamer/src/auto/pipeline.rs index ea4bcbe12..0d9317ba7 100644 --- a/gstreamer/src/auto/pipeline.rs +++ b/gstreamer/src/auto/pipeline.rs @@ -16,7 +16,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Pipeline(Object) @extends Bin, Element, Object, @implements ChildProxy; match fn { diff --git a/gstreamer/src/auto/plugin.rs b/gstreamer/src/auto/plugin.rs index f0593188f..f4f5561f3 100644 --- a/gstreamer/src/auto/plugin.rs +++ b/gstreamer/src/auto/plugin.rs @@ -7,7 +7,7 @@ use crate::PluginDependencyFlags; use glib::translate::*; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Plugin(Object) @extends Object; match fn { @@ -107,7 +107,7 @@ impl Plugin { pub fn load(&self) -> Result { unsafe { Option::<_>::from_glib_full(ffi::gst_plugin_load(self.to_glib_none().0)) - .ok_or_else(|| glib::glib_bool_error!("Failed to load plugin")) + .ok_or_else(|| glib::bool_error!("Failed to load plugin")) } } @@ -116,7 +116,7 @@ impl Plugin { assert_initialized_main_thread!(); unsafe { Option::<_>::from_glib_full(ffi::gst_plugin_load_by_name(name.to_glib_none().0)) - .ok_or_else(|| glib::glib_bool_error!("Failed to load plugin")) + .ok_or_else(|| glib::bool_error!("Failed to load plugin")) } } diff --git a/gstreamer/src/auto/plugin_feature.rs b/gstreamer/src/auto/plugin_feature.rs index f58c25cfe..12d798a92 100644 --- a/gstreamer/src/auto/plugin_feature.rs +++ b/gstreamer/src/auto/plugin_feature.rs @@ -7,7 +7,7 @@ use crate::Plugin; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct PluginFeature(Object) @extends Object; match fn { @@ -67,7 +67,7 @@ impl> PluginFeatureExt for O { Option::<_>::from_glib_full(ffi::gst_plugin_feature_load( self.as_ref().to_glib_none().0, )) - .ok_or_else(|| glib::glib_bool_error!("Failed to load plugin feature")) + .ok_or_else(|| glib::bool_error!("Failed to load plugin feature")) } } } diff --git a/gstreamer/src/auto/preset.rs b/gstreamer/src/auto/preset.rs index 1f2663ddf..2afb5e8a7 100644 --- a/gstreamer/src/auto/preset.rs +++ b/gstreamer/src/auto/preset.rs @@ -6,7 +6,7 @@ use glib::object::IsA; use glib::translate::*; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct Preset(Interface); match fn { @@ -27,7 +27,7 @@ impl Preset { ) -> Result<(), glib::error::BoolError> { assert_initialized_main_thread!(); unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_preset_set_app_dir(app_dir.as_ref().to_glib_none().0), "Failed to set app preset directory" ) @@ -77,7 +77,7 @@ pub trait PresetExt: 'static { impl> PresetExt for O { fn delete_preset(&self, name: &str) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_preset_delete_preset( self.as_ref().to_glib_none().0, name.to_glib_none().0 @@ -126,7 +126,7 @@ impl> PresetExt for O { fn load_preset(&self, name: &str) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_preset_load_preset(self.as_ref().to_glib_none().0, name.to_glib_none().0), "Failed to load preset" ) @@ -135,7 +135,7 @@ impl> PresetExt for O { fn rename_preset(&self, old_name: &str, new_name: &str) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_preset_rename_preset( self.as_ref().to_glib_none().0, old_name.to_glib_none().0, @@ -148,7 +148,7 @@ impl> PresetExt for O { fn save_preset(&self, name: &str) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_preset_save_preset(self.as_ref().to_glib_none().0, name.to_glib_none().0), "Failed to save preset" ) @@ -162,7 +162,7 @@ impl> PresetExt for O { value: Option<&str>, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_preset_set_meta( self.as_ref().to_glib_none().0, name.to_glib_none().0, diff --git a/gstreamer/src/auto/proxy_pad.rs b/gstreamer/src/auto/proxy_pad.rs index 3d195179e..26330644c 100644 --- a/gstreamer/src/auto/proxy_pad.rs +++ b/gstreamer/src/auto/proxy_pad.rs @@ -7,7 +7,7 @@ use crate::Pad; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct ProxyPad(Object) @extends Pad, Object; match fn { diff --git a/gstreamer/src/auto/registry.rs b/gstreamer/src/auto/registry.rs index 6dce0e533..fd7cfa087 100644 --- a/gstreamer/src/auto/registry.rs +++ b/gstreamer/src/auto/registry.rs @@ -13,7 +13,7 @@ use glib::translate::*; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Registry(Object) @extends Object; match fn { @@ -28,7 +28,7 @@ impl Registry { feature: &P, ) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_registry_add_feature( self.to_glib_none().0, feature.as_ref().to_glib_none().0 @@ -41,7 +41,7 @@ impl Registry { #[doc(alias = "gst_registry_add_plugin")] pub fn add_plugin(&self, plugin: &Plugin) -> Result<(), glib::error::BoolError> { unsafe { - glib::glib_result_from_gboolean!( + glib::result_from_gboolean!( ffi::gst_registry_add_plugin(self.to_glib_none().0, plugin.to_glib_none().0), "Failed to add plugin" ) diff --git a/gstreamer/src/auto/stream.rs b/gstreamer/src/auto/stream.rs index 3eb1ceeb2..b3a3422e7 100644 --- a/gstreamer/src/auto/stream.rs +++ b/gstreamer/src/auto/stream.rs @@ -32,7 +32,7 @@ use std::boxed::Box as Box_; #[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))] use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct Stream(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/stream_collection.rs b/gstreamer/src/auto/stream_collection.rs index 1b7df7132..cfdb68515 100644 --- a/gstreamer/src/auto/stream_collection.rs +++ b/gstreamer/src/auto/stream_collection.rs @@ -8,7 +8,7 @@ use crate::Object; use crate::Stream; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct StreamCollection(Object) @extends Object; match fn { diff --git a/gstreamer/src/auto/system_clock.rs b/gstreamer/src/auto/system_clock.rs index ca050d83e..0bfbc7b68 100644 --- a/gstreamer/src/auto/system_clock.rs +++ b/gstreamer/src/auto/system_clock.rs @@ -14,7 +14,7 @@ use glib::StaticType; use std::boxed::Box as Box_; use std::mem::transmute; -glib::glib_wrapper! { +glib::wrapper! { pub struct SystemClock(Object) @extends Clock, Object; match fn { diff --git a/gstreamer/src/auto/tag_setter.rs b/gstreamer/src/auto/tag_setter.rs index c8de3bb9f..0b6690449 100644 --- a/gstreamer/src/auto/tag_setter.rs +++ b/gstreamer/src/auto/tag_setter.rs @@ -9,7 +9,7 @@ use crate::TagMergeMode; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct TagSetter(Interface) @requires Element, Object; match fn { diff --git a/gstreamer/src/auto/toc_setter.rs b/gstreamer/src/auto/toc_setter.rs index 45a32d93b..2656ab87a 100644 --- a/gstreamer/src/auto/toc_setter.rs +++ b/gstreamer/src/auto/toc_setter.rs @@ -8,7 +8,7 @@ use crate::Toc; use glib::object::IsA; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct TocSetter(Interface) @requires Element, Object; match fn { diff --git a/gstreamer/src/auto/type_find_factory.rs b/gstreamer/src/auto/type_find_factory.rs index ab731986c..61fb620f8 100644 --- a/gstreamer/src/auto/type_find_factory.rs +++ b/gstreamer/src/auto/type_find_factory.rs @@ -7,7 +7,7 @@ use crate::Object; use crate::PluginFeature; use glib::translate::*; -glib::glib_wrapper! { +glib::wrapper! { pub struct TypeFindFactory(Object) @extends PluginFeature, Object; match fn { diff --git a/gstreamer/src/auto/uri_handler.rs b/gstreamer/src/auto/uri_handler.rs index 11aa75690..3932e1995 100644 --- a/gstreamer/src/auto/uri_handler.rs +++ b/gstreamer/src/auto/uri_handler.rs @@ -7,7 +7,7 @@ use glib::object::IsA; use glib::translate::*; use std::ptr; -glib::glib_wrapper! { +glib::wrapper! { pub struct URIHandler(Interface); match fn { diff --git a/gstreamer/src/auto/versions.txt b/gstreamer/src/auto/versions.txt index ba6c32af8..70ccf0eeb 100644 --- a/gstreamer/src/auto/versions.txt +++ b/gstreamer/src/auto/versions.txt @@ -1,2 +1,2 @@ -Generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +Generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) diff --git a/gstreamer/sys/build.rs b/gstreamer/sys/build.rs index 4cb086136..0597b0048 100644 --- a/gstreamer/sys/build.rs +++ b/gstreamer/sys/build.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #[cfg(not(feature = "dox"))] diff --git a/gstreamer/sys/src/lib.rs b/gstreamer/sys/src/lib.rs index 01f11f1e9..af8334ecb 100644 --- a/gstreamer/sys/src/lib.rs +++ b/gstreamer/sys/src/lib.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #![allow(non_camel_case_types, non_upper_case_globals, non_snake_case)] diff --git a/gstreamer/sys/tests/abi.rs b/gstreamer/sys/tests/abi.rs index 1a7bdccc8..03bf0f67f 100644 --- a/gstreamer/sys/tests/abi.rs +++ b/gstreamer/sys/tests/abi.rs @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT use gstreamer_sys::*; diff --git a/gstreamer/sys/tests/constant.c b/gstreamer/sys/tests/constant.c index 206014da6..409051e71 100644 --- a/gstreamer/sys/tests/constant.c +++ b/gstreamer/sys/tests/constant.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h" diff --git a/gstreamer/sys/tests/layout.c b/gstreamer/sys/tests/layout.c index 82c774a5d..22c4055cf 100644 --- a/gstreamer/sys/tests/layout.c +++ b/gstreamer/sys/tests/layout.c @@ -1,5 +1,5 @@ -// This file was generated by gir (https://github.com/gtk-rs/gir @ 6ec2baf) -// from gir-files (https://github.com/gtk-rs/gir-files @ 9424eabd) +// This file was generated by gir (https://github.com/gtk-rs/gir @ 0ae3977) +// from gir-files (https://github.com/gtk-rs/gir-files @ 27dc5b40) // DO NOT EDIT #include "manual.h"