On Tue, Jun 12, 2012 at 3:28 PM, Tom Hacohen <tom.haco...@samsung.com> wrote:
> On 12/06/12 02:54, Cedric BAIL wrote:
>>
>> On Sun, Jun 10, 2012 at 8:14 PM, Enlightenment SVN
>> <no-re...@enlightenment.org> wrote:
>>>
>>> Log:
>>> Edje load: Although we don't use them that much, we have refcounts in
>>> evas.
>>>
>>>  Don't assume an evas_object_del has to delete the object.
>>
>> Woot ? Why would the sub object of Edje object be refcounted ? Only
>> Edje is alloed to play with them !
>
> Nah, evas is also allowed to play with them... Also, the fix is more correct
> anyway, code should express what we mean, without too much magic. :)

Why would he ? Seriously, nobody should refcount the child of Edje. If
someone does that bad things are going to happen, like this child
could be an external and trigger event in a dead parent for example.
So refcounting the Edje object is fine, referencing its child is
calling for wrong things to happen.
-- 
Cedric BAIL

------------------------------------------------------------------------------
Live Security Virtual Conference
Exclusive live event will cover all the ways today's security and 
threat landscape has changed and how IT managers can respond. Discussions 
will include endpoint security, mobile security and the latest in malware 
threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to