rimmed pushed a commit to branch master.

http://git.enlightenment.org/tools/eflete.git/commit/?id=6e3d77ba2f7a19203309f16a278435dcdb4b22d3

commit 6e3d77ba2f7a19203309f16a278435dcdb4b22d3
Author: Vyacheslav Reutskiy <[email protected]>
Date:   Thu May 26 16:00:10 2016 +0300

    configure: fix the define HAVE_TIZEN
    
    Change-Id: I8b363956d10fc1a9a4be837a22de3b9071c8507b
---
 configure.ac      | 2 +-
 src/bin/ui/tabs.c | 8 ++++----
 2 files changed, 5 insertions(+), 5 deletions(-)

diff --git a/configure.ac b/configure.ac
index 7c771c0..3fb4347 100644
--- a/configure.ac
+++ b/configure.ac
@@ -116,7 +116,7 @@ AC_CHECK_PROGS([DOXYGEN], [doxygen])
 dnl custom flags
 
 dnl --enable-tizen
-TIZEN_DEF="#undef"
+HAVE_TIZEN_DEF="#undef"
 want_tizen="no"
 AC_ARG_ENABLE([tizen],
    [AC_HELP_STRING([--enable-tizen], [enable GUI for Tizen SDK. 
@<:@default=disabled@:>@])],
diff --git a/src/bin/ui/tabs.c b/src/bin/ui/tabs.c
index 3dd0362..6cc24ef 100644
--- a/src/bin/ui/tabs.c
+++ b/src/bin/ui/tabs.c
@@ -1105,10 +1105,10 @@ tabs_home_tab_add(Tabs_Menu view)
    item = mem_calloc(1, sizeof(Tabs_Item));
    item->group = NULL;
    item->content = tabs.home.content;
-#if WANT_TIZEN
+#ifndef HAVE_TIZEN
    item->toolbar_item = elm_toolbar_item_append(tabs.toolbar, "go-home", 
_("Home"),
                                                 _content_set, (void *)item);
-#endif /* WANT_TIZEN */
+#endif /* HAVE_TIZEN */
 
    elm_toolbar_item_selected_set(item->toolbar_item, true);
    elm_object_item_signal_callback_add(item->toolbar_item, "tab,close", 
"eflete", _tab_close, (void *)item);
@@ -1136,12 +1136,12 @@ subtab_select:
       default:
          break;
      }
-#if !WANT_TIZEN
+#ifdef HAVE_TIZEN
    Evas_Object *content, *button;
    content = elm_layout_content_get(tabs.home.content, NULL);
    button = elm_object_part_content_get(content, "elm.swallow.btn_create");
    evas_object_smart_callback_call(button, "clicked", NULL);
-#endif /* WANT_TIZEN */
+#endif /* HAVE_TIZEN */
 }
 
 void

-- 


Reply via email to