efl_ui_widget: resolve warning about multiple defines

Summary:
the difference here is, that the macro before did not print ERR's the
one now does. Hence this commit remove two error messages.

Depends on D8394

Reviewers: zmike, segfaultxavi, cedric, devilhorns

Reviewed By: segfaultxavi

Subscribers: #reviewers, #committers

Tags: #efl

Differential Revision: https://phab.enlightenment.org/D8395
This commit is contained in:
Marcel Hollerbach 2019-03-19 16:39:59 +01:00 committed by Xavi Artigas
parent d10ee74b97
commit 9012742f9a
1 changed files with 0 additions and 10 deletions

View File

@ -481,11 +481,6 @@ _logical_parent_eval(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd, Eina_Bool s
if (efl_isa(pd->logical.parent, EFL_UI_WIDGET_CLASS))
{
ELM_WIDGET_DATA_GET(pd->logical.parent, logical_wd);
if (!logical_wd)
{
ERR("Widget parent has the wrong type!");
return NULL;
}
logical_wd->logical.child_count --;
}
old = pd->logical.parent;
@ -497,11 +492,6 @@ _logical_parent_eval(Eo *obj EINA_UNUSED, Elm_Widget_Smart_Data *pd, Eina_Bool s
if (efl_isa(parent, EFL_UI_WIDGET_CLASS))
{
ELM_WIDGET_DATA_GET(parent, parent_wd);
if (!parent_wd)
{
ERR("Widget parent has the wrong type!");
return NULL;
}
parent_wd->logical.child_count ++;
}
pd->logical.parent = parent;