Index: configure.in
===================================================================
RCS file: /cvs/gnome/gtkhtml2/configure.in,v
retrieving revision 1.92
diff -u -p -r1.92 configure.in
--- configure.in	20 Apr 2004 13:56:54 -0000	1.92
+++ configure.in	27 Oct 2004 13:48:09 -0000
@@ -40,7 +40,7 @@ AC_ARG_ENABLE(accessibility,
               enable_accessibility=yes)
 
 if test x$enable_accessibility = xyes; then
-  PKG_CHECK_MODULES(GAILUTIL, gail >= 1.3, ,
+  PKG_CHECK_MODULES(GAILUTIL, gail >= 1.8, ,
 	            AC_MSG_ERROR([
 *** gail is needed for accessibility. Either install gail or turn off 
 *** accessibility support using the --disable-accessibility option.]))
Index: libgtkhtml/a11y/htmlviewaccessible.c
===================================================================
RCS file: /cvs/gnome/gtkhtml2/libgtkhtml/a11y/htmlviewaccessible.c,v
retrieving revision 1.14
diff -u -p -r1.14 htmlviewaccessible.c
--- libgtkhtml/a11y/htmlviewaccessible.c	30 Jan 2004 17:06:05 -0000	1.14
+++ libgtkhtml/a11y/htmlviewaccessible.c	27 Oct 2004 13:48:09 -0000
@@ -41,8 +41,6 @@ static AtkObject* html_view_accessible_g
 
 static void       focus_object_destroyed                   (gpointer           data);       
 static void       root_object_destroyed                    (gpointer           data);
-static void       set_focus_object                         (GObject            *obj,
-                                                            AtkObject          *focus_obj);       
 static void       set_root_object                          (GObject            *obj,
                                                             HtmlBox            *root);
 
@@ -185,7 +183,6 @@ html_view_accessible_initialize (AtkObje
                                  gpointer  data)
 {
 	GtkWidget *widget;
-	AtkObject *focus_object;
 	HtmlView *view;
 
 	ATK_OBJECT_CLASS (parent_class)->initialize (obj, data);
@@ -196,9 +193,6 @@ html_view_accessible_initialize (AtkObje
 	g_signal_connect (widget, "grab_focus",
 			  G_CALLBACK (html_view_accessible_grab_focus_cb),
                           NULL);
-	focus_object = html_view_accessible_get_focus_object (widget, NULL);
-	if (focus_object)
-		set_focus_object (G_OBJECT (obj), focus_object);
 }
 
 static void
@@ -291,7 +285,6 @@ html_view_accessible_grab_focus_cb (GtkW
 	focus_object = html_view_accessible_get_focus_object (widget, &link_index);
 
 	obj = gtk_widget_get_accessible (widget);
-	set_focus_object (G_OBJECT (obj), focus_object);
 	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);
@@ -405,25 +398,6 @@ root_object_destroyed (gpointer data)
 {
 	set_root_object (G_OBJECT (data), NULL);
 	g_signal_emit_by_name (data, "children_changed::remove", 0, NULL, NULL);
-}
-
-static void
-set_focus_object (GObject *obj,
-                  AtkObject *focus_obj) 
-{
-	gpointer old_focus_obj;
-
-	old_focus_obj = g_object_get_data (obj, gail_focus_object);
-	if (old_focus_obj) {
-		g_object_weak_unref (old_focus_obj, 
-				     (GWeakNotify) focus_object_destroyed,
-				     obj);
-	}
-	if (focus_obj)
-		g_object_weak_ref (G_OBJECT (focus_obj), 
-				   (GWeakNotify) focus_object_destroyed,
-				   obj);
-	g_object_set_data (obj, gail_focus_object, focus_obj);
 }
 
 static void
