Skip to content

Conversation

@sgehrman
Copy link

using: gtk_widget_destroy(GTK_WIDGET(get_window(self)));

instead of:
self->_is_prevent_close = false;
gtk_window_close(get_window(self));

problem happens if you don't set prevent close, but in your own app you set:
g_signal_connect(window, "delete-event",
G_CALLBACK(gtk_widget_hide_on_delete), NULL);

then destroy won't work since it will call close and be prevented from quitting the app.

@lijy91
Copy link
Member

lijy91 commented Jul 1, 2023

This PR will address the issues confirmed before closure #343

@lijy91 lijy91 closed this Jul 1, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants