[cairo-commit] src/cairo-font.c src/cairo-pattern.c src/cairo-scaled-font.c src/cairo-surface.c

Behdad Esfahbod behdad at kemper.freedesktop.org
Mon Aug 7 19:27:25 PDT 2006


 src/cairo-font.c        |    5 ++++-
 src/cairo-pattern.c     |    5 ++++-
 src/cairo-scaled-font.c |    5 ++++-
 src/cairo-surface.c     |    5 ++++-
 4 files changed, 16 insertions(+), 4 deletions(-)

New commits:
diff-tree bbc9a1290a964edf50f571be8766b38df10adac7 (from fef0251d15814ce9f135b548579e51c6e4a0653d)
Author: Behdad Esfahbod <behdad at behdad.org>
Date:   Mon Aug 7 22:27:15 2006 -0400

    Update doc syntax
    Annoying, but a function doc should have a body, not only "Returns", or
    gtk-doc will not pick it up.

diff --git a/src/cairo-font.c b/src/cairo-font.c
index 174d1c7..fc68aff 100644
--- a/src/cairo-font.c
+++ b/src/cairo-font.c
@@ -134,7 +134,10 @@ cairo_font_face_destroy (cairo_font_face
  * cairo_font_face_get_type:
  * @font_face: a #cairo_font_face_t
  *
- * Return value: The type of @font_face. See #cairo_font_type_t.
+ * This function returns the type of the backend used to create
+ * a font face. See #cairo_font_type_t for available types.
+ *
+ * Return value: The type of @font_face.
  *
  * Since: 1.2
  **/
diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c
index 6bf8697..ebdb136 100644
--- a/src/cairo-pattern.c
+++ b/src/cairo-pattern.c
@@ -528,7 +528,10 @@ cairo_pattern_reference (cairo_pattern_t
  * cairo_pattern_get_type:
  * @pattern: a #cairo_pattern_t
  *
- * Return value: The type of @pattern. See #cairo_pattern_type_t.
+ * This function returns the type a pattern.
+ * See #cairo_pattern_type_t for available types.
+ *
+ * Return value: The type of @pattern.
  *
  * Since: 1.2
  **/
diff --git a/src/cairo-scaled-font.c b/src/cairo-scaled-font.c
index ac229d0..5ac3a41 100644
--- a/src/cairo-scaled-font.c
+++ b/src/cairo-scaled-font.c
@@ -123,7 +123,10 @@ _cairo_scaled_font_set_error (cairo_scal
  * cairo_scaled_font_get_type:
  * @scaled_font: a #cairo_scaled_font_t
  *
- * Return value: The type of @scaled_font. See #cairo_font_type_t.
+ * This function returns the type of the backend used to create
+ * a scaled font. See #cairo_font_type_t for available types.
+ *
+ * Return value: The type of @scaled_font.
  *
  * Since: 1.2
  **/
diff --git a/src/cairo-surface.c b/src/cairo-surface.c
index 84596e6..777b954 100644
--- a/src/cairo-surface.c
+++ b/src/cairo-surface.c
@@ -157,7 +157,10 @@ _cairo_surface_set_error (cairo_surface_
  * cairo_surface_get_type:
  * @surface: a #cairo_surface_t
  *
- * Return value: The type of @surface. See #cairo_surface_type_t.
+ * This function returns the type of the backend used to create
+ * a surface. See #cairo_surface_type_t for available types.
+ *
+ * Return value: The type of @surface.
  *
  * Since: 1.2
  **/


More information about the cairo-commit mailing list