[gtk+] Fix an AtkStateType emitted for GtkBooleanCellAccessible



commit 9749013e5f4e24f36ffa497decb2bc560e202a9f
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]