forked from mirrors/gstreamer-rs
Use glib::Object::new()
instead of new_default()
Part-of: <https://gitlab.freedesktop.org/gstreamer/gstreamer-rs/-/merge_requests/1209>
This commit is contained in:
parent
c62530e181
commit
478606e44c
6 changed files with 9 additions and 9 deletions
|
@ -154,7 +154,7 @@ mod media_factory {
|
|||
impl Default for Factory {
|
||||
// Creates a new instance of our factory
|
||||
fn default() -> Factory {
|
||||
glib::Object::new_default()
|
||||
glib::Object::new()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -266,7 +266,7 @@ mod server {
|
|||
impl Default for Server {
|
||||
// Creates a new instance of our factory
|
||||
fn default() -> Server {
|
||||
glib::Object::new_default()
|
||||
glib::Object::new()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -315,7 +315,7 @@ mod client {
|
|||
impl Default for Client {
|
||||
// Creates a new instance of our factory
|
||||
fn default() -> Client {
|
||||
glib::Object::new_default()
|
||||
glib::Object::new()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -359,7 +359,7 @@ mod mount_points {
|
|||
impl Default for MountPoints {
|
||||
// Creates a new instance of our factory
|
||||
fn default() -> Self {
|
||||
glib::Object::new_default()
|
||||
glib::Object::new()
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
|
@ -223,7 +223,7 @@ impl<O: IsA<Bin>> GstBinExtManual for O {
|
|||
|
||||
impl Default for Bin {
|
||||
fn default() -> Self {
|
||||
glib::object::Object::new_default()
|
||||
glib::object::Object::new()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -51,7 +51,7 @@ impl<O: IsA<crate::Pipeline>> GstPipelineExtManual for O {
|
|||
|
||||
impl Default for Pipeline {
|
||||
fn default() -> Self {
|
||||
glib::object::Object::new_default()
|
||||
glib::object::Object::new()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -150,7 +150,7 @@ mod tests {
|
|||
|
||||
impl Default for TestAllocator {
|
||||
fn default() -> Self {
|
||||
glib::Object::new_default()
|
||||
glib::Object::new()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -517,7 +517,7 @@ mod tests {
|
|||
|
||||
impl Default for TestBufferPool {
|
||||
fn default() -> Self {
|
||||
glib::Object::new_default()
|
||||
glib::Object::new()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
|
@ -306,7 +306,7 @@ mod tests {
|
|||
|
||||
impl Default for TestPool {
|
||||
fn default() -> Self {
|
||||
glib::Object::new_default()
|
||||
glib::Object::new()
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue