summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAmitesh Singh <amitesh.sh@samsung.com>2014-06-28 15:47:27 +0900
committerDaniel Juyung Seo <seojuyung2@gmail.com>2014-06-28 15:47:27 +0900
commitae0b5cc50ac5c5bdae276df31bfb4e447d3819aa (patch)
tree75b02266903bcbe7aa88136e31f4d9d9464982db
parent1b6247fb1cea6cf9b8f857fb64cbe475a6866f09 (diff)
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
-rw-r--r--src/lib/elm_widget.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/lib/elm_widget.c b/src/lib/elm_widget.c
index 283041a7b..0cf8fafd2 100644
--- a/src/lib/elm_widget.c
+++ b/src/lib/elm_widget.c
@@ -4014,7 +4014,7 @@ _elm_widget_item_signal_callback_list_get(Elm_Widget_Item *item, Eina_List *posi
4014 wisd->emission, wisd->source, 4014 wisd->emission, wisd->source,
4015 _elm_widget_item_signal_cb); 4015 _elm_widget_item_signal_cb);
4016 else if (!strcmp(eo_class_name_get(eo_class_get(item->view)), 4016 else if (!strcmp(eo_class_name_get(eo_class_get(item->view)),
4017 "edje")) 4017 "Edje"))
4018 edje_object_signal_callback_del_full(item->view, 4018 edje_object_signal_callback_del_full(item->view,
4019 wisd->emission, wisd->source, 4019 wisd->emission, wisd->source,
4020 _elm_widget_item_signal_cb, wisd); 4020 _elm_widget_item_signal_cb, wisd);
@@ -5166,7 +5166,7 @@ _elm_widget_item_signal_callback_add(Elm_Widget_Item *item,
5166 5166
5167 if (_elm_widget_is(item->view)) 5167 if (_elm_widget_is(item->view))
5168 elm_object_signal_callback_add(item->view, emission, source, _elm_widget_item_signal_cb, wisd); 5168 elm_object_signal_callback_add(item->view, emission, source, _elm_widget_item_signal_cb, wisd);
5169 else if (!strcmp(eo_class_name_get(eo_class_get(item->view)), "edje")) 5169 else if (!strcmp(eo_class_name_get(eo_class_get(item->view)), "Edje"))
5170 edje_object_signal_callback_add(item->view, emission, source, _elm_widget_item_signal_cb, wisd); 5170 edje_object_signal_callback_add(item->view, emission, source, _elm_widget_item_signal_cb, wisd);
5171 else 5171 else
5172 { 5172 {