[pango/fix-gravity-error] Correct an error message
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango/fix-gravity-error] Correct an error message
- Date: Tue, 17 Aug 2021 16:03:22 +0000 (UTC)
commit 5ebb6e739a42414f831d031f958813f7d241b644
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..19d2afb7 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'
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]