diff options
author | Jee-Yong Um <jc9.um@samsung.com> | 2016-03-15 11:31:30 -0700 |
---|---|---|
committer | Cedric Bail <cedric@osg.samsung.com> | 2016-03-15 11:31:33 -0700 |
commit | afb49ec0962a48f0c500891853840c4b2882292f (patch) | |
tree | b35173f595442462a8927dcc6cba7190d9c2036f | |
parent | 4c2628b03ece105a6be77e128ef7f5c4a2344a65 (diff) | |
download | efl-afb49ec0962a48f0c500891853840c4b2882292f.tar.gz |
edje_cc: remove unnecessary internal function
Summary:
This internal function was made for checking non-existence of
Edje Part when handling insert_before/after attributes.
However, checking is implemented in different way and this function
is not used anywhere.
Reviewers: cedric
Subscribers: jpeg
Differential Revision: https://phab.enlightenment.org/D3790
Signed-off-by: Cedric Bail <cedric@osg.samsung.com>
-rw-r--r-- | src/bin/edje/edje_cc_out.c | 26 |
1 files changed, 0 insertions, 26 deletions
diff --git a/src/bin/edje/edje_cc_out.c b/src/bin/edje/edje_cc_out.c index 534c6953e5..3a063babbe 100644 --- a/src/bin/edje/edje_cc_out.c +++ b/src/bin/edje/edje_cc_out.c @@ -4123,32 +4123,6 @@ using_file(const char *filename, const char type) } } -Eina_Bool -needed_part_exists(Edje_Part_Collection *pc, const char *name) -{ - Eina_Bool found; - unsigned int i; - - found = EINA_FALSE; - - for (i = 0; i < pc->parts_count; i++) - { - if (!strcmp(pc->parts[i]->name, name)) - { - found = EINA_TRUE; - break; - } - } - - if (!found) - { - ERR("Unable to find part name \"%s\" needed in group \"%s\".", - name, pc->part); - exit(-1); - } - return found; -} - void color_tree_root_free(void) { |