bu5hm4n pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=5f73d130473e285d9d2a4ae4d61e6ba7ae4c41a2

commit 5f73d130473e285d9d2a4ae4d61e6ba7ae4c41a2
Author: Marcel Hollerbach <m...@marcel-hollerbach.de>
Date:   Tue Sep 1 13:02:51 2020 +0200

    efl: remove bool and string pointer mixup
---
 src/lib/elementary/efl_ui_alert_popup.c | 2 +-
 src/lib/elementary/efl_ui_textbox.c     | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/src/lib/elementary/efl_ui_alert_popup.c 
b/src/lib/elementary/efl_ui_alert_popup.c
index 65dcb4914c..bb3d26b8de 100644
--- a/src/lib/elementary/efl_ui_alert_popup.c
+++ b/src/lib/elementary/efl_ui_alert_popup.c
@@ -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)
diff --git a/src/lib/elementary/efl_ui_textbox.c 
b/src/lib/elementary/efl_ui_textbox.c
index 46451cdcd1..165ef1f0e4 100644
--- a/src/lib/elementary/efl_ui_textbox.c
+++ b/src/lib/elementary/efl_ui_textbox.c
@@ -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))
      {

-- 


Reply via email to