mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-02 17:00:19 +00:00
widget: Unref accessible
This commit is contained in:
parent
7b5b678e2e
commit
03a63def24
@ -10107,7 +10107,10 @@ gtk_widget_real_destroy (GtkWidget *object)
|
||||
GtkAccessible *accessible = g_object_steal_qdata (G_OBJECT (widget), quark_accessible_object);
|
||||
|
||||
if (accessible)
|
||||
gtk_accessible_set_widget (accessible, NULL);
|
||||
{
|
||||
gtk_accessible_set_widget (accessible, NULL);
|
||||
g_object_unref (accessible);
|
||||
}
|
||||
}
|
||||
|
||||
/* wipe accelerator closures (keep order) */
|
||||
|
Loading…
Reference in New Issue
Block a user