Bug #477708. Only remove the target, not the relation if there are still
authorLi Yuan <li.yuan@sun.com>
Tue, 11 Nov 2008 07:17:06 +0000 (07:17 +0000)
committerLi Yuan <liyuan@src.gnome.org>
Tue, 11 Nov 2008 07:17:06 +0000 (07:17 +0000)
commit12e1d4fc27f2d5e99f45ed2648e0ff42fe3c6ab3
treea97f38a8abcd6f36bcfebf66a470bda98f4832f6
parentc90838ac55aec8bc698e9b960bf3c9de07d8dd8e
Bug #477708. Only remove the target, not the relation if there are still

2008-11-10  Li Yuan  <li.yuan@sun.com>

        * atk/atkobject.c: (atk_object_remove_relationship):
        Bug #477708. Only remove the target, not the relation if
        there are still are targets.
        * atk/atkrelation.c: (atk_relation_remove_target):
        * atk/atkrelation.h: New API.
        * atk/atkrelationset.c: (atk_relation_set_add),
        (atk_relation_set_remove):
        Add/remove the new relation's targets to/from the existed
        relation if there has been a relation with the same type.
        * atk/atkstateset.c: (atk_state_set_or_sets):
        Bug #478595. Return NULL if sets are empty.

svn path=/trunk/; revision=1297
ChangeLog
atk/atkobject.c
atk/atkrelation.c
atk/atkrelation.h
atk/atkrelationset.c
atk/atkstateset.c