summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAvi Levin <avi.levin@samsung.com>2015-05-05 18:51:55 +0300
committerAvi Levin <avi.levin@samsung.com>2015-06-29 17:03:32 +0300
commit9e18fd6cb39c9d762ab737176887ab6d001d80dd (patch)
tree931d310d20080ec92b03ec0e7f4f469b2ba3a5ed
parentfa37b7fdec66e746c67faddde280b91c63e17977 (diff)
elm_image, elm_colorselector: porting evas smart callbacks to eo
-rw-r--r--src/lib/elm_colorselector.c80
-rw-r--r--src/lib/elm_colorselector.eo3
-rw-r--r--src/lib/elm_image.c17
3 files changed, 53 insertions, 47 deletions
diff --git a/src/lib/elm_colorselector.c b/src/lib/elm_colorselector.c
index 5dc9f17af..2aad96d30 100644
--- a/src/lib/elm_colorselector.c
+++ b/src/lib/elm_colorselector.c
@@ -404,8 +404,8 @@ _update_hsla_from_colorbar(Evas_Object *obj, Color_Type type, double x)
404 _update_colorbars(sd); 404 _update_colorbars(sd);
405 if ((sd->mode == ELM_COLORSELECTOR_ALL) || (sd->mode == ELM_COLORSELECTOR_PICKER)) 405 if ((sd->mode == ELM_COLORSELECTOR_ALL) || (sd->mode == ELM_COLORSELECTOR_PICKER))
406 _color_picker_init(sd); 406 _color_picker_init(sd);
407 evas_object_smart_callback_call(obj, SIG_CHANGED, NULL); 407 eo_do(obj, eo_event_callback_call(ELM_COLORSELECTOR_EVENT_CHANGED, NULL));
408 evas_object_smart_callback_call(obj, SIG_CHANGED_USER, NULL); 408 eo_do(obj, eo_event_callback_call(ELM_COLORSELECTOR_EVENT_CHANGED_USER, NULL));
409} 409}
410 410
411static void 411static void
@@ -460,13 +460,12 @@ _colors_set(Evas_Object *obj,
460 } 460 }
461 if ((sd->mode == ELM_COLORSELECTOR_ALL) || (sd->mode == ELM_COLORSELECTOR_PICKER)) 461 if ((sd->mode == ELM_COLORSELECTOR_ALL) || (sd->mode == ELM_COLORSELECTOR_PICKER))
462 _color_picker_init(sd); 462 _color_picker_init(sd);
463 evas_object_smart_callback_call(obj, SIG_CHANGED, NULL); 463 eo_do(obj, eo_event_callback_call(ELM_COLORSELECTOR_EVENT_CHANGED, NULL));
464} 464}
465 465
466static void 466static Eina_Bool
467_spinner_changed_cb(void *data, 467_spinner_changed_cb(void *data,
468 Evas_Object *obj, 468 Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
469 void *event_info EINA_UNUSED)
470{ 469{
471 Elm_Colorselector_Data *sd = data; 470 Elm_Colorselector_Data *sd = data;
472 Evas_Object *parent; 471 Evas_Object *parent;
@@ -494,7 +493,9 @@ _spinner_changed_cb(void *data,
494 break; 493 break;
495 } 494 }
496 evas_object_data_del(obj, "_changed"); 495 evas_object_data_del(obj, "_changed");
497 evas_object_smart_callback_call(obj, SIG_CHANGED_USER, NULL); 496 eo_do(obj, eo_event_callback_call(ELM_COLORSELECTOR_EVENT_CHANGED_USER, NULL));
497
498 return EINA_TRUE;
498} 499}
499 500
500#ifdef HAVE_ELEMENTARY_X 501#ifdef HAVE_ELEMENTARY_X
@@ -523,8 +524,9 @@ _x11_elm_widget_xwin_get(const Evas_Object *obj)
523 return xwin; 524 return xwin;
524} 525}
525 526
526static void 527static Eina_Bool
527_start_grab_pick_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED) 528_start_grab_pick_cb(void *data,
529 Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
528{ 530{
529 Evas_Object *o = data; 531 Evas_Object *o = data;
530 532
@@ -538,6 +540,8 @@ _start_grab_pick_cb(void *data, Evas_Object *obj, void *event_info EINA_UNUSED)
538 540
539 ecore_x_keyboard_grab(sd->grab.xroot); 541 ecore_x_keyboard_grab(sd->grab.xroot);
540 ecore_x_pointer_grab(sd->grab.xroot); 542 ecore_x_pointer_grab(sd->grab.xroot);
543
544 return EINA_TRUE;
541} 545}
542 546
543static Eina_Bool 547static Eina_Bool
@@ -581,7 +585,7 @@ _mouse_up_cb(void *data, int type EINA_UNUSED, void *event EINA_UNUSED)
581 b = pixels[17 * 8 + 8] & 0xFF; 585 b = pixels[17 * 8 + 8] & 0xFF;
582 586
583 _colors_set(o, r, g, b, 0xFF); 587 _colors_set(o, r, g, b, 0xFF);
584 evas_object_smart_callback_call(o, SIG_CHANGED_USER, NULL); 588 eo_do(o, eo_event_callback_call(ELM_COLORSELECTOR_EVENT_CHANGED_USER, NULL));
585 589
586 return EINA_TRUE; 590 return EINA_TRUE;
587} 591}
@@ -723,7 +727,8 @@ _create_colorpicker(Evas_Object *obj)
723 sd->button = elm_button_add(sd->picker); 727 sd->button = elm_button_add(sd->picker);
724 elm_object_style_set(sd->button, style); 728 elm_object_style_set(sd->button, style);
725 elm_object_text_set(sd->button, E_("Pick a color")); 729 elm_object_text_set(sd->button, E_("Pick a color"));
726 evas_object_smart_callback_add(sd->button, "clicked", _start_grab_pick_cb, obj); 730 eo_do(sd->button, eo_event_callback_add
731 (EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _start_grab_pick_cb, obj));
727 elm_box_pack_end(bx, sd->button); 732 elm_box_pack_end(bx, sd->button);
728 evas_object_show(sd->button); 733 evas_object_show(sd->button);
729 } 734 }
@@ -746,7 +751,8 @@ _create_colorpicker(Evas_Object *obj)
746 spinner = elm_spinner_add(sd->picker); 751 spinner = elm_spinner_add(sd->picker);
747 elm_object_style_set(spinner, style); 752 elm_object_style_set(spinner, style);
748 evas_object_data_set(spinner, "parent", obj); 753 evas_object_data_set(spinner, "parent", obj);
749 evas_object_smart_callback_add(spinner, "changed", _spinner_changed_cb, sd); 754 eo_do(spinner, eo_event_callback_add
755 (ELM_COLORSELECTOR_EVENT_CHANGED, _spinner_changed_cb, sd));
750 elm_spinner_editable_set(spinner, EINA_TRUE); 756 elm_spinner_editable_set(spinner, EINA_TRUE);
751 elm_spinner_interval_set(spinner, 0.1); 757 elm_spinner_interval_set(spinner, 0.1);
752 elm_spinner_min_max_set(spinner, 0, 255); 758 elm_spinner_min_max_set(spinner, 0, 255);
@@ -816,10 +822,9 @@ _colorbar_cb(void *data,
816 sd->focused = ELM_COLORSELECTOR_COMPONENTS; 822 sd->focused = ELM_COLORSELECTOR_COMPONENTS;
817} 823}
818 824
819static void 825static Eina_Bool
820_button_clicked_cb(void *data, 826_button_clicked_cb(void *data,
821 Evas_Object *obj, 827 Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
822 void *event_info EINA_UNUSED)
823{ 828{
824 Color_Bar_Data *cb_data = data; 829 Color_Bar_Data *cb_data = data;
825 double x, y, step; 830 double x, y, step;
@@ -859,12 +864,13 @@ _button_clicked_cb(void *data,
859 _update_hsla_from_colorbar(cb_data->parent, cb_data->color_type, x); 864 _update_hsla_from_colorbar(cb_data->parent, cb_data->color_type, x);
860 sd->sel_color_type = cb_data->color_type; 865 sd->sel_color_type = cb_data->color_type;
861 sd->focused = ELM_COLORSELECTOR_COMPONENTS; 866 sd->focused = ELM_COLORSELECTOR_COMPONENTS;
867
868 return EINA_TRUE;
862} 869}
863 870
864static void 871static Eina_Bool
865_button_repeat_cb(void *data, 872_button_repeat_cb(void *data,
866 Evas_Object *obj EINA_UNUSED, 873 Eo *obj EINA_UNUSED, const Eo_Event_Description *desc EINA_UNUSED, void *event_info EINA_UNUSED)
867 void *event_info EINA_UNUSED)
868{ 874{
869 Color_Bar_Data *cb_data = data; 875 Color_Bar_Data *cb_data = data;
870 double x, y, step; 876 double x, y, step;
@@ -880,6 +886,8 @@ _button_repeat_cb(void *data,
880 886
881 edje_object_part_drag_value_set(cb_data->colorbar, "elm.arrow", x, y); 887 edje_object_part_drag_value_set(cb_data->colorbar, "elm.arrow", x, y);
882 _update_hsla_from_colorbar(cb_data->parent, cb_data->color_type, x); 888 _update_hsla_from_colorbar(cb_data->parent, cb_data->color_type, x);
889
890 return EINA_TRUE;
883} 891}
884 892
885static void 893static void
@@ -1050,17 +1058,15 @@ _color_bars_add(Evas_Object *obj)
1050 elm_widget_sub_object_add(obj, sd->cb_data[i]->lbt); 1058 elm_widget_sub_object_add(obj, sd->cb_data[i]->lbt);
1051 edje_object_part_swallow 1059 edje_object_part_swallow
1052 (sd->cb_data[i]->colorbar, "elm.l_button", sd->cb_data[i]->lbt); 1060 (sd->cb_data[i]->colorbar, "elm.l_button", sd->cb_data[i]->lbt);
1053 evas_object_smart_callback_add 1061 eo_do(sd->cb_data[i]->lbt, eo_event_callback_add
1054 (sd->cb_data[i]->lbt, "clicked", _button_clicked_cb, 1062 (EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _button_clicked_cb, sd->cb_data[i]));
1055 sd->cb_data[i]);
1056 elm_button_autorepeat_set(sd->cb_data[i]->lbt, EINA_TRUE); 1063 elm_button_autorepeat_set(sd->cb_data[i]->lbt, EINA_TRUE);
1057 elm_button_autorepeat_initial_timeout_set 1064 elm_button_autorepeat_initial_timeout_set
1058 (sd->cb_data[i]->lbt, _elm_config->longpress_timeout); 1065 (sd->cb_data[i]->lbt, _elm_config->longpress_timeout);
1059 elm_button_autorepeat_gap_timeout_set 1066 elm_button_autorepeat_gap_timeout_set
1060 (sd->cb_data[i]->lbt, (1.0 / _elm_config->fps)); 1067 (sd->cb_data[i]->lbt, (1.0 / _elm_config->fps));
1061 evas_object_smart_callback_add 1068 eo_do(sd->cb_data[i]->lbt, eo_event_callback_add
1062 (sd->cb_data[i]->lbt, "repeated", _button_repeat_cb, 1069 (EVAS_CLICKABLE_INTERFACE_EVENT_REPEATED, _button_repeat_cb, sd->cb_data[i]));
1063 sd->cb_data[i]);
1064 1070
1065 /* load right button */ 1071 /* load right button */
1066 if (!sd->cb_data[i]->rbt) sd->cb_data[i]->rbt = elm_button_add(obj); 1072 if (!sd->cb_data[i]->rbt) sd->cb_data[i]->rbt = elm_button_add(obj);
@@ -1070,17 +1076,15 @@ _color_bars_add(Evas_Object *obj)
1070 elm_widget_sub_object_add(obj, sd->cb_data[i]->rbt); 1076 elm_widget_sub_object_add(obj, sd->cb_data[i]->rbt);
1071 edje_object_part_swallow 1077 edje_object_part_swallow
1072 (sd->cb_data[i]->colorbar, "elm.r_button", sd->cb_data[i]->rbt); 1078 (sd->cb_data[i]->colorbar, "elm.r_button", sd->cb_data[i]->rbt);
1073 evas_object_smart_callback_add 1079 eo_do(sd->cb_data[i]->rbt, eo_event_callback_add
1074 (sd->cb_data[i]->rbt, "clicked", _button_clicked_cb, 1080 (EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _button_clicked_cb, sd->cb_data[i]));
1075 sd->cb_data[i]);
1076 elm_button_autorepeat_set(sd->cb_data[i]->rbt, EINA_TRUE); 1081 elm_button_autorepeat_set(sd->cb_data[i]->rbt, EINA_TRUE);
1077 elm_button_autorepeat_initial_timeout_set 1082 elm_button_autorepeat_initial_timeout_set
1078 (sd->cb_data[i]->rbt, _elm_config->longpress_timeout); 1083 (sd->cb_data[i]->rbt, _elm_config->longpress_timeout);
1079 elm_button_autorepeat_gap_timeout_set 1084 elm_button_autorepeat_gap_timeout_set
1080 (sd->cb_data[i]->rbt, (1.0 / _elm_config->fps)); 1085 (sd->cb_data[i]->rbt, (1.0 / _elm_config->fps));
1081 evas_object_smart_callback_add 1086 eo_do(sd->cb_data[i]->rbt, eo_event_callback_add
1082 (sd->cb_data[i]->rbt, "repeated", _button_repeat_cb, 1087 (EVAS_CLICKABLE_INTERFACE_EVENT_REPEATED, _button_repeat_cb, sd->cb_data[i]));
1083 sd->cb_data[i]);
1084 } 1088 }
1085} 1089}
1086 1090
@@ -1334,8 +1338,8 @@ _on_color_long_press(void *data)
1334 1338
1335 sd->longpress_timer = NULL; 1339 sd->longpress_timer = NULL;
1336 1340
1337 evas_object_smart_callback_call 1341 eo_do(WIDGET(item), eo_event_callback_call
1338 (WIDGET(item), SIG_COLOR_ITEM_LONGPRESSED, EO_OBJ(item)); 1342 (ELM_COLORSELECTOR_EVENT_COLOR_ITEM_LONGPRESSED, EO_OBJ(item)));
1339 1343
1340 return ECORE_CALLBACK_CANCEL; 1344 return ECORE_CALLBACK_CANCEL;
1341} 1345}
@@ -1380,8 +1384,8 @@ _on_color_released(void *data,
1380 elm_object_signal_emit(VIEW(item), "elm,state,selected", "elm"); 1384 elm_object_signal_emit(VIEW(item), "elm,state,selected", "elm");
1381 elm_colorselector_color_set(WIDGET(item), item->color->r, item->color->g, 1385 elm_colorselector_color_set(WIDGET(item), item->color->r, item->color->g,
1382 item->color->b, item->color->a); 1386 item->color->b, item->color->a);
1383 evas_object_smart_callback_call(WIDGET(item), SIG_COLOR_ITEM_SELECTED, 1387 eo_do(WIDGET(item), eo_event_callback_call
1384 EO_OBJ(item)); 1388 (ELM_COLORSELECTOR_EVENT_COLOR_ITEM_SELECTED, EO_OBJ(item)));
1385 1389
1386 eo_temp_item = eina_list_data_get(sd->selected); 1390 eo_temp_item = eina_list_data_get(sd->selected);
1387 if (eo_temp_item && (eo_temp_item != EO_OBJ(item))) 1391 if (eo_temp_item && (eo_temp_item != EO_OBJ(item)))
@@ -1774,7 +1778,7 @@ _key_action_move(Evas_Object *obj, const char *params)
1774 cl = eina_list_prev(sd->selected); 1778 cl = eina_list_prev(sd->selected);
1775 else if (sd->focused == ELM_COLORSELECTOR_COMPONENTS) 1779 else if (sd->focused == ELM_COLORSELECTOR_COMPONENTS)
1776 _button_clicked_cb(sd->cb_data[sd->sel_color_type], 1780 _button_clicked_cb(sd->cb_data[sd->sel_color_type],
1777 sd->cb_data[sd->sel_color_type]->lbt, NULL); 1781 sd->cb_data[sd->sel_color_type]->lbt, NULL, NULL);
1778 else return EINA_FALSE; 1782 else return EINA_FALSE;
1779 } 1783 }
1780 else if (!strcmp(dir, "right")) 1784 else if (!strcmp(dir, "right"))
@@ -1783,7 +1787,7 @@ _key_action_move(Evas_Object *obj, const char *params)
1783 cl = eina_list_next(sd->selected); 1787 cl = eina_list_next(sd->selected);
1784 else if (sd->focused == ELM_COLORSELECTOR_COMPONENTS) 1788 else if (sd->focused == ELM_COLORSELECTOR_COMPONENTS)
1785 _button_clicked_cb(sd->cb_data[sd->sel_color_type], 1789 _button_clicked_cb(sd->cb_data[sd->sel_color_type],
1786 sd->cb_data[sd->sel_color_type]->rbt, NULL); 1790 sd->cb_data[sd->sel_color_type]->rbt, NULL, NULL);
1787 else return EINA_FALSE; 1791 else return EINA_FALSE;
1788 } 1792 }
1789 else if (!strcmp(dir, "up")) 1793 else if (!strcmp(dir, "up"))
@@ -1847,8 +1851,8 @@ _key_action_move(Evas_Object *obj, const char *params)
1847 elm_colorselector_color_set 1851 elm_colorselector_color_set
1848 (WIDGET(item), item->color->r, item->color->g, item->color->b, 1852 (WIDGET(item), item->color->r, item->color->g, item->color->b,
1849 item->color->a); 1853 item->color->a);
1850 evas_object_smart_callback_call 1854 eo_do(WIDGET(item), eo_event_callback_call
1851 (WIDGET(item), SIG_COLOR_ITEM_SELECTED, eo_item); 1855 (ELM_COLORSELECTOR_EVENT_COLOR_ITEM_SELECTED, eo_item));
1852 sd->selected = cl; 1856 sd->selected = cl;
1853 } 1857 }
1854 else if (!cl && sd->focused == ELM_COLORSELECTOR_PALETTE) 1858 else if (!cl && sd->focused == ELM_COLORSELECTOR_PALETTE)
diff --git a/src/lib/elm_colorselector.eo b/src/lib/elm_colorselector.eo
index bb4e121a3..c5f824a83 100644
--- a/src/lib/elm_colorselector.eo
+++ b/src/lib/elm_colorselector.eo
@@ -1,4 +1,5 @@
1class Elm.Colorselector (Elm.Layout, Elm_Interface_Atspi_Widget_Action) 1class Elm.Colorselector (Elm.Layout, Elm_Interface_Atspi_Widget_Action,
2 Evas.Clickable_Interface)
2{ 3{
3 eo_prefix: elm_obj_colorselector; 4 eo_prefix: elm_obj_colorselector;
4 methods { 5 methods {
diff --git a/src/lib/elm_image.c b/src/lib/elm_image.c
index 5cd9a617a..228f1bd85 100644
--- a/src/lib/elm_image.c
+++ b/src/lib/elm_image.c
@@ -72,7 +72,7 @@ _on_mouse_up(void *data,
72 if (ev->button != 1) return; 72 if (ev->button != 1) return;
73 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return; 73 if (ev->event_flags & EVAS_EVENT_FLAG_ON_HOLD) return;
74 74
75 evas_object_smart_callback_call(data, SIG_CLICKED, NULL); 75 eo_do(data, eo_event_callback_call(ELM_IMAGE_EVENT_CLICKED, NULL));
76} 76}
77 77
78static Eina_Bool 78static Eina_Bool
@@ -607,7 +607,7 @@ _elm_image_drag_n_drop_cb(void *elm_obj,
607 DBG("dnd: %s, %s, %s", elm_widget_type_get(elm_obj), 607 DBG("dnd: %s, %s, %s", elm_widget_type_get(elm_obj),
608 SIG_DND, (char *)drop->data); 608 SIG_DND, (char *)drop->data);
609 609
610 evas_object_smart_callback_call(elm_obj, SIG_DND, drop->data); 610 eo_do(elm_obj, eo_event_callback_call(ELM_IMAGE_EVENT_DROP, drop->data));
611 return EINA_TRUE; 611 return EINA_TRUE;
612 } 612 }
613 613
@@ -783,7 +783,7 @@ _elm_image_elm_widget_theme_apply(Eo *obj, Elm_Image_Data *sd EINA_UNUSED)
783static Eina_Bool 783static Eina_Bool
784_key_action_activate(Evas_Object *obj, const char *params EINA_UNUSED) 784_key_action_activate(Evas_Object *obj, const char *params EINA_UNUSED)
785{ 785{
786 evas_object_smart_callback_call(obj, SIG_CLICKED, NULL); 786 eo_do(obj, eo_event_callback_call(ELM_IMAGE_EVENT_CLICKED, NULL));
787 return EINA_TRUE; 787 return EINA_TRUE;
788} 788}
789 789
@@ -1061,7 +1061,7 @@ _elm_image_smart_download_done(void *data, Elm_Url *url EINA_UNUSED, Eina_Binbuf
1061 1061
1062 free(sd->remote_data); 1062 free(sd->remote_data);
1063 sd->remote_data = NULL; 1063 sd->remote_data = NULL;
1064 evas_object_smart_callback_call(obj, SIG_DOWNLOAD_ERROR, &err); 1064 eo_do(obj, eo_event_callback_call(ELM_IMAGE_EVENT_DOWNLOAD_ERROR, &err));
1065 } 1065 }
1066 else 1066 else
1067 { 1067 {
@@ -1071,7 +1071,7 @@ _elm_image_smart_download_done(void *data, Elm_Url *url EINA_UNUSED, Eina_Binbuf
1071 evas_object_image_preload(sd->img, EINA_FALSE); 1071 evas_object_image_preload(sd->img, EINA_FALSE);
1072 } 1072 }
1073 1073
1074 evas_object_smart_callback_call(obj, SIG_DOWNLOAD_DONE, NULL); 1074 eo_do(obj, eo_event_callback_call(ELM_IMAGE_EVENT_DOWNLOAD_DONE, NULL));
1075 } 1075 }
1076 1076
1077 ELM_SAFE_FREE(sd->key, eina_stringshare_del); 1077 ELM_SAFE_FREE(sd->key, eina_stringshare_del);
@@ -1084,7 +1084,7 @@ _elm_image_smart_download_cancel(void *data, Elm_Url *url EINA_UNUSED, int error
1084 Elm_Image_Data *sd = eo_data_scope_get(obj, MY_CLASS); 1084 Elm_Image_Data *sd = eo_data_scope_get(obj, MY_CLASS);
1085 Elm_Image_Error err = { error, EINA_FALSE }; 1085 Elm_Image_Error err = { error, EINA_FALSE };
1086 1086
1087 evas_object_smart_callback_call(obj, SIG_DOWNLOAD_ERROR, &err); 1087 eo_do(obj, eo_event_callback_call(ELM_IMAGE_EVENT_DOWNLOAD_ERROR, &err));
1088 1088
1089 sd->remote = NULL; 1089 sd->remote = NULL;
1090 ELM_SAFE_FREE(sd->key, eina_stringshare_del); 1090 ELM_SAFE_FREE(sd->key, eina_stringshare_del);
@@ -1098,7 +1098,7 @@ _elm_image_smart_download_progress(void *data, Elm_Url *url EINA_UNUSED, double
1098 1098
1099 progress.now = now; 1099 progress.now = now;
1100 progress.total = total; 1100 progress.total = total;
1101 evas_object_smart_callback_call(obj, SIG_DOWNLOAD_PROGRESS, &progress); 1101 eo_do(obj, eo_event_callback_call(ELM_IMAGE_EVENT_DOWNLOAD_PROGRESS, &progress));
1102} 1102}
1103 1103
1104static const char *remote_uri[] = { 1104static const char *remote_uri[] = {
@@ -1126,7 +1126,8 @@ _elm_image_efl_file_file_set(Eo *obj, Elm_Image_Data *sd, const char *file, cons
1126 obj); 1126 obj);
1127 if (sd->remote) 1127 if (sd->remote)
1128 { 1128 {
1129 evas_object_smart_callback_call(obj, SIG_DOWNLOAD_START, NULL); 1129 eo_do(obj, eo_event_callback_call
1130 (ELM_IMAGE_EVENT_DOWNLOAD_START, NULL));
1130 eina_stringshare_replace(&sd->key, key); 1131 eina_stringshare_replace(&sd->key, key);
1131 return EINA_TRUE; 1132 return EINA_TRUE;
1132 } 1133 }