[librsvg: 29/30] Fix return value




commit 0120625e526c4edc1bfa35acf5f5b0f120ae376f
Author: Federico Mena Quintero <federico gnome org>
Date:   Wed Jun 23 17:33:35 2021 -0500

    Fix return value
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/516>

 src/drawing_ctx.rs | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
---
diff --git a/src/drawing_ctx.rs b/src/drawing_ctx.rs
index eaf18f39..bd54889c 100644
--- a/src/drawing_ctx.rs
+++ b/src/drawing_ctx.rs
@@ -983,7 +983,7 @@ impl DrawingCtx {
             );
         }
 
-        Ok(self.cr.set_source(&g)?)
+        self.cr.set_source(&g)
     }
 
     fn set_pattern(


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