yoz pushed a commit to branch master.
commit d166c8c1be5b30dc75999eadcdd7caf34b8f7487
Author: Michaƫl Bouchaud (yoz) <[email protected]>
Date: Tue Sep 10 12:52:11 2013 +0200
elementary: del image_preload signal callback on elm_thumb when needed
---
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 769f399..7ab8cac 100644
--- a/src/lib/elm_thumb.c
+++ b/src/lib/elm_thumb.c
@@ -348,6 +348,9 @@ _on_ethumb_thumb_error(Ethumb_Client *client __UNUSED__,
ERR("Something odd happened with a thumbnail request");
return;
}
+ evas_object_event_callback_del_full
+ (sd->view, EVAS_CALLBACK_IMAGE_PRELOADED, _on_thumb_preloaded,
+ sd);
pending_request--;
sd->thumb.request = NULL;
@@ -632,6 +635,9 @@ _elm_thumb_smart_del(Eo *obj, void *_pd, va_list *list
EINA_UNUSED)
eo_data_unref(sd->obj, sd);
sd->thumb.retry = EINA_FALSE;
}
+ evas_object_event_callback_del_full
+ (sd->view, EVAS_CALLBACK_IMAGE_PRELOADED, _on_thumb_preloaded,
+ sd);
eina_stringshare_del(sd->thumb.thumb_path);
eina_stringshare_del(sd->thumb.thumb_key);
--
------------------------------------------------------------------------------
How ServiceNow helps IT people transform IT departments:
1. Consolidate legacy IT systems to a single system of record for IT
2. Standardize and globalize service processes across IT
3. Implement zero-touch automation to replace manual, redundant tasks
http://pubads.g.doubleclick.net/gampad/clk?id=51271111&iu=/4140/ostg.clktrk