From ffa830ae9bff53de25519077a04b4284777cb36e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Sebastian=20Dr=C3=B6ge?= Date: Sat, 3 Feb 2024 12:30:15 +0200 Subject: [PATCH] Update for GLib prelude re-organization Part-of: --- audio/spotify/src/common.rs | 2 +- net/webrtc/src/signaller/iface.rs | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/audio/spotify/src/common.rs b/audio/spotify/src/common.rs index 4465cec8..6e94a0aa 100644 --- a/audio/spotify/src/common.rs +++ b/audio/spotify/src/common.rs @@ -109,7 +109,7 @@ impl Settings { cat: &gst::DebugCategory, ) -> anyhow::Result where - T: glib::IsA, + T: IsA, { let credentials_cache = if self.cache_credentials.is_empty() { None diff --git a/net/webrtc/src/signaller/iface.rs b/net/webrtc/src/signaller/iface.rs index 545e4c3d..177d15f7 100644 --- a/net/webrtc/src/signaller/iface.rs +++ b/net/webrtc/src/signaller/iface.rs @@ -409,7 +409,7 @@ unsafe impl prelude::ObjectInterface for Signallable { unsafe impl types::IsImplementable for super::Signallable where - ::Type: glib::IsA, + ::Type: IsA, { fn interface_init(iface: &mut glib::Interface) { let iface = ::std::convert::AsMut::as_mut(iface); @@ -503,7 +503,7 @@ pub trait SignallableExt: 'static { fn end_session(&self, session_id: &str); } -impl> SignallableExt for Obj { +impl> SignallableExt for Obj { fn start(&self) { self.emit_by_name::("start", &[]); }