summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatthias Clasen <mclasen@redhat.com>2014-10-14 23:58:37 -0400
committerMatthias Clasen <mclasen@redhat.com>2014-10-14 23:58:37 -0400
commitef62a872f5f80e179f328f049ed4c9b023784eec (patch)
tree72c819522e327dfa76348ca45fc6f11ada2a8528
parentf99cbdf49f9f3277e44aba6ea83bd9262a132ebf (diff)
downloadgtk+-ef62a872f5f80e179f328f049ed4c9b023784eec.tar.gz
GtkContainerAccessible: avoid resurrecting accessibles
When removing a child, we don't want to resurrect its accessible needlessly.
-rw-r--r--gtk/a11y/gtkcontaineraccessible.c2
1 files changed, 1 insertions, 1 deletions
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);