[Python-modules-team] Bug#688079: python3-cairo: Gdk.cairo_region_create_from_surface() raises an error in GI

Martin Pitt mpitt at debian.org
Wed Sep 19 05:04:27 UTC 2012

Package: python3-cairo
Version: 1.10.0+dfsg-2
Tags: patch


Gdk.cairo_region_create_from_surface() and similar methods cannot
currently be used through introspection as Cairo.Region is a disguised
struct. This needs to be boxed to become introspectable.

This was reported upstream in


and fixed in upstream git:


In https://launchpad.net/bugs/1028115 you expressed interest to
backport this to the current package, which would indeed be nice. Then
I'll apply the corresponding pygobject patch in the Debian packages as

Thanks for considering,


Martin Pitt                        | http://www.piware.de
Ubuntu Developer (www.ubuntu.com)  | Debian Developer  (www.debian.org)

More information about the Python-modules-team mailing list