? .table.c.swp
Index: ChangeLog
===================================================================
RCS file: /cvs/gnome/gtkhtml/a11y/ChangeLog,v
retrieving revision 1.34
diff -u -p -r1.34 ChangeLog
--- ChangeLog	22 Aug 2006 08:36:54 -0000	1.34
+++ ChangeLog	24 Aug 2006 03:04:01 -0000
@@ -1,3 +1,9 @@
+2006-08-24  Li Yuan  <li.yuan@sun.com>
+
+	* table.c: (is_valid):
+	Fix #351358. 
+	Check whether table have parent first.
+
 2006-08-22  Srinivasa Ragavan  <sragavan@novell.com>
 
 	** Fix for bug #327169 Patch from Rohini
Index: table.c
===================================================================
RCS file: /cvs/gnome/gtkhtml/a11y/table.c,v
retrieving revision 1.3
diff -u -p -r1.3 table.c
--- table.c	29 Dec 2004 11:23:53 -0000	1.3
+++ table.c	24 Aug 2006 03:04:01 -0000
@@ -160,6 +160,9 @@ is_valid (AtkObject *table)
 	AtkStateSet *ss;
 
 	HTMLTable *to = HTML_TABLE (HTML_A11Y_HTML (table));
+	if (!htmla11y)
+		return FALSE;
+
 	if (!to)
 		return FALSE;
 
