[pango/fix-gravity-error] Correct an error message




commit 5d6b9fd27cd5c640e5b50e3b3d6292c8d8a0f32a
Author: Matthias Clasen <mclasen redhat com>
Date:   Tue Aug 17 12:01:33 2021 -0400

    Correct an error message
    
    Update affected tests
    
    Fixes: #598

 pango/pango-markup.c           | 2 +-
 tests/markups/fail-17.expected | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/pango/pango-markup.c b/pango/pango-markup.c
index 91def193..d4421711 100644
--- a/pango/pango-markup.c
+++ b/pango/pango-markup.c
@@ -1574,7 +1574,7 @@ span_parse_func     (MarkupData            *md G_GNUC_UNUSED,
          g_set_error (error,
                       G_MARKUP_ERROR,
                       G_MARKUP_ERROR_INVALID_CONTENT,
-                      _("'%s' is not a valid value for the 'stretch' "
+                      _("'%s' is not a valid value for the 'gravity' "
                         "attribute on <span> tag, line %d; valid "
                         "values are for example 'south', 'east', "
                         "'north', 'west'"),
diff --git a/tests/markups/fail-17.expected b/tests/markups/fail-17.expected
index fb55ffbf..b3abe9d6 100644
--- a/tests/markups/fail-17.expected
+++ b/tests/markups/fail-17.expected
@@ -1 +1 @@
-ERROR: 'auto' is not a valid value for the 'stretch' attribute on <span> tag, line 1; valid values are for 
example 'south', 'east', 'north', 'west'
\ No newline at end of file
+ERROR: 'auto' is not a valid value for the 'gravity' attribute on <span> tag, line 1; valid values are for 
example 'south', 'east', 'north', 'west'
\ No newline at end of file


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