summaryrefslogtreecommitdiff
path: root/src/modules/evas/engines/gl_common/evas_gl_preload.c
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--src/modules/evas/engines/gl_common/evas_gl_preload.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/evas/engines/gl_common/evas_gl_preload.c b/src/modules/evas/engines/gl_common/evas_gl_preload.c
index 5344473c1d..9c3b1357ea 100644
--- a/src/modules/evas/engines/gl_common/evas_gl_preload.c
+++ b/src/modules/evas/engines/gl_common/evas_gl_preload.c
@@ -316,7 +316,7 @@ evas_gl_preload_target_register(Evas_GL_Texture *tex, Eo *target)
316 EINA_SAFETY_ON_NULL_RETURN(tex); 316 EINA_SAFETY_ON_NULL_RETURN(tex);
317 317
318 eo_do(target, 318 eo_do(target,
319 eo_event_callback_add(EO_EV_DEL, _evas_gl_preload_target_die, tex)); 319 eo_event_callback_add(EO_BASE_EVENT_DEL, _evas_gl_preload_target_die, tex));
320 tex->targets = eina_list_append(tex->targets, target); 320 tex->targets = eina_list_append(tex->targets, target);
321 tex->references++; 321 tex->references++;
322} 322}
@@ -330,7 +330,7 @@ evas_gl_preload_target_unregister(Evas_GL_Texture *tex, Eo *target)
330 EINA_SAFETY_ON_NULL_RETURN(tex); 330 EINA_SAFETY_ON_NULL_RETURN(tex);
331 331
332 eo_do(target, 332 eo_do(target,
333 eo_event_callback_del(EO_EV_DEL, _evas_gl_preload_target_die, tex)); 333 eo_event_callback_del(EO_BASE_EVENT_DEL, _evas_gl_preload_target_die, tex));
334 334
335 EINA_LIST_FOREACH(tex->targets, l, o) 335 EINA_LIST_FOREACH(tex->targets, l, o)
336 if (o == target) 336 if (o == target)