summaryrefslogtreecommitdiff
path: root/gtk/a11y
diff options
context:
space:
mode:
authorMike Gorse <mgorse@suse.com>2015-01-26 14:59:50 -0600
committerMike Gorse <mgorse@suse.com>2015-01-26 15:03:10 -0600
commit9cbf04c1d2db22001995b9851587b475ffcefe44 (patch)
treeb59320acd90088bb40a648c1e3bc210d5249cfde /gtk/a11y
parent8cb444147cdbc624c0ecda3209c389dbe824152f (diff)
downloadgtk+-9cbf04c1d2db22001995b9851587b475ffcefe44.tar.gz
A11y: fix typo when initializing a container cell accessible
Gtk_container_cell_widget_set should chain up to its parent's set function, not its parent's unset function. This was resulting in accessibles being erroneously marked defunct after being created.
Diffstat (limited to 'gtk/a11y')
-rw-r--r--gtk/a11y/gtkcontainercellaccessible.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/gtk/a11y/gtkcontainercellaccessible.c b/gtk/a11y/gtkcontainercellaccessible.c
index f71ac218e9..ad9fb81d34 100644
--- a/gtk/a11y/gtkcontainercellaccessible.c
+++ b/gtk/a11y/gtkcontainercellaccessible.c
@@ -82,7 +82,7 @@ gtk_container_cell_widget_set (GtkAccessible *accessible)
for (l = container->priv->children; l; l = l->next)
gtk_accessible_set_widget (l->data, gtk_accessible_get_widget (accessible));
- GTK_ACCESSIBLE_CLASS (gtk_container_cell_accessible_parent_class)->widget_unset (accessible);
+ GTK_ACCESSIBLE_CLASS (gtk_container_cell_accessible_parent_class)->widget_set (accessible);
}
static void