summaryrefslogtreecommitdiff
path: root/atk/atkrelation.h
diff options
context:
space:
mode:
authorLi Yuan <li.yuan@sun.com>2008-11-11 07:17:06 +0000
committerLi Yuan <liyuan@src.gnome.org>2008-11-11 07:17:06 +0000
commit12e1d4fc27f2d5e99f45ed2648e0ff42fe3c6ab3 (patch)
treea97f38a8abcd6f36bcfebf66a470bda98f4832f6 /atk/atkrelation.h
parentc90838ac55aec8bc698e9b960bf3c9de07d8dd8e (diff)
downloadatk-12e1d4fc27f2d5e99f45ed2648e0ff42fe3c6ab3.tar.gz
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
Diffstat (limited to 'atk/atkrelation.h')
-rwxr-xr-xatk/atkrelation.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/atk/atkrelation.h b/atk/atkrelation.h
index 88db375..794747c 100755
--- a/atk/atkrelation.h
+++ b/atk/atkrelation.h
@@ -81,6 +81,8 @@ AtkRelationType atk_relation_get_relation_type (AtkRelation *relation
GPtrArray* atk_relation_get_target (AtkRelation *relation);
void atk_relation_add_target (AtkRelation *relation,
AtkObject *target);
+gboolean atk_relation_remove_target (AtkRelation *relation,
+ AtkObject *target);
G_END_DECLS