summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2021-08-17 12:01:33 -0400
committerMatthias Clasen <mclasen@redhat.com>2021-08-17 12:20:37 -0400
commit5d6b9fd27cd5c640e5b50e3b3d6292c8d8a0f32a (patch)
tree98d21ff745aa24361543c75764ab805ea66bf25c
parentfd0857ae2789d92cc855f01cdbf24bcd51d1ea9a (diff)
downloadpango-fix-gravity-error.tar.gz
Correct an error messagefix-gravity-error
Update affected tests Fixes: #598
-rw-r--r--pango/pango-markup.c2
-rw-r--r--tests/markups/fail-17.expected2
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