aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/evas/src/lib/canvas/evas_object_inform.c
diff options
context:
space:
mode:
authorCarsten Haitzler <raster@rasterman.com>2010-12-24 16:04:27 +0000
committerCarsten Haitzler <raster@rasterman.com>2010-12-24 16:04:27 +0000
commit19d4f8affc02c74e9adbcb9da20c749f3c7528d7 (patch)
tree3a2c5a71d1ef35f02292373d94eec48aeee5164c /legacy/evas/src/lib/canvas/evas_object_inform.c
parentEvas textblock: Fixed cursor_pos_get/set to be absolute, and not node specifi... (diff)
downloadefl-19d4f8affc02c74e9adbcb9da20c749f3c7528d7.tar.gz
add unload callback - missing event problem that makes it impossible
for client apps that tried to be efficient with preloads to adapt when the preloaded data is taken away from them. this allows it. missing callback api bug fix. SVN revision: 55745
Diffstat (limited to 'legacy/evas/src/lib/canvas/evas_object_inform.c')
-rw-r--r--legacy/evas/src/lib/canvas/evas_object_inform.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/legacy/evas/src/lib/canvas/evas_object_inform.c b/legacy/evas/src/lib/canvas/evas_object_inform.c
index 90ead99ae5..d1dd6452e5 100644
--- a/legacy/evas/src/lib/canvas/evas_object_inform.c
+++ b/legacy/evas/src/lib/canvas/evas_object_inform.c
@@ -65,3 +65,12 @@ evas_object_inform_call_image_preloaded(Evas_Object *obj)
evas_object_event_callback_call(obj, EVAS_CALLBACK_IMAGE_PRELOADED, NULL);
_evas_post_event_callback_call(obj->layer->evas);
}
+
+void
+evas_object_inform_call_image_unloaded(Evas_Object *obj)
+{
+ _evas_object_event_new();
+
+ evas_object_event_callback_call(obj, EVAS_CALLBACK_IMAGE_UNLOADED, NULL);
+ _evas_post_event_callback_call(obj->layer->evas);
+}