From 99fb9423d233557cde0d000b16748a287ceb153b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Fran=C3=A7ois=20Laignel?= Date: Fri, 15 Jul 2022 13:26:34 +0200 Subject: [PATCH] regen: optional return type for TestClock::next_entry_type --- gstreamer-check/src/auto/test_clock.rs | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) diff --git a/gstreamer-check/src/auto/test_clock.rs b/gstreamer-check/src/auto/test_clock.rs index 24dd5b79c..d861596a3 100644 --- a/gstreamer-check/src/auto/test_clock.rs +++ b/gstreamer-check/src/auto/test_clock.rs @@ -55,12 +55,11 @@ impl TestClock { #[doc(alias = "gst_test_clock_get_next_entry_time")] #[doc(alias = "get_next_entry_time")] - pub fn next_entry_time(&self) -> gst::ClockTime { + pub fn next_entry_time(&self) -> Option { unsafe { - try_from_glib(ffi::gst_test_clock_get_next_entry_time( + from_glib(ffi::gst_test_clock_get_next_entry_time( self.to_glib_none().0, )) - .expect("mandatory glib value is None") } }