From: Philippe Coval Date: Mon, 17 Feb 2014 15:50:27 +0000 (+0100) Subject: fix: use EINA_* booleans (fix FTBFS) X-Git-Tag: submit/tizen_common/20140523.100137~2 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=3ee9774a341cef65da501e748e77ac2ee5152ad2;p=apps%2Fcore%2Fpreloaded%2Fcalculator.git fix: use EINA_* booleans (fix FTBFS) Change-Id: I1c27b9f5f0d381a1af718920cfab2c8d5a0f8ff2 Signed-off-by: Philippe Coval --- diff --git a/packaging/org.tizen.calculator.spec b/packaging/org.tizen.calculator.spec index 657685b..a878b98 100644 --- a/packaging/org.tizen.calculator.spec +++ b/packaging/org.tizen.calculator.spec @@ -2,7 +2,7 @@ %define PREFIX /usr/apps/org.tizen.calculator Name: org.tizen.calculator Version: 0.1.31 -Release: 1 +Release: 0 Summary: SLP Calculator application URL: http://slp-source.sec.samsung.net Source: %{name}-%{version}.tar.gz diff --git a/src/calc-main.c b/src/calc-main.c index 6349da8..dd54fff 100644 --- a/src/calc-main.c +++ b/src/calc-main.c @@ -359,7 +359,7 @@ static bool app_create(void *data) /* main widnow */ ad->win = _create_win(PACKAGE); if (ad->win == NULL) { - return FALSE; + return EINA_FALSE; } evas_object_smart_callback_add(ad->win, "profile,changed", win_profile_changed_cb, ad); evas_object_show(ad->win); @@ -390,7 +390,7 @@ static bool app_create(void *data) ecore_idler_add((Ecore_Task_Cb) _set_input_entry_focus, ad); ecore_idler_add((Ecore_Task_Cb) _load_idle_view, ad); CALC_FUN_END(); - return TRUE; //EXIT_SUCCESS + return EINA_TRUE; //EXIT_SUCCESS } diff --git a/src/calc-view.c b/src/calc-view.c index dc5863e..34a77a2 100755 --- a/src/calc-view.c +++ b/src/calc-view.c @@ -410,7 +410,7 @@ void _calc_view_show_history_cb (void *data, Evas_Object * o, const char *emission, const char *source) { CALC_FUN_BEG(); - calculator_pannel_show = FALSE; + calculator_pannel_show = EINA_FALSE; struct appdata *ad = (struct appdata *)data; ad->panel_show = EINA_FALSE; evas_object_hide(ad->input_entry);/*hide the input entry,before showing history area*/ diff --git a/theme/calculator_theme.edc b/theme/calculator_theme.edc index 4b5d326..7da575e 100644 --- a/theme/calculator_theme.edc +++ b/theme/calculator_theme.edc @@ -90,7 +90,7 @@ collections { mouse_events: 1; scale: 1; entry_mode: EDITABLE; - select_mode: BLOCK_HANDLE; + select_mode: DEFAULT; //cursor_mode: BEFORE; multiline: 1; source: "elm/entry/Bselection/default"; // selection under