atk r1296 - in trunk: . atk
- From: liyuan svn gnome org
- To: svn-commits-list gnome org
- Subject: atk r1296 - in trunk: . atk
- Date: Mon, 10 Nov 2008 06:28:21 +0000 (UTC)
Author: liyuan
Date: Mon Nov 10 06:28:21 2008
New Revision: 1296
URL: http://svn.gnome.org/viewvc/atk?rev=1296&view=rev
Log:
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.
Modified:
trunk/ChangeLog
trunk/atk/atkrelationset.c
Modified: trunk/atk/atkrelationset.c
==============================================================================
--- trunk/atk/atkrelationset.c (original)
+++ trunk/atk/atkrelationset.c Mon Nov 10 06:28:21 2008
@@ -164,8 +164,8 @@
if (!atk_relation_set_contains (set, relationship))
{
g_ptr_array_add (set->relations, relation);
+ g_object_ref (relation);
}
- g_object_ref (relation);
}
/**
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]