[gtk+] A11y: fix typo when initializing a container cell accessible
- From: Mike Gorse <mgorse src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+] A11y: fix typo when initializing a container cell accessible
- Date: Mon, 26 Jan 2015 21:01:29 +0000 (UTC)
commit 9cbf04c1d2db22001995b9851587b475ffcefe44
Author: Mike Gorse <mgorse suse com>
Date: Mon Jan 26 14:59:50 2015 -0600
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.
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 f71ac21..ad9fb81 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
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]