[cairo-commit] src/cairo-cogl-surface.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Sep 5 09:09:26 UTC 2020


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

New commits:
commit 3b1bf9d6d3cbf2074eb347bc4cb33704f57d800d
Author: Uli Schlachter <psychon at znc.in>
Date:   Sat Sep 5 10:52:25 2020 +0200

    Fix/silence some warnings in 'make check'
    
    'make check' currently fails with the following in src/test-suite.log
    (how can one tell automake not to hide the error message in a file?!?):
    
    FAIL: check-doc-syntax.sh
    =========================
    
    Checking documentation for incorrect syntax
    ./cairo-cogl-surface.c: * cairo_cogl_pipeline_ts. On failure, both pointers will be set to
    ./cairo-cogl-surface.c:/* Mostly taken from cairo_vg_surface.c */
    Error: some function names in the docs are not followed by parentheses.
    Fix this by searching for the following regexp in the above files:
            '^[^:]*:[/ ][*]\(\|[    ].*\)\([^#']\|^\)\<\(cairo_[][<>/0-9a-z_]*\>[^][<>(]\)'
    FAIL check-doc-syntax.sh (exit status: 1)
    
    This commit silences that. The fix is likely not correct, but since
    these are normal comments and not actual doc comments, it does not
    matter much.
    
    Signed-off-by: Uli Schlachter <psychon at znc.in>

diff --git a/src/cairo-cogl-surface.c b/src/cairo-cogl-surface.c
index 8fe8905e6..36e5f77d8 100644
--- a/src/cairo-cogl-surface.c
+++ b/src/cairo-cogl-surface.c
@@ -2976,7 +2976,7 @@ set_layer_texture_with_attributes (CoglPipeline                    *pipeline,
 }
 
 /* This takes an argument of a pointer to an array of two pointers to
- * cairo_cogl_pipeline_ts. On failure, both pointers will be set to
+ * #cairo_cogl_pipeline_t. On failure, both pointers will be set to
  * NULL */
 static void
 get_source_mask_operator_destination_pipelines (cairo_cogl_pipeline_t       **pipelines,
@@ -3640,7 +3640,7 @@ BAIL:
     return status;
 }
 
-/* Mostly taken from cairo_vg_surface.c */
+/* Mostly taken from #cairo_vg_surface.c */
 /* TODO: implement actual font support, with either cogl-pango's glyph
  * cache or our own */
 static cairo_int_status_t


More information about the cairo-commit mailing list