Index: gailtreeview.c
===================================================================
RCS file: /cvs/gnome/gail/gail/gailtreeview.c,v
retrieving revision 1.153
diff -u -p -r1.153 gailtreeview.c
--- gailtreeview.c	27 Jun 2003 13:52:26 -0000	1.153
+++ gailtreeview.c	4 Jul 2003 12:39:59 -0000
@@ -2487,7 +2487,6 @@ idle_cursor_changed (gpointer data)
               gail_cell_remove_state (GAIL_CELL (gail_tree_view->focus_cell), ATK_STATE_FOCUSED, FALSE); 
               g_object_unref (gail_tree_view->focus_cell);
             }
-          g_object_ref (cell);
           gail_tree_view->focus_cell = cell;
 
           gail_cell_add_state (GAIL_CELL (cell), ATK_STATE_FOCUSED, FALSE);
@@ -2495,19 +2494,8 @@ idle_cursor_changed (gpointer data)
                                  "active-descendant-changed",
                                  cell);
         }
-      /*
-       * If another window has focus do not report focus in cell.
-       */
-      toplevel = gtk_widget_get_toplevel (widget);
-      if (toplevel && GTK_IS_WINDOW (toplevel))
-        if (!GTK_WINDOW (toplevel)->has_focus)
-          return FALSE;
-
-      /*
-       * Notify that the cell has focus
-       */
-      atk_focus_tracker_notify (cell);
-      g_object_unref (cell);
+      else
+        g_object_unref (cell);
     }
 
   return FALSE;
