[cairo-commit] 2 commits - src/cairo-font-options.c

GitLab Mirror gitlab-mirror at kemper.freedesktop.org
Sat Feb 19 09:42:17 UTC 2022


 src/cairo-font-options.c |    3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

New commits:
commit cf75083941546aa53a1cdb71416de6e61a0740b6
Merge: 4d6805965 c932bb7ae
Author: Uli Schlachter <psychon at znc.in>
Date:   Sat Feb 19 09:42:15 2022 +0000

    Merge branch 'develop4' into 'master'
    
    added missing documentation to cairo_font_options_status
    
    See merge request cairo/cairo!281

commit c932bb7ae71f18a6b9d813bcc2c2ba4cac3d901c
Author: Ayman El Didi <ayman at eldidi.org>
Date:   Thu Feb 17 15:58:14 2022 -0700

    added missing documentation to cairo_font_options_status
    
    The documentation for cairo_font_options_status says it can return
    either CAIRO_STATUS_SUCCESS or CAIRO_STATUS_NO_MEMORY, but the
    implementation can also return CAIRO_STATUS_NULL_POINTER, which wasn't
    mentioned.

diff --git a/src/cairo-font-options.c b/src/cairo-font-options.c
index 9aef14073..0c4e462b8 100644
--- a/src/cairo-font-options.c
+++ b/src/cairo-font-options.c
@@ -186,7 +186,8 @@ cairo_font_options_destroy (cairo_font_options_t *options)
  * Checks whether an error has previously occurred for this
  * font options object
  *
- * Return value: %CAIRO_STATUS_SUCCESS or %CAIRO_STATUS_NO_MEMORY
+ * Return value: %CAIRO_STATUS_SUCCESS, %CAIRO_STATUS_NO_MEMORY, or
+ *	%CAIRO_STATUS_NULL_POINTER.
  *
  * Since: 1.0
  **/


More information about the cairo-commit mailing list