summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorwoochan lee <wc0917.lee@samsung.com>2015-03-10 17:19:46 +0900
committerChunEon Park <hermet@hermet.pe.kr>2015-03-10 17:19:47 +0900
commit4deb0ef34df2e0820ce748af6e9a542e839a687a (patch)
treec17a7eeda1518c016a996cbaf74951fd9ad51cb1
parent139c5d59c4f61ae1948cdb16f2a4353fedf2cecb (diff)
multibuttonentry: registered object change for callback add.
Summary: API changed from "edje_object_signal_callback_add()" to "elm_layout_signal_callback_add" to following code refactoring. Reviewers: seoz, woohyun, Jaehyun, Hermet Reviewed By: Hermet Differential Revision: https://phab.enlightenment.org/D2102
-rw-r--r--src/lib/elc_multibuttonentry.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elc_multibuttonentry.c b/src/lib/elc_multibuttonentry.c
index 40ba537a3..91aad0767 100644
--- a/src/lib/elc_multibuttonentry.c
+++ b/src/lib/elc_multibuttonentry.c
@@ -505,7 +505,7 @@ _on_item_deleted(void *data,
505 EINA_LIST_FOREACH(sd->items, l, eo_temp_it) 505 EINA_LIST_FOREACH(sd->items, l, eo_temp_it)
506 { 506 {
507 ELM_MULTIBUTTONENTRY_ITEM_DATA_GET(eo_temp_it, temp_it); 507 ELM_MULTIBUTTONENTRY_ITEM_DATA_GET(eo_temp_it, temp_it);
508 if (elm_layout_edje_get(VIEW(temp_it)) == obj) 508 if (VIEW(temp_it) == obj)
509 { 509 {
510 eo_do(eo_temp_it, elm_wdg_item_del()); 510 eo_do(eo_temp_it, elm_wdg_item_del());
511 break; 511 break;
@@ -660,10 +660,10 @@ _item_new(Elm_Multibuttonentry_Data *sd,
660 //entry is cleared when text is made to button 660 //entry is cleared when text is made to button
661 elm_object_text_set(sd->entry, ""); 661 elm_object_text_set(sd->entry, "");
662 662
663 edje_object_signal_callback_add 663 elm_layout_signal_callback_add
664 (elm_layout_edje_get(VIEW(item)), "mouse,clicked,1", "*", _on_item_clicked, EO_OBJ(item)); 664 (VIEW(item), "mouse,clicked,1", "*", _on_item_clicked, EO_OBJ(item));
665 edje_object_signal_callback_add 665 elm_layout_signal_callback_add
666 (elm_layout_edje_get(VIEW(item)), "elm,deleted", "elm", _on_item_deleted, EO_OBJ(item)); 666 (VIEW(item), "elm,deleted", "elm", _on_item_deleted, EO_OBJ(item));
667 evas_object_show(VIEW(item)); 667 evas_object_show(VIEW(item));
668 668
669 evas_object_smart_calculate(VIEW(item)); 669 evas_object_smart_calculate(VIEW(item));