Skip to content

Commit 610564d

Browse files
committed
use crate::Borrowed when not using glib
1 parent f27194b commit 610564d

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cairo/src/xcb.rs

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,9 @@ use std::{ops::Deref, ptr};
77
#[cfg(feature = "use_glib")]
88
use glib::translate::*;
99

10+
#[cfg(not(feature = "use_glib"))]
11+
use crate::Borrowed;
12+
1013
use crate::{ffi, Error, Surface, SurfaceType};
1114

1215
#[derive(Debug)]

0 commit comments

Comments
 (0)