Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[GTK4] Snippet 50 swt_fixed_remove error when closing dialog #49

Closed
Tracked by #227
joel-majano opened this issue Apr 14, 2022 · 0 comments · Fixed by #50
Closed
Tracked by #227

[GTK4] Snippet 50 swt_fixed_remove error when closing dialog #49

joel-majano opened this issue Apr 14, 2022 · 0 comments · Fixed by #50
Assignees
Labels
bug Something isn't working
Milestone

Comments

@joel-majano
Copy link
Contributor

joel-majano commented Apr 14, 2022

This error is caused by calling swt_fixed_remove with fixedHandle == 0. The fix is to check if the widget to be destroyed is a GtkWindow, and then calling the appropriate gtk_window_destroy() call.

Tracked in #228

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
2 participants