2003-02-04 Padraig O'Briain <padraig.obriain@sun.com>
* atk/atkgobjectaccessible.c (atk_gobject_accessible_for_object):
Add weak reference so we do not leak the accessible when the object
dies. Problem reported by Alex Larsson.
+2003-02-04 Padraig O'Briain <padraig.obriain@sun.com>
+
+ * atk/atkgobjectaccessible.c (atk_gobject_accessible_for_object):
+ Add weak reference so we do not leak the accessible when the object
+ dies. Problem reported by Alex Larsson.
+
2003-02-02 Fatih Demir <kabalak@gtranslator.org>
* configure.in: Added "tr" (Turkish) to the languages' list.
* The AtkObject which was created was not a AtkGObjectAccessible
*/
quark_accessible_object = g_quark_from_static_string ("accessible-object");
+ g_object_weak_ref (obj,
+ (GWeakNotify) g_object_unref,
+ accessible);
}
g_object_set_qdata (obj, quark_accessible_object, accessible);
}