From 8aaec57dac542c6584e5cc3780a8dadd27684a19 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Tue, 8 Sep 2020 16:11:39 +0300 Subject: [PATCH] gstreamer: Fix compilation after glib API change --- gstreamer/src/object.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gstreamer/src/object.rs b/gstreamer/src/object.rs index e8d86c774..f9a7bc74d 100644 --- a/gstreamer/src/object.rs +++ b/gstreamer/src/object.rs @@ -123,7 +123,7 @@ mod tests { identity.set_property("silent", &false).unwrap(); assert_eq!( *notify.lock().unwrap(), - Some((identity.upcast::<::Object>(), String::from("silent"))) + Some((identity.upcast::<::Object>(), "silent")) ); } }