summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@behdad.org>2015-05-05 17:27:23 -0700
committerBehdad Esfahbod <behdad@behdad.org>2015-05-05 17:33:44 -0700
commitc923660d8f58ccfa43cf158a42460d4efe566de2 (patch)
tree58da338316f0b183cb25144b755a6e4a92f78078
parenta087f683c22f7c7e79a6300e2e626a9da191fcf8 (diff)
downloadpango-c923660d8f58ccfa43cf158a42460d4efe566de2.tar.gz
Minor doc fix
-rw-r--r--pango/pango-attributes.c2
-rw-r--r--pango/pango-layout.h3
-rw-r--r--pango/pango-matrix.c2
-rw-r--r--pango/pango-ot-ruleset.c2
4 files changed, 6 insertions, 3 deletions
diff --git a/pango/pango-attributes.c b/pango/pango-attributes.c
index 09dcbbde..72455acd 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 25ce9cf4..d0c64afa 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 4ec54d63..50f8be1a 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 40e46254..36bf65a2 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.