diff options
author | Sebastian Dröge <sebastian@centricular.com> | 2020-12-18 01:44:49 +0300 |
---|---|---|
committer | Sebastian Dröge <sebastian@centricular.com> | 2020-12-18 01:44:49 +0300 |
commit | ea6c05e16ccf0875652e2370eef4839ae819bc34 (patch) | |
tree | 4b61e9ffa44e639304dbbff638512d715c6dbad6 /audio/claxon | |
parent | 708c6aa57e1dabe35e8304dd878e130501282a7d (diff) |
Update everything for glib macro renamings
Diffstat (limited to 'audio/claxon')
-rw-r--r-- | audio/claxon/src/claxondec/imp.rs | 2 | ||||
-rw-r--r-- | audio/claxon/src/claxondec/mod.rs | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/audio/claxon/src/claxondec/imp.rs b/audio/claxon/src/claxondec/imp.rs index 79ca73595..304e769dd 100644 --- a/audio/claxon/src/claxondec/imp.rs +++ b/audio/claxon/src/claxondec/imp.rs @@ -37,7 +37,7 @@ impl ObjectSubclass for ClaxonDec { type Instance = gst::subclass::ElementInstanceStruct<Self>; type Class = subclass::simple::ClassStruct<Self>; - glib::glib_object_subclass!(); + glib::object_subclass!(); fn new() -> Self { Self { diff --git a/audio/claxon/src/claxondec/mod.rs b/audio/claxon/src/claxondec/mod.rs index 3ceca8cab..29f5d34d5 100644 --- a/audio/claxon/src/claxondec/mod.rs +++ b/audio/claxon/src/claxondec/mod.rs @@ -10,7 +10,7 @@ use glib::prelude::*; mod imp; -glib::glib_wrapper! { +glib::wrapper! { pub struct ClaxonDec(ObjectSubclass<imp::ClaxonDec>) @extends gst_audio::AudioDecoder, gst::Element, gst::Object; } |