[gtk+/gtk-3-14] Fix an AtkStateType emitted for GtkBooleanCellAccessible
- From: Matthias Clasen <matthiasc src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gtk+/gtk-3-14] Fix an AtkStateType emitted for GtkBooleanCellAccessible
- Date: Sun, 29 Mar 2015 23:14:26 +0000 (UTC)
commit 74426d896da59ab6cb8dd4d1773c6ff9234b72ab
Author: Joanmarie Diggs <jdiggs igalia com>
Date: Wed Mar 25 19:21:37 2015 -0400
Fix an AtkStateType emitted for GtkBooleanCellAccessible
An apparent copy-and-paste error is resulting in ATs being notified of
changes in ATK_STATE_CHECKED when the cell's "sensitive" state changes.
https://bugzilla.gnome.org/show_bug.cgi?id=746784
gtk/a11y/gtkbooleancellaccessible.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/gtk/a11y/gtkbooleancellaccessible.c b/gtk/a11y/gtkbooleancellaccessible.c
index 1b3df15..f12ff31 100644
--- a/gtk/a11y/gtkbooleancellaccessible.c
+++ b/gtk/a11y/gtkbooleancellaccessible.c
@@ -138,7 +138,7 @@ gtk_boolean_cell_accessible_update_cache (GtkCellAccessible *cell)
{
boolean_cell->priv->cell_sensitive = !boolean_cell->priv->cell_sensitive;
- atk_object_notify_state_change (ATK_OBJECT (cell), ATK_STATE_CHECKED, sensitive);
+ atk_object_notify_state_change (ATK_OBJECT (cell), ATK_STATE_SENSITIVE, sensitive);
}
}
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]