[cairo-commit] src/cairo.c

Bryce Harrington bryce at kemper.freedesktop.org
Mon Nov 6 20:21:02 UTC 2017


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

New commits:
commit 35fccff6ec393ccca3d3ced79093ca491ce32df4
Author: Bryce Harrington <bryce at osg.samsung.com>
Date:   Mon Nov 6 12:09:53 2017 -0800

    Un-doxygen disabled cairo_set_opacity
    
    The cairo_set_opacity() routine has been disabled since 2010.  There
    appears to be support for it internally in the backend, so it is unclear
    why it is not enabled or what might break if it were re-enabled.  Given
    the lack of bug reports about its omission, it may be vestigal.  For
    now, just hide the doxygen for it to suppress warnings.  It may be worth
    deeper review to either re-enable it or remove it entirely.
    
    Reported-by: Rafał Mużyło (See fdo bugzilla #82741)
    Signed-off-by: Bryce Harrington <bryce at osg.samsung.com>

diff --git a/src/cairo.c b/src/cairo.c
index 49cdbcf6..21fad0d3 100644
--- a/src/cairo.c
+++ b/src/cairo.c
@@ -844,7 +844,7 @@ slim_hidden_def (cairo_set_operator);
 
 
 #if 0
-/**
+/*
  * cairo_set_opacity:
  * @cr: a #cairo_t
  * @opacity: the level of opacity to use when compositing
@@ -856,7 +856,7 @@ slim_hidden_def (cairo_set_operator);
  * The default opacity is 1.
  *
  * Since: TBD
- **/
+ */
 void
 cairo_set_opacity (cairo_t *cr, double opacity)
 {


More information about the cairo-commit mailing list