diff options
Diffstat (limited to 'a11y/e-table')
-rw-r--r-- | a11y/e-table/gal-a11y-e-table-item.c | 3 |
1 files changed, 3 insertions, 0 deletions
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; |