cedric pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=03df8483f69d4acae79eb75d1bf0d36a1bdea8d8

commit 03df8483f69d4acae79eb75d1bf0d36a1bdea8d8
Author: Cedric Bail <[email protected]>
Date:   Fri Oct 27 15:43:23 2017 -0700

    elementary: update efl_quicklaunch_fallback to use the new EFL exit API.
---
 src/lib/elementary/elm_general.h | 14 ++++++--------
 src/lib/elementary/elm_main.c    |  4 ++--
 2 files changed, 8 insertions(+), 10 deletions(-)

diff --git a/src/lib/elementary/elm_general.h b/src/lib/elementary/elm_general.h
index 9317dbe0dc..bf7762007e 100644
--- a/src/lib/elementary/elm_general.h
+++ b/src/lib/elementary/elm_general.h
@@ -158,6 +158,12 @@ extern EAPI double _elm_startup_time;
  */
 EAPI void efl_exit(int exit_code);
 
+/**
+ * Exposed symbol used only by macros and should not be used by apps
+ * @since 1.18 (as beta)
+ */
+EAPI Eina_Value *efl_quicklaunch_fallback(int argc, char **argv);
+
 #endif /* EFL_BETA_API_SUPPORT */
 
 
@@ -311,14 +317,6 @@ EAPI void      elm_quicklaunch_cleanup(void);
  */
 EAPI int       elm_quicklaunch_fallback(int argc, char **argv);
 
-#ifdef EFL_BETA_API_SUPPORT
-/**
- * Exposed symbol used only by macros and should not be used by apps
- * @since 1.18 (as beta)
- */
-EAPI int       efl_quicklaunch_fallback(int argc, char **argv);
-#endif
-
 /**
  * Exposed symbol used only by macros and should not be used by apps
  */
diff --git a/src/lib/elementary/elm_main.c b/src/lib/elementary/elm_main.c
index 20f596a20b..c0d431e0e5 100644
--- a/src/lib/elementary/elm_main.c
+++ b/src/lib/elementary/elm_main.c
@@ -1285,7 +1285,7 @@ elm_quicklaunch_fallback(int    argc,
    return ret;
 }
 
-EAPI int
+EAPI Eina_Value *
 efl_quicklaunch_fallback(int    argc,
                          char **argv)
 {
@@ -1299,7 +1299,7 @@ efl_quicklaunch_fallback(int    argc,
         return efl_loop_begin(ecore_main_loop_get());
      }
 
-   return 255;
+   return eina_value_uchar_new(255);
 }
 
 EAPI char *

-- 


Reply via email to