Bug 4271

Summary: cairo_image_surface_create() documentation needs updating to new API
Product: cairo Reporter: Duncan Coutts <duncan-freedesktopbugs>
Component: generalAssignee: Carl Worth <cworth>
Status: RESOLVED FIXED QA Contact: cairo-bugs mailing list <cairo-bugs>
Severity: trivial    
Priority: high Keywords: janitor
Version: 0.9.3   
Hardware: x86 (IA32)   
OS: Linux (All)   
Whiteboard:
i915 platform: i915 features:

Description Duncan Coutts 2005-08-27 10:48:15 UTC
I am lead to believe that all cairo's create functions now do not return NULL
but instead a valid object that is simple in an invalid state.

If this is true, then the documentation for the following functions needs to be
updated to reflect the API change:

cairo_image_surface_create()
cairo_image_surface_create_for_data()

Oh, I thought there were more than that but all the others seem to already have
been updated, which is nice :-).
Comment 1 Owen Taylor 2005-08-27 18:41:04 UTC
2005-08-27  Owen Taylor  <otaylor@redhat.com>

        * src/cairo-image-surface.c (cairo_image_surface_create)
        (cairo_image_surface_create_for_data): Fix docs not to talk about
        %NULL returns. #4271, Duncan Coutts.

Use of freedesktop.org services, including Bugzilla, is subject to our Code of Conduct. How we collect and use information is described in our Privacy Policy.