0.10.2
This release contains small bugfixes and enhancements.
What's Changed
Fixes:
- #104: Fixed loading native libraries built by MSVC (thanks @Kontiterit)
- #105: Fixed the GitHub action to build Gtk Windows libraries (thanks @JFronny)
- #103: Fixed handling of toggle references in async code (thanks @pontaoski)
- #111 and #113: Fixed crash caused by incorrect ListModel ownership handling (thanks @JFronny, @SudoDios and @badcel)
- Improved the toggle reference functionality to be faster and thread-safe
- Fixed double ref of initially unowned (i.e. floating) objects
- Removed an unused Cleaner action that was attached to all GObject instances
Improvements:
- Functions in enumerations where the first parameter is the enumeration type itself, will now be available in Java as an instance method on that enumeration. For example,
EventType.getFlags(EventType.TAG)
has changed toEventType.TAG.getFlags()
.
The applicable functions are auto-detected by the Java-GI bindings generator. The functions that have been changed in this release are listed here. - In the Javadoc of all signal connect methods (starting with "on...", like
Button.onClicked()
), a link has been added to the declaration of the signal handler method prototype. No more need to guess the expected callback parameters! - Error messages when registering a Java class as a new GType have been improved to log the relevant error cause.
This release is based on OpenJDK 22 and GNOME 46. The new release is available on Maven Central.
Full Changelog: 0.10.1...0.10.2