mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-06 16:50:11 +00:00
Release GtkApplication earlier
GtkWindow was only releasing the application in finalize, causing problems for language bindings. Now we release it already in destroy (and then again in finalize for good measure). https://bugzilla.gnome.org/show_bug.cgi?id=638580
This commit is contained in:
parent
b673e5b1ee
commit
6a11c59290
@ -4513,6 +4513,8 @@ gtk_window_destroy (GtkWidget *widget)
|
||||
GtkWindow *window = GTK_WINDOW (widget);
|
||||
GtkWindowPrivate *priv = window->priv;
|
||||
|
||||
gtk_window_release_application (window);
|
||||
|
||||
toplevel_list = g_slist_remove (toplevel_list, window);
|
||||
|
||||
if (priv->transient_parent)
|
||||
|
Loading…
Reference in New Issue
Block a user