tasn pushed a commit to branch master.

commit c5c15a8831879cf579b4329a946e1dfb872aac51
Author: Tom Hacohen <[email protected]>
Date:   Mon Apr 29 15:36:00 2013 +0100

    Run elm_shutdown in the ELM_MAIN macro.
---
 src/lib/elm_general.h | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/src/lib/elm_general.h b/src/lib/elm_general.h
index 9cfee65..90b790b 100644
--- a/src/lib/elm_general.h
+++ b/src/lib/elm_general.h
@@ -120,7 +120,7 @@ typedef Eina_Bool             (*Elm_Event_Cb)(void *data, 
Evas_Object *obj, Evas
 extern EAPI double _elm_startup_time;
 
 #ifndef ELM_LIB_QUICKLAUNCH
-#define ELM_MAIN() int main(int argc, char **argv) { _elm_startup_time = 
ecore_time_unix_get(); elm_init(argc, argv); return elm_main(argc, argv); } 
/**< macro to be used after the elm_main() function */
+#define ELM_MAIN() int main(int argc, char **argv) { int ret; 
_elm_startup_time = ecore_time_unix_get(); elm_init(argc, argv); ret = 
elm_main(argc, argv); return ret; } /**< macro to be used after the elm_main() 
function */
 #else
 #define ELM_MAIN() int main(int argc, char **argv) { _elm_startup_time = 
ecore_time_unix_get(); return elm_quicklaunch_fallback(argc, argv); } /**< 
macro to be used after the elm_main() function */
 #endif

-- 

------------------------------------------------------------------------------
Try New Relic Now & We'll Send You this Cool Shirt
New Relic is the only SaaS-based application performance monitoring service 
that delivers powerful full stack analytics. Optimize and monitor your
browser, app, & servers with just a few lines of code. Try New Relic
and get this awesome Nerd Life shirt! http://p.sf.net/sfu/newrelic_d2d_apr

Reply via email to