diff options
-rw-r--r-- | a11y/ChangeLog | 7 | ||||
-rw-r--r-- | a11y/e-table/gal-a11y-e-table-item.c | 3 |
2 files changed, 10 insertions, 0 deletions
diff --git a/a11y/ChangeLog b/a11y/ChangeLog index 6ed754684f..9cac437429 100644 --- a/a11y/ChangeLog +++ b/a11y/ChangeLog @@ -1,3 +1,10 @@ +2006-05-08 Li Yuan <li.yuan@sun.com> + + Fix for #333279. + + * e-table/gal-a11y-e-table-item.c: (table_is_row_selected): + If row<0, just return FALSE. + 2006-04-28 Boby Wang <boby.wang@sun.com> Fix for #339136 diff --git a/a11y/e-table/gal-a11y-e-table-item.c b/a11y/e-table/gal-a11y-e-table-item.c index 35eae0cf54..c11be59787 100644 --- a/a11y/e-table/gal-a11y-e-table-item.c +++ b/a11y/e-table/gal-a11y-e-table-item.c @@ -543,6 +543,9 @@ table_is_row_selected (AtkTable *table, gint row) ETableItem *item; GalA11yETableItemPrivate *priv = GET_PRIVATE (table); + if (row < 0) + return FALSE; + if (atk_state_set_contains_state (priv->state_set, ATK_STATE_DEFUNCT)) return FALSE; |