aboutsummaryrefslogtreecommitdiffstats
path: root/a11y
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2006-05-08 09:34:30 +0800
committerLi Yuan <liyuan@src.gnome.org>2006-05-08 09:34:30 +0800
commitd542e6e49123f599088aa06b7acb2327abd2a79e (patch)
treec7b5a8c2e21dbc31d3d01225eb08ea8570ac7568 /a11y
parentfbc465df3298fb4e2a05e15234e57f1538847fa2 (diff)
downloadgsoc2013-evolution-d542e6e49123f599088aa06b7acb2327abd2a79e.tar
gsoc2013-evolution-d542e6e49123f599088aa06b7acb2327abd2a79e.tar.gz
gsoc2013-evolution-d542e6e49123f599088aa06b7acb2327abd2a79e.tar.bz2
gsoc2013-evolution-d542e6e49123f599088aa06b7acb2327abd2a79e.tar.lz
gsoc2013-evolution-d542e6e49123f599088aa06b7acb2327abd2a79e.tar.xz
gsoc2013-evolution-d542e6e49123f599088aa06b7acb2327abd2a79e.tar.zst
gsoc2013-evolution-d542e6e49123f599088aa06b7acb2327abd2a79e.zip
Fix for #333279.
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. svn path=/trunk/; revision=31959
Diffstat (limited to 'a11y')
-rw-r--r--a11y/ChangeLog7
-rw-r--r--a11y/e-table/gal-a11y-e-table-item.c3
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;