On Wed, 12 Jan 2011 16:51:33 +0900 WooHyun Jung <wh0705.j...@samsung.com> said:

oh indeed that is a bug - obj is deleted. hiding it is bad. as such
interestingly enough in evas, this will never crash because objects never get
immediately deleted - they are kept in the canvas for 2 canvas render cycles
due to needing to keep state, so at worst this creates complaints - but not
crashes, but its wrong code.

> Hello, all. 
> 
> I'm WooHyun Jung. 
> 
> I felt strange with the following codes in elm_pager.c
> 
> Why it->content should be hidden after deleted ? 
> 
> Is it a bug ? 
> 
> I made a small patch for this
> 
> Thanks.. 
> 
>  
> 
> static void
> 
> _signal_hide_finished(void *data, Evas_Object *obj __UNUSED__, const char
> *emission __UNUSED__, const char *source __UNUSED__)
> 
> {
> 
> .
> 
> if (it->popme) evas_object_del(it->content);
> 
>    evas_object_hide(it->content);
> 
> _sizing_eval(obj2);
> 
> }
> 
>  
> 


-- 
------------- Codito, ergo sum - "I code, therefore I am" --------------
The Rasterman (Carsten Haitzler)    ras...@rasterman.com


------------------------------------------------------------------------------
Protect Your Site and Customers from Malware Attacks
Learn about various malware tactics and how to avoid them. Understand 
malware threats, the impact they can have on your business, and how you 
can protect your company and customers by using code signing.
http://p.sf.net/sfu/oracle-sfdevnl
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to