[librsvg: 23/45] paint_server.rs: Use rsvg_log_session! in a couple of places




commit 99c0c091d9e137fe939d774b9c15ac36b0959946
Author: Federico Mena Quintero <federico gnome org>
Date:   Mon Aug 22 19:23:33 2022 -0500

    paint_server.rs: Use rsvg_log_session! in a couple of places
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/731>

 src/paint_server.rs | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)
---
diff --git a/src/paint_server.rs b/src/paint_server.rs
index bc699dae3..822fd2334 100644
--- a/src/paint_server.rs
+++ b/src/paint_server.rs
@@ -181,7 +181,8 @@ impl PaintServer {
                     // later in the drawing code, so it should be fine to translate this
                     // condition to that for an invalid paint server.
                     Some(color) => {
-                        rsvg_log!(
+                        rsvg_log_session!(
+                            session,
                             "could not resolve paint server \"{}\", using alternate color",
                             iri
                         );
@@ -190,7 +191,8 @@ impl PaintServer {
                     }
 
                     None => {
-                        rsvg_log!(
+                        rsvg_log_session!(
+                            session,
                             "could not resolve paint server \"{}\", no alternate color specified",
                             iri
                         );


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