diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2021-02-25 14:12:12 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2021-02-25 14:12:12 +0300 |
commit | 5dd0a23986352fa363b002c8495951e6a3593673 (patch) | |
tree | 822a5304bf0ce7dcfcfb0979d83597711a103814 /generic/threadshare | |
parent | 0616c1870381add9f4583718ff0b963cacf06f0e (diff) |
threadshare: Update for glib::Type API changes
Diffstat (limited to 'generic/threadshare')
-rw-r--r-- | generic/threadshare/src/jitterbuffer/imp.rs | 2 | ||||
-rw-r--r-- | generic/threadshare/src/udpsink/imp.rs | 6 |
2 files changed, 4 insertions, 4 deletions
diff --git a/generic/threadshare/src/jitterbuffer/imp.rs b/generic/threadshare/src/jitterbuffer/imp.rs index 220273980..f679a03b9 100644 --- a/generic/threadshare/src/jitterbuffer/imp.rs +++ b/generic/threadshare/src/jitterbuffer/imp.rs @@ -1439,7 +1439,7 @@ impl ObjectImpl for JitterBuffer { vec![glib::subclass::Signal::builder( "clear-pt-map", &[], - glib::types::Type::Unit.into(), + glib::types::Type::UNIT.into(), ) .action() .class_handler(|_, args| { diff --git a/generic/threadshare/src/udpsink/imp.rs b/generic/threadshare/src/udpsink/imp.rs index 3b31ac6f8..ad1333bfc 100644 --- a/generic/threadshare/src/udpsink/imp.rs +++ b/generic/threadshare/src/udpsink/imp.rs @@ -1117,7 +1117,7 @@ impl ObjectImpl for UdpSink { glib::subclass::Signal::builder( "add", &[String::static_type().into(), i32::static_type().into()], - glib::types::Type::Unit.into(), + glib::types::Type::UNIT.into(), ) .action() .class_handler(|_, args| { @@ -1145,7 +1145,7 @@ impl ObjectImpl for UdpSink { glib::subclass::Signal::builder( "remove", &[String::static_type().into(), i32::static_type().into()], - glib::types::Type::Unit.into(), + glib::types::Type::UNIT.into(), ) .action() .class_handler(|_, args| { @@ -1170,7 +1170,7 @@ impl ObjectImpl for UdpSink { None }) .build(), - glib::subclass::Signal::builder("clear", &[], glib::types::Type::Unit.into()) + glib::subclass::Signal::builder("clear", &[], glib::types::Type::UNIT.into()) .action() .class_handler(|_, args| { let element = args[0] |