After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 700529 - [PATCH] cairo: Add foreign mapping for Cairo.Surface
[PATCH] cairo: Add foreign mapping for Cairo.Surface
Status: RESOLVED FIXED
Product: gjs
Classification: Bindings
Component: general
unspecified
Other Linux
: Normal normal
: ---
Assigned To: gjs-maint
gjs-maint
Depends on:
Blocks: 699808
 
 
Reported: 2013-05-17 14:23 UTC by Colin Walters
Modified: 2013-05-22 12:15 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
0001-cairo-Add-foreign-mapping-for-Cairo.Surface.patch (3.51 KB, patch)
2013-05-17 14:23 UTC, Colin Walters
accepted-commit_now Details | Review

Description Colin Walters 2013-05-17 14:23:11 UTC
This allows one to pass a cairo_surface_t to API like
Gdk.pixbuf_new_from_surface().

Reported-by: Seif Lotfy <seif@lotfy.com>
---
 modules/cairo-private.h |    1 +
 modules/cairo-surface.c |   59 +++++++++++++++++++++++++++++++++++++++++++++++
 modules/cairo.c         |    1 +
 3 files changed, 61 insertions(+), 0 deletions(-)
Comment 1 Colin Walters 2013-05-17 14:23:49 UTC
Created attachment 244541 [details] [review]
0001-cairo-Add-foreign-mapping-for-Cairo.Surface.patch
Comment 2 Colin Walters 2013-05-17 14:25:17 UTC
Side note: Our foreign stuff should really make this more automated and less lame...
Comment 3 Jasper St. Pierre (not reading bugmail) 2013-05-21 15:05:06 UTC
Review of attachment 244541 [details] [review]:

OK.