summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBehdad Esfahbod <behdad@gnome.org>2006-08-31 20:03:53 +0000
committerBehdad Esfahbod <behdad@src.gnome.org>2006-08-31 20:03:53 +0000
commit4db5cc354ea6da6442f1c6a97f9558e673973e1a (patch)
tree10ec236050627a8bae719d5777e6bb62222e0357
parent6cdb64cdd677555296f51f02155974175db73c2d (diff)
downloadpango-4db5cc354ea6da6442f1c6a97f9558e673973e1a.tar.gz
Minor doc syntax update.
2006-08-31 Behdad Esfahbod <behdad@gnome.org> * pango/pango-layout.c, pango/pangox-fontmap.c, pango/pangox.c: Minor doc syntax update.
-rw-r--r--ChangeLog5
-rw-r--r--pango/pango-layout.c20
-rw-r--r--pango/pangox-fontmap.c6
-rw-r--r--pango/pangox.c2
4 files changed, 19 insertions, 14 deletions
diff --git a/ChangeLog b/ChangeLog
index fc18449b..ff90008d 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2006-08-31 Behdad Esfahbod <behdad@gnome.org>
+
+ * pango/pango-layout.c, pango/pangox-fontmap.c, pango/pangox.c:
+ Minor doc syntax update.
+
2006-08-30 Behdad Esfahbod <behdad@gnome.org>
Bug 148732 – cursor movenmet is not correct in gedit when I type
diff --git a/pango/pango-layout.c b/pango/pango-layout.c
index 2047abbb..456ca648 100644
--- a/pango/pango-layout.c
+++ b/pango/pango-layout.c
@@ -2818,20 +2818,20 @@ insert_run (PangoLayoutLine *line,
/* Tries to insert as much as possible of the item at the head of
* state->items onto @line. Five results are possible:
*
- * BREAK_NONE_FIT: Couldn't fit anything.
- * BREAK_SOME_FIT: The item was broken in the middle.
- * BREAK_ALL_FIT: Everything fit.
- * BREAK_EMPTY_FIT: Nothing fit, but that was ok, as we can break at the first char.
- * BREAK_LINE_SEPARATOR: Item begins with a line separator.
+ * %BREAK_NONE_FIT: Couldn't fit anything.
+ * %BREAK_SOME_FIT: The item was broken in the middle.
+ * %BREAK_ALL_FIT: Everything fit.
+ * %BREAK_EMPTY_FIT: Nothing fit, but that was ok, as we can break at the first char.
+ * %BREAK_LINE_SEPARATOR: Item begins with a line separator.
*
- * If @force_fit is TRUE, then BREAK_NONE_FIT will never
+ * If @force_fit is %TRUE, then %BREAK_NONE_FIT will never
* be returned, a run will be added even if inserting the minimum amount
* will cause the line to overflow. This is used at the start of a line
* and until we've found at least some place to break.
*
- * If @no_break_at_end is TRUE, then BREAK_ALL_FIT will never be
+ * If @no_break_at_end is %TRUE, then %BREAK_ALL_FIT will never be
* returned even everything fits; the run will be broken earlier,
- * or BREAK_NONE_FIT returned. This is used when the end of the
+ * or %BREAK_NONE_FIT returned. This is used when the end of the
* run is not a break position.
*/
static BreakResult
@@ -5182,7 +5182,7 @@ pango_layout_iter_get_run_extents (PangoLayoutIter *iter,
* @logical_rect: rectangle to fill with logical extents, or %NULL
*
* Obtains the extents of the current line. @ink_rect or @logical_rect
- * can be NULL if you aren't interested in them. Extents are in layout
+ * can be %NULL if you aren't interested in them. Extents are in layout
* coordinates (origin is the top-left corner of the entire
* #PangoLayout). Thus the extents returned by this function will be
* the same width/height but not at the same x/y as the extents
@@ -5298,7 +5298,7 @@ pango_layout_iter_get_baseline (PangoLayoutIter *iter)
* @logical_rect: rectangle to fill with logical extents, or %NULL
*
* Obtains the extents of the #PangoLayout being iterated
- * over. @ink_rect or @logical_rect can be NULL if you
+ * over. @ink_rect or @logical_rect can be %NULL if you
* aren't interested in them.
*
**/
diff --git a/pango/pangox-fontmap.c b/pango/pangox-fontmap.c
index c6f14fb8..45637b6b 100644
--- a/pango/pangox-fontmap.c
+++ b/pango/pangox-fontmap.c
@@ -938,7 +938,7 @@ pango_x_font_map_read_aliases (PangoXFontMap *xfontmap)
}
/*
- * Returns TRUE if the fontname is a valid XLFD.
+ * Returns %TRUE if the fontname is a valid XLFD.
* (It just checks if the number of dashes is 14, and that each
* field < XLFD_MAX_FIELD_LEN characters long - that's not in the XLFD but it
* makes it easier for me).
@@ -1020,8 +1020,8 @@ pango_x_get_identifier (const char *fontname)
/*
* This fills the buffer with the specified field from the X Logical Font
- * Description name, and returns it. If fontname is NULL or the field is
- * longer than XFLD_MAX_FIELD_LEN it returns NULL.
+ * Description name, and returns it. If fontname is %NULL or the field is
+ * longer than XFLD_MAX_FIELD_LEN it returns %NULL.
* Note: For the charset field, we also return the encoding, e.g. 'iso8859-1'.
*/
static char*
diff --git a/pango/pangox.c b/pango/pangox.c
index bd7023ec..0e03afaa 100644
--- a/pango/pangox.c
+++ b/pango/pangox.c
@@ -1003,7 +1003,7 @@ match_end (const char *a, const char *b)
}
/* Substitute in a charset into an XLFD. Return the
- * (g_malloc'd) new name, or NULL if the XLFD cannot
+ * (g_malloc'd) new name, or %NULL if the XLFD cannot
* match the charset
*/
static char *