Re-export gst::ObjectExt as gst::GstObjectExt to prevent conflict with glib::ObjectExt

This commit is contained in:
Sebastian Dröge 2017-07-13 10:36:38 +03:00
parent 9c357abf1a
commit a94d4d583d
3 changed files with 1 additions and 2 deletions

View file

@ -1,6 +1,5 @@
extern crate gstreamer as gst; extern crate gstreamer as gst;
use gst::*; use gst::*;
use gst::ObjectExt as GstObjectExt;
extern crate glib; extern crate glib;
use glib::ObjectExt; use glib::ObjectExt;

View file

@ -1,6 +1,5 @@
extern crate gstreamer as gst; extern crate gstreamer as gst;
use gst::*; use gst::*;
use gst::ObjectExt as GstObjectExt;
extern crate glib; extern crate glib;
use glib::*; use glib::*;

View file

@ -44,6 +44,7 @@ mod auto;
pub use auto::*; pub use auto::*;
pub use auto::traits::*; pub use auto::traits::*;
pub use auto::functions::{parse_launch, parse_bin_from_description}; pub use auto::functions::{parse_launch, parse_bin_from_description};
pub use auto::traits::ObjectExt as GstObjectExt;
pub mod miniobject; pub mod miniobject;
pub use miniobject::GstRc; pub use miniobject::GstRc;