fix: use EINA_* booleans (fix FTBFS) 53/20953/1
authorPhilippe Coval <philippe.coval@open.eurogiciel.org>
Mon, 17 Feb 2014 15:50:27 +0000 (16:50 +0100)
committerPhilippe Coval <philippe.coval@open.eurogiciel.org>
Wed, 14 May 2014 07:42:20 +0000 (09:42 +0200)
Change-Id: I1c27b9f5f0d381a1af718920cfab2c8d5a0f8ff2
Signed-off-by: Philippe Coval <philippe.coval@open.eurogiciel.org>
packaging/org.tizen.calculator.spec
src/calc-main.c
src/calc-view.c
theme/calculator_theme.edc

index 657685b..a878b98 100644 (file)
@@ -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
index 6349da8..dd54fff 100644 (file)
@@ -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
 
 }
 
index dc5863e..34a77a2 100755 (executable)
@@ -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*/
index 4b5d326..7da575e 100644 (file)
@@ -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