Commit 0eb777cf authored by Sebastian Dröge's avatar Sebastian Dröge 🍵
Browse files

Update for removal of ObjectImpl::get_type_data()

parent 1730de6c
Pipeline #182271 passed with stages
in 26 minutes and 21 seconds
......@@ -194,8 +194,6 @@ impl ObjectSubclass for AudioEcho {
}
impl ObjectImpl for AudioEcho {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
......
......@@ -1824,8 +1824,6 @@ impl ObjectSubclass for AudioLoudNorm {
}
impl ObjectImpl for AudioLoudNorm {
glib_object_impl!();
fn constructed(&self, obj: &glib::Object) {
self.parent_constructed(obj);
......
......@@ -93,9 +93,7 @@ impl ObjectSubclass for ClaxonDec {
}
}
impl ObjectImpl for ClaxonDec {
glib_object_impl!();
}
impl ObjectImpl for ClaxonDec {}
impl ElementImpl for ClaxonDec {}
......
......@@ -15,9 +15,9 @@
// Free Software Foundation, Inc., 51 Franklin Street, Suite 500,
// Boston, MA 02110-1335, USA.
use glib::glib_object_subclass;
use glib::subclass;
use glib::subclass::prelude::*;
use glib::{glib_object_impl, glib_object_subclass};
use gst::prelude::*;
use gst::subclass::prelude::*;
use gst::{
......@@ -431,8 +431,6 @@ impl ObjectSubclass for CsoundFilter {
}
impl ObjectImpl for CsoundFilter {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
match *prop {
......
......@@ -92,9 +92,7 @@ impl ObjectSubclass for LewtonDec {
}
}
impl ObjectImpl for LewtonDec {
glib_object_impl!();
}
impl ObjectImpl for LewtonDec {}
impl ElementImpl for LewtonDec {}
......
......@@ -159,8 +159,6 @@ impl ObjectSubclass for FileSink {
}
impl ObjectImpl for FileSink {
glib_object_impl!();
fn set_property(&self, obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
match *prop {
......
......@@ -173,8 +173,6 @@ impl ObjectSubclass for FileSrc {
}
impl ObjectImpl for FileSrc {
glib_object_impl!();
fn set_property(&self, obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
match *prop {
......
......@@ -639,8 +639,6 @@ impl ObjectSubclass for Decrypter {
}
impl ObjectImpl for Decrypter {
glib_object_impl!();
fn constructed(&self, obj: &glib::Object) {
self.parent_constructed(obj);
......
......@@ -470,8 +470,6 @@ impl ObjectSubclass for Encrypter {
}
impl ObjectImpl for Encrypter {
glib_object_impl!();
fn constructed(&self, obj: &glib::Object) {
self.parent_constructed(obj);
......
......@@ -21,10 +21,10 @@ use futures::future::BoxFuture;
use futures::lock::Mutex as FutMutex;
use futures::prelude::*;
use glib::glib_object_subclass;
use glib::prelude::*;
use glib::subclass;
use glib::subclass::prelude::*;
use glib::{glib_object_impl, glib_object_subclass};
use gst::prelude::*;
use gst::subclass::prelude::*;
......@@ -639,8 +639,6 @@ impl ObjectSubclass for AppSrc {
}
impl ObjectImpl for AppSrc {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
......
......@@ -19,10 +19,10 @@ use futures::future::BoxFuture;
use futures::future::{abortable, AbortHandle};
use futures::prelude::*;
use glib::glib_object_subclass;
use glib::prelude::*;
use glib::subclass;
use glib::subclass::prelude::*;
use glib::{glib_object_impl, glib_object_subclass};
use gst::prelude::*;
use gst::subclass::prelude::*;
......@@ -481,8 +481,6 @@ impl ObjectSubclass for InputSelector {
}
impl ObjectImpl for InputSelector {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
......
......@@ -19,10 +19,10 @@ use futures::future::BoxFuture;
use futures::future::{abortable, AbortHandle, Aborted};
use futures::prelude::*;
use glib::glib_object_subclass;
use glib::prelude::*;
use glib::subclass;
use glib::subclass::prelude::*;
use glib::{glib_object_impl, glib_object_subclass};
use gst::prelude::*;
use gst::subclass::prelude::*;
......@@ -1494,8 +1494,6 @@ impl ObjectSubclass for JitterBuffer {
}
impl ObjectImpl for JitterBuffer {
glib_object_impl!();
fn set_property(&self, obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
......
......@@ -19,10 +19,10 @@ use futures::channel::oneshot;
use futures::future::BoxFuture;
use futures::prelude::*;
use glib::glib_object_subclass;
use glib::prelude::*;
use glib::subclass;
use glib::subclass::prelude::*;
use glib::{glib_object_impl, glib_object_subclass};
use gst::prelude::*;
use gst::subclass::prelude::*;
......@@ -693,8 +693,6 @@ impl ObjectSubclass for ProxySink {
}
impl ObjectImpl for ProxySink {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES_SINK[id];
......@@ -1216,8 +1214,6 @@ impl ObjectSubclass for ProxySrc {
}
impl ObjectImpl for ProxySrc {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES_SRC[id];
......
......@@ -19,10 +19,10 @@ use futures::channel::oneshot;
use futures::future::BoxFuture;
use futures::prelude::*;
use glib::glib_object_subclass;
use glib::prelude::*;
use glib::subclass;
use glib::subclass::prelude::*;
use glib::{glib_object_impl, glib_object_subclass};
use gst::prelude::*;
use gst::subclass::prelude::*;
......@@ -808,8 +808,6 @@ impl ObjectSubclass for Queue {
}
impl ObjectImpl for Queue {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
......
......@@ -20,10 +20,10 @@ use futures::future::BoxFuture;
use futures::lock::Mutex as FutMutex;
use futures::prelude::*;
use glib::glib_object_subclass;
use glib::prelude::*;
use glib::subclass;
use glib::subclass::prelude::*;
use glib::{glib_object_impl, glib_object_subclass};
use gst::prelude::*;
use gst::subclass::prelude::*;
......@@ -654,8 +654,6 @@ impl ObjectSubclass for TcpClientSrc {
}
impl ObjectImpl for TcpClientSrc {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
......
......@@ -20,10 +20,10 @@ use futures::future::BoxFuture;
use futures::lock::Mutex;
use futures::prelude::*;
use glib::glib_object_subclass;
use glib::prelude::*;
use glib::subclass;
use glib::subclass::prelude::*;
use glib::{glib_object_impl, glib_object_subclass};
use gst::prelude::*;
use gst::subclass::prelude::*;
......@@ -1305,8 +1305,6 @@ impl ObjectSubclass for UdpSink {
}
impl ObjectImpl for UdpSink {
glib_object_impl!();
fn set_property(&self, obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
let element = obj.downcast_ref::<gst::Element>().unwrap();
......
......@@ -19,10 +19,10 @@ use futures::future::BoxFuture;
use futures::lock::Mutex as FutMutex;
use futures::prelude::*;
use glib::glib_object_subclass;
use glib::prelude::*;
use glib::subclass;
use glib::subclass::prelude::*;
use glib::{glib_object_impl, glib_object_subclass};
use gst::prelude::*;
use gst::subclass::prelude::*;
......@@ -832,8 +832,6 @@ impl ObjectSubclass for UdpSrc {
}
impl ObjectImpl for UdpSrc {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
......
......@@ -21,8 +21,8 @@ use futures::future::BoxFuture;
use futures::lock::Mutex as FutMutex;
use futures::prelude::*;
use glib::glib_object_subclass;
use glib::GBoxed;
use glib::{glib_object_impl, glib_object_subclass};
use gst::prelude::*;
use gst::subclass::prelude::*;
......@@ -336,8 +336,6 @@ impl ObjectSubclass for ElementSrcTest {
}
impl ObjectImpl for ElementSrcTest {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &SRC_PROPERTIES[id];
......@@ -649,8 +647,6 @@ impl ObjectSubclass for ElementSinkTest {
}
impl ObjectImpl for ElementSinkTest {
glib_object_impl!();
fn set_property(&self, _obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &SINK_PROPERTIES[id];
......
......@@ -670,8 +670,6 @@ impl ReqwestHttpSrc {
}
impl ObjectImpl for ReqwestHttpSrc {
glib_object_impl!();
fn set_property(&self, obj: &glib::Object, id: usize, value: &glib::Value) {
let prop = &PROPERTIES[id];
match *prop {
......
......@@ -1085,8 +1085,6 @@ impl ObjectSubclass for Transcriber {
}
impl ObjectImpl for Transcriber {
glib_object_impl!();
fn constructed(&self, obj: &glib::Object) {
self.parent_constructed(obj);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment