summaryrefslogtreecommitdiff
path: root/src/lib/elm_toolbar.c
diff options
context:
space:
mode:
authorTom Hacohen <tom@stosb.com>2016-03-11 12:34:16 +0000
committerTom Hacohen <tom@stosb.com>2016-03-11 12:36:19 +0000
commit97ca9e387903306c01c0a7b7dcbb3f3886d03862 (patch)
treef4cad1ff36089a7b8421993fd21c7ae89e9775b3 /src/lib/elm_toolbar.c
parenta1f55ce68a0e652af38bc4b4c59ed5f8bd5029e9 (diff)
Revert "Automatic migration to the new eo_add syntax."
This reverts commit d1a1819813d74361b25fd5c1123f7ac76be9b84f.
Diffstat (limited to 'src/lib/elm_toolbar.c')
-rw-r--r--src/lib/elm_toolbar.c6
1 files changed, 2 insertions, 4 deletions
diff --git a/src/lib/elm_toolbar.c b/src/lib/elm_toolbar.c
index 327b22781..1611969f7 100644
--- a/src/lib/elm_toolbar.c
+++ b/src/lib/elm_toolbar.c
@@ -2374,8 +2374,7 @@ _item_new(Evas_Object *obj,
2374 2374
2375 ELM_TOOLBAR_DATA_GET(obj, sd); 2375 ELM_TOOLBAR_DATA_GET(obj, sd);
2376 2376
2377 Eo *eo_it = NULL; 2377 Eo *eo_it = eo_add(ELM_TOOLBAR_ITEM_CLASS, obj);
2378 eo_add(&eo_it, ELM_TOOLBAR_ITEM_CLASS, obj);
2379 2378
2380 if (!eo_it) return NULL; 2379 if (!eo_it) return NULL;
2381 2380
@@ -2990,8 +2989,7 @@ EAPI Evas_Object *
2990elm_toolbar_add(Evas_Object *parent) 2989elm_toolbar_add(Evas_Object *parent)
2991{ 2990{
2992 EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL); 2991 EINA_SAFETY_ON_NULL_RETURN_VAL(parent, NULL);
2993 Evas_Object *obj = NULL; 2992 Evas_Object *obj = eo_add(MY_CLASS, parent);
2994 eo_add(&obj, MY_CLASS, parent);
2995 return obj; 2993 return obj;
2996} 2994}
2997 2995