Gdk.cairo_region_create_from_surface() raises an error in GI
Bug #1028115 reported by
David Klasinc
This bug affects 7 people
Affects | Status | Importance | Assigned to | Milestone | |
---|---|---|---|---|---|
pygobject |
Fix Released
|
Medium
|
|||
py3cairo (Debian) |
Fix Released
|
Unknown
|
|||
py3cairo (Ubuntu) |
Fix Released
|
Undecided
|
Unassigned | ||
pygobject (Ubuntu) |
Fix Released
|
Undecided
|
Martin Pitt |
Bug Description
This happens on current 12.10 daily:
>>> from gi.repository import Gdk
>>> import cairo
>>> surface = cairo.ImageSurf
>>> Gdk.cairo_
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/
return info.invoke(*args, **kwargs)
TypeError: Couldn't find conversion for foreign struct 'cairo.Region'
Upstream has some additional info and a couple of patches for this:
https:/
https:/
Changed in pygobject (Ubuntu): | |
status: | Triaged → Fix Committed |
status: | Fix Committed → In Progress |
Changed in pygobject: | |
importance: | Unknown → Medium |
status: | Unknown → Confirmed |
Changed in py3cairo (Debian): | |
status: | Unknown → New |
Changed in py3cairo (Debian): | |
status: | New → Fix Released |
Changed in pygobject: | |
status: | Confirmed → Fix Released |
To post a comment you must log in.
py3cairo patch is committed upstream, this needs a new release and then we can apply the patch to pygobject.