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

gitlab.freedesktop.org/gstreamer/gst-plugins-rs.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSebastian Dröge <sebastian@centricular.com>2021-02-25 14:12:12 +0300
committerSebastian Dröge <sebastian@centricular.com>2021-02-25 14:12:12 +0300
commit5dd0a23986352fa363b002c8495951e6a3593673 (patch)
tree822a5304bf0ce7dcfcfb0979d83597711a103814 /generic/threadshare
parent0616c1870381add9f4583718ff0b963cacf06f0e (diff)
threadshare: Update for glib::Type API changes
Diffstat (limited to 'generic/threadshare')
-rw-r--r--generic/threadshare/src/jitterbuffer/imp.rs2
-rw-r--r--generic/threadshare/src/udpsink/imp.rs6
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]