[at-spi2-atk/gnome-3-4: 1/3] Fix for bug 677211 - The collection interface's MATCH_ANY fails for states



commit b48b6b5cc9e199911de5f2bd99f72ae60caedf7b
Author: Joanmarie Diggs <jdiggs igalia com>
Date:   Thu May 31 13:30:20 2012 -0400

    Fix for bug 677211 - The collection interface's MATCH_ANY fails for states

 atk-adaptor/adaptors/collection-adaptor.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/atk-adaptor/adaptors/collection-adaptor.c b/atk-adaptor/adaptors/collection-adaptor.c
index efefa43..c227079 100644
--- a/atk-adaptor/adaptors/collection-adaptor.c
+++ b/atk-adaptor/adaptors/collection-adaptor.c
@@ -119,7 +119,7 @@ match_states_any_p (AtkObject * child, gint * set)
 
   for (i = 0; set[i] != BITARRAY_SEQ_TERM; i++)
     {
-      if (!atk_state_set_contains_state (chs, set[i]))
+      if (atk_state_set_contains_state (chs, set[i]))
         {
           ret = TRUE;
           break;



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]