[librsvg: 20/45] element.rs: Use the DrawingCtx.session()
- From: Marge Bot <marge-bot src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg: 20/45] element.rs: Use the DrawingCtx.session()
- Date: Wed, 24 Aug 2022 01:56:38 +0000 (UTC)
commit f08a55b0ca27a891b35ae02ffd02fcde76884248
Author: Federico Mena Quintero <federico gnome org>
Date: Mon Aug 22 19:10:14 2022 -0500
element.rs: Use the DrawingCtx.session()
Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/731>
src/element.rs | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
---
diff --git a/src/element.rs b/src/element.rs
index 4619cda8e..ffa47fb08 100644
--- a/src/element.rs
+++ b/src/element.rs
@@ -276,7 +276,11 @@ impl<T: SetAttributes + Draw> Draw for ElementInner<T> {
Ok(draw_ctx.empty_bbox())
}
} else {
- rsvg_log!("(not rendering element {} because it is in error)", self);
+ rsvg_log_session!(
+ draw_ctx.session(),
+ "(not rendering element {} because it is in error)",
+ self
+ );
// maybe we should actually return a RenderingError::ElementIsInError here?
Ok(draw_ctx.empty_bbox())
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]