GErrorException improvements #340
No reviewers
Labels
No labels
bug
dependencies
documentation
duplicate
enhancement
github_actions
good first issue
help wanted
invalid
java
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
java-gi/java-gi!340
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "gerror-exception"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Removed private static helper methods in the GErrorException class that are not necessary anymore with JEP 513 (Flexible Constructor Bodies).
Changed the constructor into a static factory method `take() to emphasize that the GError instance is consumed.
Added
toGErrorUnowned()that automatically detaches the Cleaner, and updated the code generator to use this.