From 35fccff6ec393ccca3d3ced79093ca491ce32df4 Mon Sep 17 00:00:00 2001 From: Bryce Harrington Date: Mon, 6 Nov 2017 12:09:53 -0800 Subject: [PATCH] Un-doxygen disabled cairo_set_opacity MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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 --- src/cairo.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/cairo.c b/src/cairo.c index 49cdbcf60..21fad0d3b 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) {