summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Hirt <daniel.hirt@samsung.com>2016-08-04 13:13:29 +0300
committerDaniel Hirt <daniel.hirt@samsung.com>2016-08-04 13:27:08 +0300
commit44569b859a78feeff890e97239c9269b7be23b2f (patch)
tree8800858ee488db97f0cedf53228cf5e3e42c74c9
parente5cfb76ef1b23717356aeffbbbde7eafe5e3e1a0 (diff)
Elm.Entry: use proper theme_set function on edje object
Shouldn't use elm_widget_theme_object_set for handlers/anchors here. Fixes T4091. @fix
-rw-r--r--src/lib/elementary/elm_entry.c10
1 files changed, 5 insertions, 5 deletions
diff --git a/src/lib/elementary/elm_entry.c b/src/lib/elementary/elm_entry.c
index ead6be5b83..3715b26d04 100644
--- a/src/lib/elementary/elm_entry.c
+++ b/src/lib/elementary/elm_entry.c
@@ -950,9 +950,9 @@ _elm_entry_elm_widget_theme_apply(Eo *obj, Elm_Entry_Data *sd)
950 950
951 if (sd->start_handler) 951 if (sd->start_handler)
952 { 952 {
953 elm_widget_theme_object_set(obj, sd->start_handler, 953 _elm_theme_object_set(obj, sd->start_handler,
954 "entry", "handler/start", style); 954 "entry", "handler/start", style);
955 elm_widget_theme_object_set(obj, sd->end_handler, 955 _elm_theme_object_set(obj, sd->end_handler,
956 "entry", "handler/end", style); 956 "entry", "handler/end", style);
957 } 957 }
958 958
@@ -2738,16 +2738,16 @@ _item_get(void *data,
2738 { 2738 {
2739 evas_object_del(o); 2739 evas_object_del(o);
2740 o = edje_object_add(evas_object_evas_get(data)); 2740 o = edje_object_add(evas_object_evas_get(data));
2741 elm_widget_theme_object_set 2741 _elm_theme_object_set
2742 (data, o, "entry/emoticon", "wtf", style); 2742 (data, o, "entry/emoticon", "wtf", style);
2743 } 2743 }
2744 return o; 2744 return o;
2745 } 2745 }
2746 2746
2747 o = edje_object_add(evas_object_evas_get(data)); 2747 o = edje_object_add(evas_object_evas_get(data));
2748 if (!elm_widget_theme_object_set 2748 if (!_elm_theme_object_set
2749 (data, o, "entry", item, style)) 2749 (data, o, "entry", item, style))
2750 elm_widget_theme_object_set 2750 _elm_theme_object_set
2751 (data, o, "entry/emoticon", "wtf", style); 2751 (data, o, "entry/emoticon", "wtf", style);
2752 return o; 2752 return o;
2753} 2753}