[librsvg] drawing_ctx: make push/pop_cairo_context private



commit cde5715f0920cba0fd2f7bec3695f0e8b4dfe26b
Author: Paolo Borelli <pborelli gnome org>
Date:   Thu Jan 2 12:46:11 2020 +0100

    drawing_ctx: make push/pop_cairo_context private

 rsvg_internals/src/drawing_ctx.rs | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/rsvg_internals/src/drawing_ctx.rs b/rsvg_internals/src/drawing_ctx.rs
index 506fff09..7d8bc367 100644
--- a/rsvg_internals/src/drawing_ctx.rs
+++ b/rsvg_internals/src/drawing_ctx.rs
@@ -193,13 +193,13 @@ impl DrawingCtx {
     }
 
     // Temporary hack while we unify surface/cr/affine creation
-    pub fn push_cairo_context(&mut self, cr: cairo::Context) {
+    fn push_cairo_context(&mut self, cr: cairo::Context) {
         self.cr_stack.push(self.cr.clone());
         self.cr = cr;
     }
 
     // Temporary hack while we unify surface/cr/affine creation
-    pub fn pop_cairo_context(&mut self) {
+    fn pop_cairo_context(&mut self) {
         self.cr = self.cr_stack.pop().unwrap();
     }
 


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