Welcome to mirror list, hosted at ThFree Co, Russian Federation.

github.com/sdroege/gst-plugin-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
path: root/utils
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2023-01-22 21:07:26 +0300
committerSebastian Dröge <sebastian@centricular.com>2023-01-22 21:07:26 +0300
commit2c386fb792a08c3944c9272b361ed54acf86efc8 (patch)
tree2e957fa260524a773f8f87b23cd4375948a0144b /utils
parent037294b077ebf6785fe848a42b53fae7e2d3ba03 (diff)
Update for various deprecated APIs
Diffstat (limited to 'utils')
-rw-r--r--utils/fallbackswitch/src/fallbacksrc/custom_source/mod.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/utils/fallbackswitch/src/fallbacksrc/custom_source/mod.rs b/utils/fallbackswitch/src/fallbacksrc/custom_source/mod.rs
index 2af20923..4424d256 100644
--- a/utils/fallbackswitch/src/fallbacksrc/custom_source/mod.rs
+++ b/utils/fallbackswitch/src/fallbacksrc/custom_source/mod.rs
@@ -16,6 +16,6 @@ glib::wrapper! {
impl CustomSource {
pub fn new(source: &gst::Element) -> CustomSource {
- glib::Object::new(&[("source", source)])
+ glib::Object::builder().property("source", source).build()
}
}