2008-11-10 Li Yuan <li.yuan@sun.com>
* atk/atkrelationset.c: (atk_relation_set_add):
Don't ref the relation if it is not added.
svn path=/trunk/; revision=1296
+2008-11-10 Li Yuan <li.yuan@sun.com>
+
+ * atk/atkrelationset.c: (atk_relation_set_add):
+ Don't ref the relation if it is not added.
+
2008-11-07 Li Yuan <li.yuan@sun.com>
* atk/atkrelationset.c: (atk_relation_set_add):
if (!atk_relation_set_contains (set, relationship))
{
g_ptr_array_add (set->relations, relation);
+ g_object_ref (relation);
}
- g_object_ref (relation);
}
/**