From ef62a872f5f80e179f328f049ed4c9b023784eec Mon Sep 17 00:00:00 2001 From: Matthias Clasen Date: Tue, 14 Oct 2014 23:58:37 -0400 Subject: [PATCH] GtkContainerAccessible: avoid resurrecting accessibles When removing a child, we don't want to resurrect its accessible needlessly. --- gtk/a11y/gtkcontaineraccessible.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/gtk/a11y/gtkcontaineraccessible.c b/gtk/a11y/gtkcontaineraccessible.c index 0ea0d765e4..7146acf0b2 100644 --- a/gtk/a11y/gtkcontaineraccessible.c +++ b/gtk/a11y/gtkcontaineraccessible.c @@ -150,7 +150,7 @@ gtk_container_accessible_real_remove_gtk (GtkContainer *container, gint index; atk_parent = ATK_OBJECT (data); - atk_child = gtk_widget_get_accessible (widget); + atk_child = _gtk_widget_peek_accessible (widget); if (atk_child == NULL) return 1; accessible = GTK_CONTAINER_ACCESSIBLE (atk_parent);