[cairo-bugs] [Bug 40082] Missing includes (image-surface-private.h) and function declaration CairoQuartzCreateCGImage

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Sat Sep 3 10:09:44 PDT 2011


https://bugs.freedesktop.org/show_bug.cgi?id=40082

Andrea Canciani <ranma42 at gmail.com> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED

--- Comment #2 from Andrea Canciani <ranma42 at gmail.com> 2011-09-03 10:09:41 PDT ---
(In reply to comment #1)
> Created an attachment (id=50209)
 View: https://bugs.freedesktop.org/attachment.cgi?id=50209
 Review: https://bugs.freedesktop.org/review?bug=40082&attachment=50209

> Rename function declaration

Sorry, I didn't notice the bugreport and pushed the first patch along with
other build fixes in:

commit 0c620080afa892f7bb642cc90fb72aafbebad16d
Author: Andrea Canciani <ranma42 at gmail.com>
Date:   Tue Aug 30 16:15:57 2011 +0200

    quartz: Fix compilation

    cairo-image-surface-private.h is needed in order to access
    cairo_image_surface_t fields.

    Fixes multiple build errors: dereferencing pointer to incomplete type


I just pushed the second patch to master in:

commit b0aec95c8e43622c942c08d6dd8f6ab032983ed5
Author: Jesse van den Kieboom <jessevdk at gnome.org>
Date:   Sun Aug 14 18:12:28 2011 +0200

    quartz: Rename declaration of _cairo_quartz_create_cgimage

    The function was renamed in 81efbc1847c4b9c08440d76bbc1636b21cac16d8
    but the prototype was not updated.

    Silences the warning:
    cairo-quartz-surface.c:165: warning: no previous prototype for
'CairoQuartzCreateCGImage'

    Along with 0c620080afa892f7bb642cc90fb72aafbebad16d, fixes
    https://bugs.freedesktop.org/show_bug.cgi?id=40082

Thank you for your patches!

-- 
Configure bugmail: https://bugs.freedesktop.org/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug.


More information about the cairo-bugs mailing list