v0.10.0
Breaking Changes
- All
from_pointer()
methods in pangocffi by default will not apply a garbage collection callback. #42 If you are using pangocairocffi, you will need to update to the latest version (v0.6.0) to avoid any potential issues. This change is done mainly for consistency. If the original functionality is desired, addinggc=True
should be enough (In other words,from_pointer(pointer, gc=True)
). This affects the following methods:Context.from_pointer()
Layout.from_pointer()
Additions
- Added setter methods for the properties of
Rectangle
and adds arguments to__init__()
for setting the properties individually. #42
Bug Fixes
- Fixed an issue with
Attribute
in anAttrList
causing segmentation faults when the list was being copied because the attribute was improperly being garbage collected. This was solved by simply removing the call toffi.gc(pointer, pango.pango_attribute_destroy)
. If there are any issues with this change, please raise an issue in the issue tracker. #42 - Fixed a mistake with
Attribute
where theend_index
was incorrectly being set against thestart_index
. #42