From d542e6e49123f599088aa06b7acb2327abd2a79e Mon Sep 17 00:00:00 2001 From: Li Yuan Date: Mon, 8 May 2006 01:34:30 +0000 Subject: Fix for #333279. 2006-05-08 Li Yuan Fix for #333279. * e-table/gal-a11y-e-table-item.c: (table_is_row_selected): If row<0, just return FALSE. svn path=/trunk/; revision=31959 --- a11y/ChangeLog | 7 +++++++ a11y/e-table/gal-a11y-e-table-item.c | 3 +++ 2 files changed, 10 insertions(+) (limited to 'a11y') 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 + + 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 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; -- cgit v1.2.3