diff options
author | Emmanuele Bassi <ebassi@gnome.org> | 2019-08-02 10:55:49 +0100 |
---|---|---|
committer | Emmanuele Bassi <ebassi@gnome.org> | 2019-08-02 10:55:49 +0100 |
commit | 006f2e2e2a85d351eee217a74a0ad2dda35dc062 (patch) | |
tree | 393aeaac66f7eb663b307b38381387022c68fdbf | |
parent | e2940325835c1a83945328b5a37f42c896fef550 (diff) | |
download | pango-006f2e2e2a85d351eee217a74a0ad2dda35dc062.tar.gz |
Ensure arguments name match the documentation
Otherwise the introspection scanner will be majorly confused.
-rw-r--r-- | pango/break.c | 4 | ||||
-rw-r--r-- | pango/pango-attributes.c | 2 | ||||
-rw-r--r-- | pango/pango-break.h | 4 |
3 files changed, 5 insertions, 5 deletions
diff --git a/pango/break.c b/pango/break.c index 14986c78..9fa1c47b 100644 --- a/pango/break.c +++ b/pango/break.c @@ -1745,9 +1745,9 @@ pango_find_paragraph_boundary (const gchar *text, * @analysis: #PangoAnalysis structure from pango_itemize() for @text * @offset: Byte offset of @text from the beginning of the * paragraph, or -1 to ignore attributes from @analysis - * @log_attrs: (array length=attrs_len): array with one #PangoLogAttr + * @log_attrs: (array length=log_attrs_len): array with one #PangoLogAttr * per character in @text, plus one extra, to be filled in - * @attrs_len: length of @log_attrs array + * @log_attrs_len: length of @log_attrs array * * Apply language-specific tailoring to the breaks in * @log_attrs, which are assumed to have been produced diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c index 9acd6cf8..b5e0f77c 100644 --- a/pango/pango-attributes.c +++ b/pango/pango-attributes.c @@ -1208,7 +1208,7 @@ pango_attr_allow_breaks_new (gboolean allow_breaks) /** * pango_attr_show_new: - * @show: #PangoShowFlags to apply + * @flags: #PangoShowFlags to apply * * Create a new attribute that influences how invisible * characters are rendered. diff --git a/pango/pango-break.h b/pango/pango-break.h index 19698db1..9209ee15 100644 --- a/pango/pango-break.h +++ b/pango/pango-break.h @@ -138,8 +138,8 @@ void pango_tailor_break (const char *text, int length, PangoAnalysis *analysis, int offset, - PangoLogAttr *attrs, - int attrs_len); + PangoLogAttr *log_attrs, + int log_attrs_len); G_END_DECLS |