okra pushed a commit to branch elementary-1.8.

http://git.enlightenment.org/core/elementary.git/commit/?id=ad10bebce083d9ac0226b4e4624284510e7c997d

commit ad10bebce083d9ac0226b4e4624284510e7c997d
Author: Stephen Houston <smhousto...@gmail.com>
Date:   Sun Dec 29 11:24:54 2013 -0600

    elm_thumb: Delete ethumb object on smart_del in order to prevent the ethumb 
from being left as an artifact after the elm_thumb has been deleted.
---
 src/lib/elm_thumb.c | 6 ++++++
 1 file changed, 6 insertions(+)

diff --git a/src/lib/elm_thumb.c b/src/lib/elm_thumb.c
index a3e3fd9..4a2c464 100644
--- a/src/lib/elm_thumb.c
+++ b/src/lib/elm_thumb.c
@@ -580,6 +580,12 @@ _elm_thumb_smart_del(Eo *obj, void *_pd, va_list *list 
EINA_UNUSED)
       (sd->view, EVAS_CALLBACK_IMAGE_PRELOADED, _on_thumb_preloaded,
        sd);
 
+   if (sd->view)
+     {
+        evas_object_del(sd->view);
+        sd->view = NULL;
+     }
+
    eina_stringshare_del(sd->thumb.thumb_path);
    eina_stringshare_del(sd->thumb.thumb_key);
 

-- 


Reply via email to