[pango] docs: Fix some introspection annotation syntax



commit 7fc77e1c5a9b04da172d032f8d1a2bd04a1c92a1
Author: Philip Withnall <withnall endlessm com>
Date:   Wed Feb 15 11:06:36 2017 +0000

    docs: Fix some introspection annotation syntax
    
    Signed-off-by: Philip Withnall <withnall endlessm com>
    
    https://bugzilla.gnome.org/show_bug.cgi?id=778663

 pango/pango-engine.h    |    4 ++--
 pango/pango-layout.h    |    2 +-
 pango/pangofc-fontmap.c |    2 +-
 3 files changed, 4 insertions(+), 4 deletions(-)
---
diff --git a/pango/pango-engine.h b/pango/pango-engine.h
index fe0c5a7..a5c92d8 100644
--- a/pango/pango-engine.h
+++ b/pango/pango-engine.h
@@ -169,7 +169,7 @@ GType pango_engine_lang_get_type (void) G_GNUC_CONST;
 typedef struct _PangoEngineShapeClass PangoEngineShapeClass;
 
 /**
- * PangoEngineShape
+ * PangoEngineShape:
  *
  * The #PangoEngineShape class is implemented by engines that
  * customize the rendering-system dependent part of the
@@ -241,7 +241,7 @@ typedef struct _PangoEngineInfo PangoEngineInfo;
 typedef struct _PangoEngineScriptInfo PangoEngineScriptInfo;
 
 /**
- * PangoEngineScriptInfo
+ * PangoEngineScriptInfo:
  * @script: a #PangoScript. The value %PANGO_SCRIPT_COMMON has
  * the special meaning here of "all scripts"
  * @langs: a semicolon separated list of languages that this
diff --git a/pango/pango-layout.h b/pango/pango-layout.h
index 208e635..b095a30 100644
--- a/pango/pango-layout.h
+++ b/pango/pango-layout.h
@@ -99,7 +99,7 @@ typedef enum {
  * @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
+ * @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/pangofc-fontmap.c b/pango/pangofc-fontmap.c
index da1738a..70e9ee7 100644
--- a/pango/pangofc-fontmap.c
+++ b/pango/pangofc-fontmap.c
@@ -1831,7 +1831,7 @@ pango_fc_font_map_config_changed (PangoFcFontMap *fcfontmap)
 /**
  * pango_fc_font_map_set_config:
  * @fcfontmap: a #PangoFcFontMap
- * @fcconfig: (nullable) a #FcConfig, or %NULL
+ * @fcconfig: (nullable): a #FcConfig, or %NULL
  *
  * Set the FcConfig for this font map to use.  The default value
  * is %NULL, which causes Fontconfig to use its global "current config".


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]