From 610564d112a1a6cc74211849be76525bf57bf039 Mon Sep 17 00:00:00 2001 From: erer1243 Date: Sun, 20 Oct 2024 15:11:53 -0400 Subject: [PATCH] use crate::Borrowed when not using glib --- cairo/src/xcb.rs | 3 +++ 1 file changed, 3 insertions(+) diff --git a/cairo/src/xcb.rs b/cairo/src/xcb.rs index d542639f1f7c..5b0f4f6e5704 100644 --- a/cairo/src/xcb.rs +++ b/cairo/src/xcb.rs @@ -7,6 +7,9 @@ use std::{ops::Deref, ptr}; #[cfg(feature = "use_glib")] use glib::translate::*; +#[cfg(not(feature = "use_glib"))] +use crate::Borrowed; + use crate::{ffi, Error, Surface, SurfaceType}; #[derive(Debug)]