aboutsummaryrefslogtreecommitdiffstats
path: root/legacy/elementary/src/lib/elm_color_class.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-02 12:10:48 +0000
committerTom Hacohen <tom@stosb.com>2016-03-03 10:08:27 +0000
commitd16aa5956be0ce308c0eb8d8e876dd0d9af55a46 (patch)
treeae809b5766557b903abd6c1a4d9ef22459c40cff /legacy/elementary/src/lib/elm_color_class.c
parentApp client/server and entry: Mix of automatic migration and manual adjustments. (diff)
downloadefl-d16aa5956be0ce308c0eb8d8e876dd0d9af55a46.tar.gz
Automatic migration to Eo4.
I just ran my script (email to follow) to migrate all of the EFL automatically. This commit is *only* the automatic conversion, so it can be easily reverted and re-run.
Diffstat (limited to 'legacy/elementary/src/lib/elm_color_class.c')
-rw-r--r--legacy/elementary/src/lib/elm_color_class.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/legacy/elementary/src/lib/elm_color_class.c b/legacy/elementary/src/lib/elm_color_class.c
index fd9bb0e064..c2ea17cc0e 100644
--- a/legacy/elementary/src/lib/elm_color_class.c
+++ b/legacy/elementary/src/lib/elm_color_class.c
@@ -735,22 +735,22 @@ elm_color_class_editor_add(Evas_Object *obj)
elm_scroller_policy_set(gl, ELM_SCROLLER_POLICY_OFF, ELM_SCROLLER_POLICY_AUTO);
elm_genlist_mode_set(gl, ELM_LIST_COMPRESS);
elm_object_part_content_set(ly, "elm.swallow.list", gl);
- eo_do(gl, eo_event_callback_add
- (EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, _colorclass_activate, cc));
+ eo_event_callback_add
+ (gl, EVAS_SELECTABLE_INTERFACE_EVENT_SELECTED, _colorclass_activate, cc);
cc->reset = bt = elm_button_add(ly);
elm_object_style_set(bt, "colorclass");
/* FIXME: translate */
elm_object_text_set(bt, "Reset");
elm_object_part_content_set(ly, "elm.swallow.reset", bt);
- eo_do(bt, eo_event_callback_add
- (EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _colorclass_reset, cc));
+ eo_event_callback_add
+ (bt, EVAS_CLICKABLE_INTERFACE_EVENT_CLICKED, _colorclass_reset, cc);
cc->cs = cs = elm_colorselector_add(ly);
elm_colorselector_mode_set(cs, ELM_COLORSELECTOR_COMPONENTS);
elm_object_part_content_set(ly, "elm.swallow.colors", cs);
- eo_do(cs, eo_event_callback_add
- (ELM_COLORSELECTOR_EVENT_CHANGED_USER, _colorclass_changed, cc));
+ eo_event_callback_add
+ (cs, ELM_COLORSELECTOR_EVENT_CHANGED_USER, _colorclass_changed, cc);
EINA_LIST_FREE(ccs, ecc)
elm_genlist_item_append(gl, &itc, ecc, NULL, 0, NULL, NULL);