[librsvg/librsvg-2.44] paint_server.rs: Log when there is a nonexistent pattern with no alternate
- From: Federico Mena Quintero <federico src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [librsvg/librsvg-2.44] paint_server.rs: Log when there is a nonexistent pattern with no alternate
- Date: Wed, 24 Oct 2018 22:04:59 +0000 (UTC)
commit a02c43e59190ce480454af01be31d3a761fa3a20
Author: Federico Mena Quintero <federico gnome org>
Date: Wed Oct 24 11:44:11 2018 -0500
paint_server.rs: Log when there is a nonexistent pattern with no alternate
rsvg_internals/src/paint_server.rs | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/rsvg_internals/src/paint_server.rs b/rsvg_internals/src/paint_server.rs
index 7e8f25a6..83c531d7 100644
--- a/rsvg_internals/src/paint_server.rs
+++ b/rsvg_internals/src/paint_server.rs
@@ -108,6 +108,11 @@ pub fn set_source_paint_server(
current_color,
);
had_paint_server = true;
+ } else {
+ rsvg_log!(
+ "pattern \"{}\" was not found and there was no fallback alternate",
+ iri
+ );
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]