diff options
author | Matthias Clasen <mclasen@redhat.com> | 2021-08-17 17:15:32 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2021-08-17 17:15:32 +0000 |
commit | 9828eb4cb867f9dd8b214941ea4affddd169e21f (patch) | |
tree | f06f2241c2532f35b81488a02c9179dc0e4f2861 | |
parent | e775b830c1dcc87accc982bca4320fe95828bfe0 (diff) | |
parent | 5d6b9fd27cd5c640e5b50e3b3d6292c8d8a0f32a (diff) | |
download | pango-9828eb4cb867f9dd8b214941ea4affddd169e21f.tar.gz |
Merge branch 'fix-gravity-error' into 'main'
Correct an error message
Closes #598
See merge request GNOME/pango!410
-rw-r--r-- | pango/pango-markup.c | 2 | ||||
-rw-r--r-- | 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 |