diff options
author | Matthias Clasen <maclas@gmx.de> | 2003-09-29 23:24:36 +0000 |
---|---|---|
committer | Matthias Clasen <matthiasc@src.gnome.org> | 2003-09-29 23:24:36 +0000 |
commit | 47e04408669687d29444b57c2a92018f4beaef7e (patch) | |
tree | 1424547aa6ad03086d1f5395358761d78a5b893d /pango | |
parent | b1e23366755fee7d93b3f706bc24337aaeef0ef3 (diff) | |
download | pango-47e04408669687d29444b57c2a92018f4beaef7e.tar.gz |
Replace get_coverage by covers in the doc comment.
2003-09-30 Matthias Clasen <maclas@gmx.de>
* pango/pango-engine.h (struct _PangoEngineShapeClass): Replace
get_coverage by covers in the doc comment.
* pango/pango-script.c (pango_language_includes_script)
(pango_script_get_sample_language):
* pango/pango-fontset.c (pango_fontset_foreach):
* pango/pango-fontmap.c (pango_font_map_get_shape_engine_type):
* pango/modules.c (pango_map_get_engines):
* pango/pango-fontset.h (PangoFontsetForEachFunc): Fix typos and
add "Since: 1.4" tags.
* docs/pango-sections.txt: Add PangoFontsetForeachFunc,
pango_fontset_foreach(), pango_font_map_get_shape_engine_type(),
PangoScriptForLang, pango_script_get_sample_language() and
pango_language_includes_script(), remove pango_map_get_entry().
Diffstat (limited to 'pango')
-rw-r--r-- | pango/modules.c | 2 | ||||
-rw-r--r-- | pango/pango-engine.h | 2 | ||||
-rw-r--r-- | pango/pango-fontmap.c | 2 | ||||
-rw-r--r-- | pango/pango-fontset.c | 6 | ||||
-rw-r--r-- | pango/pango-fontset.h | 4 | ||||
-rw-r--r-- | pango/pango-script.c | 4 |
6 files changed, 16 insertions, 4 deletions
diff --git a/pango/modules.c b/pango/modules.c index 2f11dbdb..3e8ba212 100644 --- a/pango/modules.c +++ b/pango/modules.c @@ -679,6 +679,8 @@ append_engines (GSList **engine_list, * lists should be fred with g_slist_free, but the engines in the * lists are owned by GLib and will be kept around permanently, so * they should not be unref'ed. + * + * Since: 1.4 **/ void pango_map_get_engines (PangoMap *map, diff --git a/pango/pango-engine.h b/pango/pango-engine.h index 253d85c7..4ac29739 100644 --- a/pango/pango-engine.h +++ b/pango/pango-engine.h @@ -164,7 +164,7 @@ struct _PangoEngineShape * if no rendering is desired for a character, this may involve * inserting glyphs with the #PangoGlyph ID 0, which is guaranteed never * to render. - * @get_coverage: Returns the characters that this engine can cover + * @covers: Returns the characters that this engine can cover * with a given font for a given language. If not overridden, the default * implementation simply returns the coverage information for the * font itself unmodified. diff --git a/pango/pango-fontmap.c b/pango/pango-fontmap.c index ba373369..fb348ea1 100644 --- a/pango/pango-fontmap.c +++ b/pango/pango-fontmap.c @@ -261,6 +261,8 @@ pango_font_map_real_load_fontset (PangoFontMap *fontmap, * Return value: the ID string for shape engines for * this fontmap. Owned by Pango, should not be modified * or freed. + * + * Since: 1.4 **/ const char * pango_font_map_get_shape_engine_type (PangoFontMap *fontmap) diff --git a/pango/pango-fontset.c b/pango/pango-fontset.c index 1f639376..e3f38920 100644 --- a/pango/pango-fontset.c +++ b/pango/pango-fontset.c @@ -84,8 +84,10 @@ pango_fontset_get_metrics (PangoFontset *fontset) * @func: Callback function * @data: data to pass to the callback function * - * Iterate through all the fonts in a fontset, calling @func for - * each one. If @func returns TRUE, that stops the iteration. + * Iterates through all the fonts in a fontset, calling @func for + * each one. If @func returns %TRUE, that stops the iteration. + * + * Since: 1.4 **/ void pango_fontset_foreach (PangoFontset *fontset, diff --git a/pango/pango-fontset.h b/pango/pango-fontset.h index 49cc6006..67b98fca 100644 --- a/pango/pango-fontset.h +++ b/pango/pango-fontset.h @@ -50,7 +50,9 @@ typedef struct _PangoFontset PangoFontset; * A callback function used by pango_fontset_foreach() when enumerating * the fonts in a fontset. * - * Returns: if %TRUE, stop iteration and return immediatlehy. + * Returns: if %TRUE, stop iteration and return immediately. + * + * Since: 1.4 **/ typedef gboolean (*PangoFontsetForeachFunc) (PangoFontset *fontset, PangoFont *font, diff --git a/pango/pango-script.c b/pango/pango-script.c index 10acfc90..73e86ff0 100644 --- a/pango/pango-script.c +++ b/pango/pango-script.c @@ -377,6 +377,8 @@ script_for_lang_compare (gconstpointer key, * * Return value: %TRUE if @script is one of the scripts used * to write @language, or if nothing is known about @language. + * + * Since: 1.4 **/ gboolean pango_language_includes_script (PangoLanguage *language, @@ -428,6 +430,8 @@ pango_language_includes_script (PangoLanguage *language, * * Return value: a #PangoLanguage that is representative * of the script, or %NULL if no such language exists. + * + * Since: 1.4 **/ PangoLanguage * pango_script_get_sample_language (PangoScript script) |