[cairo-commit] src/cairo-pattern.c

Bryce Harrington bryce at kemper.freedesktop.org
Tue Oct 28 23:19:52 PDT 2014


 src/cairo-pattern.c |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

New commits:
commit caa4c9fdeb3aecd9a4288114e75d24ec931cd01b
Author: Ravi Nanjundappa <nravi.n at samsung.com>
Date:   Mon Oct 27 10:54:13 2014 +0530

    Fix warnings from check-doc-syntax.sh
    
    $ ./check-doc-syntax.sh
    Checking documentation for incorrect syntax
    ./cairo-pattern.c (3346): ERROR: Will bad line: ' */'
    ./cairo-pattern.c (3346): ERROR: Will documentation comment not closed with **/
    ./cairo-pattern.c (3422): ERROR: _cairo_pattern_sampled_area invalid doc id (should be 'cairo_...:')
    
    The warnings are about the documentation style used in cairo
    
    Signed-off-by: Ravi Nanjundappa <nravi.n at samsung.com>

diff --git a/src/cairo-pattern.c b/src/cairo-pattern.c
index 010de5c..4e3617a 100644
--- a/src/cairo-pattern.c
+++ b/src/cairo-pattern.c
@@ -3343,7 +3343,7 @@ _cairo_pattern_is_clear (const cairo_pattern_t *abstract_pattern)
  * This is true for scales larger than 1. Also it was judged acceptable
  * for scales larger than .75. And if there is integer translation
  * then a scale of exactly .5 works.
- */
+ **/
 static int
 use_bilinear(double x, double y, double t)
 {
@@ -3419,7 +3419,7 @@ _cairo_hypot(double x, double y)
 }
 
 /**
- * _cairo_pattern_sampled_area
+ * _cairo_pattern_sampled_area:
  *
  * Return region of @pattern that will be sampled to fill @extents,
  * based on the transformation and filter.


More information about the cairo-commit mailing list