Skip to content

Commit

Permalink
Merge pull request #1546 from erer1243/xcb_no_glib_borrowed
Browse files Browse the repository at this point in the history
cairo/src/xcb.rs: use crate::Borrowed when not using glib
  • Loading branch information
sdroege authored Oct 20, 2024
2 parents f27194b + 610564d commit 6717d2e
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions cairo/src/xcb.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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)]
Expand Down

0 comments on commit 6717d2e

Please sign in to comment.