diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-02-22 18:17:46 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-02-22 18:20:40 +0300 |
commit | 0616c1870381add9f4583718ff0b963cacf06f0e (patch) | |
tree | 577f3db565fed14a9354078733590738a727e23b /utils | |
parent | 7c61fd9e7a836bc10d105fe46414f43c7c18f4dd (diff) |
Update for changed GLib signals API
Diffstat (limited to 'utils')
-rw-r--r-- | utils/fallbackswitch/src/fallbacksrc/imp.rs | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/utils/fallbackswitch/src/fallbacksrc/imp.rs b/utils/fallbackswitch/src/fallbacksrc/imp.rs index 4961bb29c..2280016ec 100644 --- a/utils/fallbackswitch/src/fallbacksrc/imp.rs +++ b/utils/fallbackswitch/src/fallbacksrc/imp.rs @@ -557,8 +557,8 @@ impl ObjectImpl for FallbackSrc { static SIGNALS: Lazy<Vec<glib::subclass::Signal>> = Lazy::new(|| { vec![glib::subclass::Signal::builder( "update-uri", - &[String::static_type()], - String::static_type(), + &[String::static_type().into()], + String::static_type().into(), ) .action() .class_handler(|_token, args| { @@ -696,7 +696,7 @@ impl FallbackSrc { .expect("No uridecodebin3 found"); let uri = element - .emit("update-uri", &[uri]) + .emit_by_name("update-uri", &[uri]) .expect("Failed to emit update-uri signal") .expect("No value returned"); let uri = uri |