[cairo-bugs] [Bug 60519] cairo_surface_create_similar_image seems to always fail for the win32 display backend

bugzilla-daemon at freedesktop.org bugzilla-daemon at freedesktop.org
Fri Feb 8 14:42:58 PST 2013


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

--- Comment #2 from Partha Bagchi <partha1b at gmail.com> ---
I don't know what you mean by "compile check"? Can you explain? What do I need
to do to "compile check"?

This bug, based on your patch, is preventing a Windows Gimp 2.9 build.

I read on Gthumb site
(https://mail.gnome.org/archives/commits-list/2012-August/msg06083.html)
advocating that cairo_surface_create_similar_image() not be used. If I follow
that advice and modify gimpdisplayxfer.c thusly:

  // cairo_surface_create_similar_image (cairo_get_target (cr),
                                                // CAIRO_FORMAT_ARGB32, w, h);
            cairo_image_surface_create (CAIRO_FORMAT_ARGB32, w, h);

it seems to compile and work fine on Windows. Is this a viable solution or
should I try something else?

Thanks,
Partha

-- 
You are receiving this mail because:
You are the QA Contact for the bug.
You are the assignee for the bug.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.cairographics.org/archives/cairo-bugs/attachments/20130208/c54cd381/attachment.html>


More information about the cairo-bugs mailing list