[librsvg: 10/22] Remove unused field




commit 7c8b1322fd92364787ed1dddc8004519004139c8
Author: Federico Mena Quintero <federico gnome org>
Date:   Thu Sep 23 10:48:52 2021 -0500

    Remove unused field
    
    Part-of: <https://gitlab.gnome.org/GNOME/librsvg/-/merge_requests/593>

 src/text.rs | 2 --
 1 file changed, 2 deletions(-)
---
diff --git a/src/text.rs b/src/text.rs
index c8a35d51..ccfa8e14 100644
--- a/src/text.rs
+++ b/src/text.rs
@@ -74,7 +74,6 @@ struct MeasuredSpan {
 struct PositionedSpan {
     layout: pango::Layout,
     values: Rc<ComputedValues>,
-    _position: (f64, f64),
     rendered_position: (f64, f64),
     next_span_x: f64,
     next_span_y: f64,
@@ -248,7 +247,6 @@ impl PositionedSpan {
         PositionedSpan {
             layout,
             values,
-            _position: (x, y),
             rendered_position: (render_x, render_y),
             next_span_x: x + measured.advance.0 + dx,
             next_span_y: y + measured.advance.1 + dy,


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