mirror of
https://gitlab.freedesktop.org/gstreamer/gstreamer-rs.git
synced 2024-11-25 19:11:06 +00:00
Clean up various imports everywhere
This commit is contained in:
parent
5d11bba67e
commit
1d59ea91c5
58 changed files with 60 additions and 89 deletions
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::AudioDecoder;
|
||||
use crate::AudioInfo;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::AudioEncoder;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
|
|
|
@ -1,14 +1,11 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::Aggregator;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
use glib::prelude::*;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
use glib::signal::{connect_raw, SignalHandlerId};
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
use glib::Value;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::AggregatorPad;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
pub trait AggregatorPadExtManual: 'static {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::BaseParse;
|
||||
use crate::BaseParseFrame;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use gst::FormattedValue;
|
||||
use std::convert::TryFrom;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::BaseSink;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::mem;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::BaseTransform;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
glib::wrapper! {
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::mem;
|
||||
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::TestClock;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use gst::prelude::*;
|
||||
use std::marker::PhantomData;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::TimelineElement;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::ptr;
|
||||
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::GLDisplay;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
use gst::ContextRef;
|
||||
use std::ptr;
|
||||
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
use crate::GLAllocationParams;
|
||||
|
|
|
@ -4,8 +4,8 @@ use crate::GLContext;
|
|||
use crate::GLDisplay;
|
||||
use crate::GLPlatform;
|
||||
use crate::GLAPI;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
use libc::uintptr_t;
|
||||
|
||||
impl GLContext {
|
||||
|
|
|
@ -58,8 +58,7 @@ impl fmt::Debug for NetAddressMeta {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use gio::InetAddressExt;
|
||||
use gio::InetSocketAddressExt;
|
||||
use gio::prelude::*;
|
||||
|
||||
#[test]
|
||||
fn test_add_get_meta() {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::NetClientClock;
|
||||
|
||||
use glib::object::Cast;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
impl NetClientClock {
|
||||
|
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
use crate::NetTimeProvider;
|
||||
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
|
||||
impl NetTimeProvider {
|
||||
pub fn new<P: IsA<gst::Clock>>(clock: &P, address: Option<&str>, port: i32) -> NetTimeProvider {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::NtpClock;
|
||||
|
||||
use glib::object::Cast;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
impl NtpClock {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::PtpClock;
|
||||
|
||||
use glib::object::Cast;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
impl PtpClock {
|
||||
|
|
|
@ -2,11 +2,10 @@
|
|||
|
||||
use crate::auto::Discoverer;
|
||||
|
||||
use glib::object::{Cast, ObjectType};
|
||||
use glib::prelude::*;
|
||||
use glib::signal::connect_raw;
|
||||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
use glib::Value;
|
||||
|
||||
use std::boxed::Box as Box_;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use thiserror::Error;
|
||||
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
use crate::auto::EncodingAudioProfile;
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::PlayerVideoOverlayVideoRenderer;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
|
||||
use std::ptr;
|
||||
|
||||
|
|
|
@ -2,9 +2,9 @@
|
|||
|
||||
use crate::{Player, PlayerVideoRenderer};
|
||||
|
||||
use glib::prelude::*;
|
||||
use glib::subclass::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::Cast;
|
||||
|
||||
pub trait PlayerVideoRendererImpl: ObjectImpl {
|
||||
fn create_video_sink(&self, video_renderer: &Self::Type, player: &Player) -> gst::Element;
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
use crate::RTSPAddress;
|
||||
use crate::RTSPAddressPool;
|
||||
use crate::RTSPAddressPoolResult;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::ptr;
|
||||
|
||||
|
|
|
@ -1,7 +1,6 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use glib::object::Cast;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::signal::connect_raw;
|
||||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::RTSPClient;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::source::SourceId;
|
||||
use glib::translate::*;
|
||||
|
||||
|
|
|
@ -1,6 +1,6 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
use crate::RTSPMedia;
|
||||
|
|
|
@ -2,10 +2,10 @@
|
|||
|
||||
use crate::RTSPMediaFactory;
|
||||
|
||||
use glib::prelude::*;
|
||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_14")))]
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
|
||||
pub trait RTSPMediaFactoryExtManual: 'static {
|
||||
#[cfg(any(feature = "v1_14", feature = "dox"))]
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::RTSPServer;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::source::SourceId;
|
||||
use glib::translate::*;
|
||||
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::RTSPSessionPool;
|
||||
use glib::ffi::{gboolean, gpointer};
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::source::{Continue, Priority};
|
||||
use glib::translate::*;
|
||||
use std::cell::RefCell;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::RTSPStream;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
pub trait RTSPStreamExtManual: 'static {
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::RTSPStreamTransport;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
pub trait RTSPStreamTransportExtManual: 'static {
|
||||
|
|
|
@ -8,7 +8,7 @@ use crate::VideoFormat;
|
|||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
use crate::VideoInterlaceMode;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
|
|
|
@ -4,7 +4,7 @@ use crate::utils::HasStreamLock;
|
|||
use crate::video_codec_state::{InNegotiation, Readable, VideoCodecState, VideoCodecStateContext};
|
||||
use crate::VideoCodecFrame;
|
||||
use crate::VideoEncoder;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::mem;
|
||||
use std::ptr;
|
||||
|
|
|
@ -1,10 +1,10 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::VideoOverlay;
|
||||
use glib::translate::*;
|
||||
use libc::uintptr_t;
|
||||
|
||||
use glib::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
pub trait VideoOverlayExtManual: 'static {
|
||||
unsafe fn set_window_handle(&self, handle: uintptr_t);
|
||||
|
|
|
@ -5,13 +5,10 @@
|
|||
|
||||
use crate::WebRTCDataChannelState;
|
||||
use crate::WebRTCPriorityType;
|
||||
use glib::object::ObjectExt;
|
||||
use glib::object::ObjectType as ObjectType_;
|
||||
use glib::prelude::*;
|
||||
use glib::signal::connect_raw;
|
||||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
use glib::StaticType;
|
||||
use glib::ToValue;
|
||||
use std::boxed::Box as Box_;
|
||||
use std::mem::transmute;
|
||||
|
||||
|
|
|
@ -5,8 +5,7 @@ use crate::BinFlags;
|
|||
use crate::Element;
|
||||
use crate::LoggableError;
|
||||
|
||||
use glib::object::Cast;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::signal::connect_raw;
|
||||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
|
|
|
@ -5,8 +5,8 @@ use crate::Allocator;
|
|||
use crate::BufferPool;
|
||||
use crate::Structure;
|
||||
|
||||
use glib::prelude::*;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, ToGlib, ToGlibPtr, ToGlibPtrMut};
|
||||
use glib::IsA;
|
||||
|
||||
use std::mem;
|
||||
use std::ops;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::ChildProxy;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use std::ptr;
|
||||
|
||||
|
|
|
@ -9,11 +9,8 @@ use crate::ClockSuccess;
|
|||
use crate::ClockTime;
|
||||
use crate::ClockTimeDiff;
|
||||
use glib::ffi::{gboolean, gpointer};
|
||||
#[cfg(any(feature = "v1_16", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_16")))]
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
use libc::c_void;
|
||||
use std::cmp;
|
||||
use std::convert;
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::ClockTime;
|
||||
use crate::ControlBinding;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
pub trait ControlBindingExtManual: 'static {
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use crate::ClockTime;
|
||||
use crate::ControlSource;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
pub trait ControlSourceExtManual: 'static {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
use crate::Caps;
|
||||
use crate::DeviceMonitor;
|
||||
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
use std::num::NonZeroU32;
|
||||
|
|
|
@ -4,9 +4,8 @@ use crate::DeviceProvider;
|
|||
use crate::Plugin;
|
||||
use crate::Rank;
|
||||
|
||||
use glib::object::IsA;
|
||||
use glib::translate::ToGlib;
|
||||
use glib::translate::ToGlibPtr;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
use std::ffi::CStr;
|
||||
|
||||
|
|
|
@ -22,16 +22,9 @@ use crate::StateChange;
|
|||
use crate::StateChangeError;
|
||||
use crate::StateChangeReturn;
|
||||
use crate::StateChangeSuccess;
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
use glib::object::Cast;
|
||||
use glib::object::IsA;
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
#[cfg_attr(feature = "dox", doc(cfg(feature = "v1_10")))]
|
||||
use glib::translate::FromGlibPtrBorrow;
|
||||
use glib::translate::{
|
||||
from_glib, from_glib_full, from_glib_none, FromGlib, FromGlibPtrContainer, ToGlib, ToGlibPtr,
|
||||
};
|
||||
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
|
||||
use std::ffi::CStr;
|
||||
#[cfg(any(feature = "v1_10", feature = "dox"))]
|
||||
|
|
|
@ -2,7 +2,7 @@
|
|||
|
||||
use thiserror::Error;
|
||||
|
||||
use glib::IsA;
|
||||
use glib::prelude::*;
|
||||
|
||||
#[macro_export]
|
||||
macro_rules! error_msg(
|
||||
|
|
|
@ -1,8 +1,8 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use crate::auto::functions::parse_bin_from_description;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::Cast;
|
||||
use std::ptr;
|
||||
|
||||
use crate::Bin;
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use glib::prelude::*;
|
||||
use glib::translate::ToGlibPtr;
|
||||
use glib::IsA;
|
||||
|
||||
pub trait GObjectExtManualGst: 'static {
|
||||
fn set_property_from_str(&self, name: &str, value: &str);
|
||||
|
|
|
@ -11,8 +11,8 @@ use std::ptr;
|
|||
use once_cell::sync::Lazy;
|
||||
|
||||
use glib::ffi::gpointer;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
|
||||
#[derive(PartialEq, Eq)]
|
||||
pub struct DebugMessage(ptr::NonNull<ffi::GstDebugMessage>);
|
||||
|
|
|
@ -16,10 +16,8 @@ use std::num::NonZeroU32;
|
|||
use std::ops::Deref;
|
||||
use std::ptr;
|
||||
|
||||
use glib::prelude::*;
|
||||
use glib::translate::{from_glib, from_glib_full, from_glib_none, mut_override, ToGlib, ToGlibPtr};
|
||||
use glib::value::ToSendValue;
|
||||
use glib::Cast;
|
||||
use glib::IsA;
|
||||
|
||||
mini_object_wrapper!(Message, MessageRef, ffi::GstMessage, || {
|
||||
ffi::gst_message_get_type()
|
||||
|
|
|
@ -1,9 +1,8 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use glib::object::{Cast, ObjectExt};
|
||||
use glib::prelude::*;
|
||||
use glib::signal::SignalHandlerId;
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
|
||||
use crate::ClockTime;
|
||||
use crate::ObjectFlags;
|
||||
|
|
|
@ -29,11 +29,10 @@ use std::num::NonZeroU64;
|
|||
use std::ptr;
|
||||
|
||||
use glib::ffi::gpointer;
|
||||
use glib::object::{Cast, IsA};
|
||||
use glib::prelude::*;
|
||||
use glib::translate::{
|
||||
from_glib, from_glib_borrow, from_glib_full, FromGlib, FromGlibPtrBorrow, ToGlib, ToGlibPtr,
|
||||
};
|
||||
use glib::StaticType;
|
||||
|
||||
#[derive(Debug, PartialEq, Eq)]
|
||||
pub struct PadProbeId(NonZeroU64);
|
||||
|
@ -1653,8 +1652,6 @@ impl<T: IsA<Pad> + IsA<glib::Object> + glib::object::IsClass> PadBuilder<T> {
|
|||
pub fn from_template(templ: &crate::PadTemplate, name: Option<&str>) -> Self {
|
||||
assert_initialized_main_thread!();
|
||||
|
||||
use glib::ObjectExt;
|
||||
|
||||
let mut type_ = T::static_type();
|
||||
|
||||
// Since 1.14 templates can keep a pad GType with them, so we need to do some
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
// Take a look at the license at the top of the repository in the LICENSE file.
|
||||
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
|
||||
use crate::PipelineFlags;
|
||||
|
||||
|
|
|
@ -5,8 +5,8 @@ use crate::PluginFlags;
|
|||
use crate::Structure;
|
||||
use crate::StructureRef;
|
||||
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::IsA;
|
||||
|
||||
impl Plugin {
|
||||
pub fn cache_data(&self) -> Option<&StructureRef> {
|
||||
|
|
|
@ -3,7 +3,7 @@
|
|||
use crate::PluginFeature;
|
||||
use crate::Rank;
|
||||
|
||||
use glib::object::{Cast, IsA};
|
||||
use glib::prelude::*;
|
||||
use glib::translate::{from_glib, FromGlibPtrFull, ToGlib, ToGlibPtr};
|
||||
|
||||
pub trait PluginFeatureExtManual: Sized + 'static {
|
||||
|
@ -40,7 +40,6 @@ impl<O: IsA<PluginFeature>> PluginFeatureExtManual for O {
|
|||
#[cfg(test)]
|
||||
mod tests {
|
||||
use super::*;
|
||||
use crate::prelude::*;
|
||||
|
||||
#[test]
|
||||
fn test_load() {
|
||||
|
|
|
@ -10,7 +10,7 @@ use crate::Pad;
|
|||
use crate::ProxyPad;
|
||||
use std::ptr;
|
||||
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::{from_glib, from_glib_full, ToGlibPtr};
|
||||
|
||||
pub trait ProxyPadExtManual: 'static {
|
||||
|
|
|
@ -3,9 +3,8 @@
|
|||
use crate::tags::*;
|
||||
use crate::TagMergeMode;
|
||||
use crate::TagSetter;
|
||||
use glib::object::IsA;
|
||||
use glib::prelude::*;
|
||||
use glib::translate::*;
|
||||
use glib::ToSendValue;
|
||||
|
||||
pub trait TagSetterExtManual: 'static {
|
||||
fn add<'a, T: Tag<'a>>(&self, value: &T::TagType, mode: TagMergeMode);
|
||||
|
|
Loading…
Reference in a new issue