forked from enlightenment/efl
elm object item: fix the comparison of eo class name in case of edje object.
Summary: eo_class_name_get(edje) returns "Edje". @fix Reviewers: raster, seoz Reviewed By: seoz CC: seoz Differential Revision: https://phab.enlightenment.org/D1097
This commit is contained in:
parent
f9ef6ece32
commit
cb4b6cd099
|
@ -4014,7 +4014,7 @@ _elm_widget_item_signal_callback_list_get(Elm_Widget_Item *item, Eina_List *posi
|
||||||
wisd->emission, wisd->source,
|
wisd->emission, wisd->source,
|
||||||
_elm_widget_item_signal_cb);
|
_elm_widget_item_signal_cb);
|
||||||
else if (!strcmp(eo_class_name_get(eo_class_get(item->view)),
|
else if (!strcmp(eo_class_name_get(eo_class_get(item->view)),
|
||||||
"edje"))
|
"Edje"))
|
||||||
edje_object_signal_callback_del_full(item->view,
|
edje_object_signal_callback_del_full(item->view,
|
||||||
wisd->emission, wisd->source,
|
wisd->emission, wisd->source,
|
||||||
_elm_widget_item_signal_cb, wisd);
|
_elm_widget_item_signal_cb, wisd);
|
||||||
|
@ -5166,7 +5166,7 @@ _elm_widget_item_signal_callback_add(Elm_Widget_Item *item,
|
||||||
|
|
||||||
if (_elm_widget_is(item->view))
|
if (_elm_widget_is(item->view))
|
||||||
elm_object_signal_callback_add(item->view, emission, source, _elm_widget_item_signal_cb, wisd);
|
elm_object_signal_callback_add(item->view, emission, source, _elm_widget_item_signal_cb, wisd);
|
||||||
else if (!strcmp(eo_class_name_get(eo_class_get(item->view)), "edje"))
|
else if (!strcmp(eo_class_name_get(eo_class_get(item->view)), "Edje"))
|
||||||
edje_object_signal_callback_add(item->view, emission, source, _elm_widget_item_signal_cb, wisd);
|
edje_object_signal_callback_add(item->view, emission, source, _elm_widget_item_signal_cb, wisd);
|
||||||
else
|
else
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue