widget: Unref accessible

This commit is contained in:
Benjamin Otte 2011-12-18 17:18:49 +01:00
parent 7b5b678e2e
commit 03a63def24

View File

@ -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) */