[librsvg: 18/38] Handle::create_drawing_ctx_for_node(): Take a &self, not &mut self
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 18/38] Handle::create_drawing_ctx_for_node(): Take a &self, not &mut self
- Date: Fri, 25 Jan 2019 19:38:53 +0000 (UTC)
commit 50dce146cc4ae78c24b01ccecac18e076235df57
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Jan 23 11:13:43 2019 -0600
Handle::create_drawing_ctx_for_node(): Take a &self, not &mut self
rsvg_internals/src/handle.rs | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/rsvg_internals/src/handle.rs b/rsvg_internals/src/handle.rs
index 28cbf38b..00695dbd 100644
--- a/rsvg_internals/src/handle.rs
+++ b/rsvg_internals/src/handle.rs
@@ -313,7 +313,7 @@ impl Handle {
}
fn create_drawing_ctx_for_node(
- &mut self,
+ &self,
cr: &cairo::Context,
dimensions: &RsvgDimensionData,
node: Option<&RsvgNode>,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]