[pango] Minor doc fix
- From: Behdad Esfahbod <behdad src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [pango] Minor doc fix
- Date: Wed, 6 May 2015 00:33:51 +0000 (UTC)
commit c923660d8f58ccfa43cf158a42460d4efe566de2
Author: Behdad Esfahbod <behdad behdad org>
Date: Tue May 5 17:27:23 2015 -0700
Minor doc fix
pango/pango-attributes.c | 2 +-
pango/pango-layout.h | 3 +++
pango/pango-matrix.c | 2 +-
pango/pango-ot-ruleset.c | 2 +-
4 files changed, 6 insertions(+), 3 deletions(-)
---
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 09dcbbd..72455ac 100644
--- a/pango/pango-attributes.c
+++ b/pango/pango-attributes.c
@@ -1188,7 +1188,7 @@ pango_attr_list_unref (PangoAttrList *list)
/**
* pango_attr_list_copy:
- * @list (nullable): a #PangoAttrList, may be %NULL
+ * @list: (nullable): a #PangoAttrList, may be %NULL
*
* Copy @list and return an identical new list.
*
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index 25ce9cf..d0c64af 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -96,8 +96,11 @@ typedef enum {
/**
* PangoLayoutLine:
+ * @layout: (allow-none): the layout this line belongs to, might be %NULL
* @start_index: start of line as byte index into layout->text
* @length: length of line in bytes
+ * @runs: (allow-none) (element-type: Pango.LayoutRun): list of runs in the
+ * line, from left to right
* @is_paragraph_start: #TRUE if this is the first line of the paragraph
* @resolved_dir: #Resolved PangoDirection of line
*
diff --git a/pango/pango-matrix.c b/pango/pango-matrix.c
index 4ec54d6..50f8be1 100644
--- a/pango/pango-matrix.c
+++ b/pango/pango-matrix.c
@@ -212,7 +212,7 @@ pango_matrix_get_font_scale_factor (const PangoMatrix *matrix)
* pango_matrix_get_font_scale_factors:
* @matrix: (nullable): a #PangoMatrix, or %NULL
* @xscale: (out) (allow-none): output scale factor in the x direction, or %NULL
- * @rect: (inout) (allow-none): output scale factor perpendicular to the x direction, or %NULL
+ * @yscale: (out) (allow-none): output scale factor perpendicular to the x direction, or %NULL
*
* Calculates the scale factor of a matrix on the width and height of the font.
* That is, @xscale is the scale factor in the direction of the X coordinate,
diff --git a/pango/pango-ot-ruleset.c b/pango/pango-ot-ruleset.c
index 40e4625..36bf65a 100644
--- a/pango/pango-ot-ruleset.c
+++ b/pango/pango-ot-ruleset.c
@@ -267,7 +267,7 @@ pango_ot_ruleset_maybe_add_features (PangoOTRuleset *ruleset,
/**
* pango_ot_ruleset_get_feature_count:
* @ruleset: a #PangoOTRuleset.
- * @n_gsub_featuresL: (out) (optional): location to store number of
+ * @n_gsub_features: (out) (optional): location to store number of
* GSUB features, or %NULL.
* @n_gpos_features: (out) (optional): location to store number of
* GPOS features, or %NULL.
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]