cvs server: Diffing .
Index: htmlviewaccessible.c
===================================================================
RCS file: /cvs/gnome/gtkhtml2/libgtkhtml/a11y/htmlviewaccessible.c,v
retrieving revision 1.15
diff -u -p -r1.15 htmlviewaccessible.c
--- htmlviewaccessible.c	27 Oct 2004 15:09:44 -0000	1.15
+++ htmlviewaccessible.c	22 Nov 2004 17:05:36 -0000
@@ -285,9 +285,13 @@ html_view_accessible_grab_focus_cb (GtkW
 	focus_object = html_view_accessible_get_focus_object (widget, &link_index);
 
 	obj = gtk_widget_get_accessible (widget);
-	if (GTK_WIDGET_HAS_FOCUS (widget) && focus_object) {
-		atk_focus_tracker_notify (focus_object);
-		g_signal_emit_by_name (focus_object, "link-selected", link_index);
+	if (GTK_WIDGET_HAS_FOCUS (widget)) {
+		if (focus_object) {
+			atk_focus_tracker_notify (focus_object);
+			g_signal_emit_by_name (focus_object, "link-selected", link_index);
+		} else {
+			atk_focus_tracker_notify (obj);
+		}
 	}
 }
 
