efl: remove bool and string pointer mixup

This commit is contained in:
Marcel Hollerbach 2020-09-01 13:02:51 +02:00
parent 8198345e1f
commit 5f73d13047
2 changed files with 2 additions and 2 deletions

View File

@ -61,7 +61,7 @@ const char *
_efl_ui_alert_popup_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Alert_Popup_Data *pd, const char *part)
{
if (!_elm_layout_part_aliasing_eval(obj, &part, EINA_TRUE))
return EINA_FALSE;
return NULL;
if (eina_streq(part, "efl.text.title"))
{
if (pd->title_text)

View File

@ -3426,7 +3426,7 @@ static const char *
_efl_ui_textbox_text_get(Eo *obj EINA_UNUSED, Efl_Ui_Textbox_Data *pd,
const char *part)
{
if (!part) return EINA_FALSE;
if (!part) return NULL;
if (!strcmp("efl.text_guide", part))
{