summaryrefslogtreecommitdiff
path: root/pango/pango-utils.c
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@src.gnome.org>2007-01-07 05:49:53 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2007-01-07 05:49:53 +0000
commiteed4bfd92100d915d9d2f8e7c2d7ecac659a688a (patch)
treec9fc4aba099ee71d57d3f87f9b7af1abd5bce54b /pango/pango-utils.c
parent59d1e39f888107431975300e2b6b2452ff737f45 (diff)
downloadpango-eed4bfd92100d915d9d2f8e7c2d7ecac659a688a.tar.gz
Spell-check the docs.
svn path=/trunk/; revision=2130
Diffstat (limited to 'pango/pango-utils.c')
-rw-r--r--pango/pango-utils.c26
1 files changed, 13 insertions, 13 deletions
diff --git a/pango/pango-utils.c b/pango/pango-utils.c
index c39a9cd9..211b99a3 100644
--- a/pango/pango-utils.c
+++ b/pango/pango-utils.c
@@ -175,10 +175,10 @@ pango_trim_string (const char *str)
/**
* pango_split_file_list:
- * @str: a G_SEARCHPATH_SEPARATOR separated list of filenames
+ * @str: a %G_SEARCHPATH_SEPARATOR separated list of filenames
*
- * Splits a G_SEARCHPATH_SEPARATOR-separated list of files, stripping
- * white space and subsituting ~/ with $HOME/.
+ * Splits a %G_SEARCHPATH_SEPARATOR-separated list of files, stripping
+ * white space and substituting ~/ with $HOME/.
*
* Return value: a list of strings to be freed with g_strfreev()
**/
@@ -376,7 +376,7 @@ pango_skip_space (const char **pos)
* of [A-Za-z_] followed by zero or more [A-Za-z_0-9]
* Leading white space is skipped.
*
- * Return value: %FALSE if a parse error occured.
+ * Return value: %FALSE if a parse error occurred.
**/
gboolean
pango_scan_word (const char **pos, GString *out)
@@ -419,7 +419,7 @@ pango_scan_word (const char **pos, GString *out)
* string with '"'. Instead a quoted string, '\"' represents
* a literal quote. Leading white space outside of quotes is skipped.
*
- * Return value: %FALSE if a parse error occured.
+ * Return value: %FALSE if a parse error occurred.
**/
gboolean
pango_scan_string (const char **pos, GString *out)
@@ -505,7 +505,7 @@ pango_scan_string (const char **pos, GString *out)
* Scans an integer.
* Leading white space is skipped.
*
- * Return value: %FALSE if a parse error occured.
+ * Return value: %FALSE if a parse error occurred.
**/
gboolean
pango_scan_int (const char **pos, int *out)
@@ -1090,7 +1090,7 @@ pango_language_get_type (void)
* Brazil.
*
* On Windows, the C library doesn't use any such environment
- * variables, and setting them won't affect the behaviour of functions
+ * variables, and setting them won't affect the behavior of functions
* like ctime(). The user sets the locale through the Regional Options
* in the Control Panel. The C library (in the setlocale() function)
* does not use country and language codes, but country and language
@@ -1152,7 +1152,7 @@ _pango_get_lc_ctype (void)
* Brazil.
*
* On Windows, the C library does not use any such environment
- * variables, and setting them won't affect the behaviour of functions
+ * variables, and setting them won't affect the behavior of functions
* like ctime(). The user sets the locale through the Regional Options
* in the Control Panel. The C library (in the setlocale() function)
* does not use country and language codes, but country and language
@@ -1161,7 +1161,7 @@ _pango_get_lc_ctype (void)
* variables, and does return a Unix-style locale string based on
* either said environment variables or the thread's current locale.
*
- * Your application should call <literal>setlocale (LC_ALL, "");</literal>
+ * Your application should call <literal>setlocale(LC_ALL, "");</literal>
* for the user settings to take effect. Gtk+ does this in its initialization
* functions automatically (by calling gtk_set_locale()).
* See <literal>man setlocale</literal> for more details.
@@ -1294,7 +1294,7 @@ lang_info_compare (const void *key, const void *val)
/* The following array is supposed to contain enough text to tickle all necessary fonts for each
* of the languages in the following. Yes, it's pretty lame. Not all of the languages
- * in the following have sufficient text to excercise all the accents for the language, and
+ * in the following have sufficient text to exercise all the accents for the language, and
* there are obviously many more languages to include as well.
*/
static const LangInfo lang_texts[] = {
@@ -1368,7 +1368,7 @@ pango_language_get_sample_string (PangoLanguage *language)
* pango_log2vis_get_embedding_levels:
* @text: the text to itemize.
* @length: the number of bytes (not characters) to process, or -1
- * if @text is nul-terminated and the legnth should be calculated.
+ * if @text is nul-terminated and the length should be calculated.
* @pbase_dir: input base direction, and output resolved direction.
*
* This will return the bidirectional embedding levels of the input paragraph
@@ -1750,7 +1750,7 @@ pango_find_base_dir (const gchar *text,
*
* Checks @ch to see if it is a character that should not be
* normally rendered on the screen. This includes all Unicode characters
- * with "ZERO WIDTH" in their name, as well as bidi formatting characters, and
+ * with "ZERO WIDTH" in their name, as well as <firstterm>bidi</firstterm> formatting characters, and
* a few other ones. This is totally different from g_unichar_iszerowidth()
* and is at best misnamed.
*
@@ -1863,7 +1863,7 @@ pango_gravity_to_rotation (PangoGravity gravity)
* pango_units_from_double:
* @d: double floating-point value
*
- * Converts a floating-point number to Pango units: multiplys
+ * Converts a floating-point number to Pango units: multiplies
* it by %PANGO_SCALE and rounds to nearest integer.
*
* Return value: the value in Pango units.