Skip to content

v0.10.0

Compare
Choose a tag to compare
@leifgehrmann leifgehrmann released this 30 Dec 00:04
· 21 commits to master since this release

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, adding gc=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 an AttrList 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 to ffi.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 the end_index was incorrectly being set against the start_index. #42