2009-08-12 Mark Doffman <mark.doffman@codethink.co.uk>
authorMark Doffman <mdoff@altair-voyager.(none)>
Sat, 8 Aug 2009 04:24:13 +0000 (05:24 +0100)
committerMark Doffman <mdoff@altair-voyager.(none)>
Sat, 8 Aug 2009 04:24:13 +0000 (05:24 +0100)
        Removal of Accessible objects is now handled properly.
        Object removal causes signal to be emitted.

        Fix provided by:
                Mario Lang

atk-adaptor/accessible-register.c

index 1256fc1..901b8aa 100644 (file)
@@ -158,6 +158,7 @@ deregister_accessible (gpointer data, GObject *accessible)
   ref = object_to_ref (ATK_OBJECT(accessible));
   if (ref != 0)
     {
+      spi_emit_cache_removal (ref, atk_adaptor_app_data->bus);
       g_hash_table_remove(ref2ptr, GINT_TO_POINTER(ref));
     }
 }