Public bug reported:
This happens on current 12.10 daily:
>>> from gi.repository import Gdk
>>> import cairo
>>> surface = cairo.ImageSurface(0, 100, 100)
>>> Gdk.cairo_region_create_from_surface(surface)
Traceback (most recent call last):
File "<stdin>", line 1, in <module>
File "/usr/lib/python2.7/dist-packages/gi/types.py", line 47, in function
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://bugzilla.gnome.org/show_bug.cgi?id=667959
https://bugs.freedesktop.org/show_bug.cgi?id=44336
** Affects: pygobject (Ubuntu)
Importance: Undecided
Status: New
--
You received this bug notification because you are a member of Ubuntu
Desktop Bugs, which is subscribed to pygobject in Ubuntu.
https://bugs.launchpad.net/bugs/1028115
Title:
Gdk.cairo_region_create_from_surface() raises an error in GI
To manage notifications about this bug go to:
https://bugs.launchpad.net/ubuntu/+source/pygobject/+bug/1028115/+subscriptions
--
desktop-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/desktop-bugs