[librsvg: 3/5] drawing_ctx: make with_saved_cr private




commit 74950126ea21f4f5224bca4379d1eb9c50151cd0
Author: Paolo Borelli <pborelli gnome org>
Date:   Fri Aug 28 14:53:07 2020 +0200

    drawing_ctx: make with_saved_cr private
    
    Now it is not used anymore outside of this module.

 rsvg_internals/src/drawing_ctx.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/drawing_ctx.rs b/rsvg_internals/src/drawing_ctx.rs
index 1b32b170..9c0f16e4 100644
--- a/rsvg_internals/src/drawing_ctx.rs
+++ b/rsvg_internals/src/drawing_ctx.rs
@@ -733,7 +733,7 @@ impl DrawingCtx {
     }
 
     /// Saves the current Cairo context, runs the draw_fn, and restores the context
-    pub fn with_saved_cr(
+    fn with_saved_cr(
         &mut self,
         draw_fn: &mut dyn FnMut(&mut DrawingCtx) -> Result<BoundingBox, RenderingError>,
     ) -> Result<BoundingBox, RenderingError> {


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]