aboutsummaryrefslogtreecommitdiffstats
path: root/src/lib/elementary/elm_icon.c
diff options
context:
space:
mode:
authorVitor Sousa <vitorsousasilva@gmail.com>2016-08-22 19:40:39 -0300
committerVitor Sousa <vitorsousasilva@gmail.com>2016-08-26 15:45:07 -0300
commit8356b16a49d4f653d61940763eff947466b44e24 (patch)
treeb5d8e533b3df4ad45f2ea97071b7a826ae5d04b5 /src/lib/elementary/elm_icon.c
parentecore_cocoa: fix fullscreen for older osx versions (diff)
downloadefl-8356b16a49d4f653d61940763eff947466b44e24.tar.gz
Efl Object: remove legacy callback calls from event_callback_call
Efl.Object.event_callback_call no longer calls legacy smart callbacks; calling only event callbacks registered with the given event description pointer. Create the method Efl.Object.event_callback_legacy_call to inherit the old behavior from Efl.Object.event_callback_call, calling both Efl.Object events and legacy smart callbacks. Update all other files accordingly in order to still supply legacy callbacks while they are necessary.
Diffstat (limited to 'src/lib/elementary/elm_icon.c')
-rw-r--r--src/lib/elementary/elm_icon.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/elementary/elm_icon.c b/src/lib/elementary/elm_icon.c
index 05d4dc608d..4e5cd7fef6 100644
--- a/src/lib/elementary/elm_icon.c
+++ b/src/lib/elementary/elm_icon.c
@@ -112,10 +112,10 @@ _icon_thumb_display(Elm_Icon_Data *sd)
(sd->obj, sd->thumb.thumb.path, sd->thumb.thumb.key);
if (ret)
- efl_event_callback_call
+ efl_event_callback_legacy_call
(sd->obj, ELM_ICON_EVENT_THUMB_DONE, NULL);
else
- efl_event_callback_call
+ efl_event_callback_legacy_call
(sd->obj, ELM_ICON_EVENT_THUMB_ERROR, NULL);
return ret;
@@ -218,7 +218,7 @@ _icon_thumb_error(Ethumb_Client *client,
ERR("could not generate thumbnail for %s (key: %s)",
sd->thumb.file.path, sd->thumb.file.key);
- efl_event_callback_call(sd->obj, ELM_ICON_EVENT_THUMB_ERROR, NULL);
+ efl_event_callback_legacy_call(sd->obj, ELM_ICON_EVENT_THUMB_ERROR, NULL);
_icon_thumb_cleanup(client);
}