diff options
author | Mike Gorse <mgorse@suse.com> | 2015-01-26 14:59:50 -0600 |
---|---|---|
committer | Mike Gorse <mgorse@suse.com> | 2015-01-26 15:03:10 -0600 |
commit | 9cbf04c1d2db22001995b9851587b475ffcefe44 (patch) | |
tree | b59320acd90088bb40a648c1e3bc210d5249cfde /gtk/a11y | |
parent | 8cb444147cdbc624c0ecda3209c389dbe824152f (diff) | |
download | gtk+-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.c | 2 |
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 |