discomfitor pushed a commit to branch master.

http://git.enlightenment.org/core/efl.git/commit/?id=9c5d565d2b300ace5270b69c4f2424a8ff6e3cea

commit 9c5d565d2b300ace5270b69c4f2424a8ff6e3cea
Author: Mike Blumenkrantz <[email protected]>
Date:   Mon Jul 28 09:45:52 2014 -0400

    call ecore_init() for ecore_con_url_init()
    
    ecore functions are used by this api, so ecore must be initialized
---
 src/lib/ecore_con/ecore_con_url.c | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/src/lib/ecore_con/ecore_con_url.c 
b/src/lib/ecore_con/ecore_con_url.c
index baaef1c..b6ea436 100644
--- a/src/lib/ecore_con/ecore_con_url.c
+++ b/src/lib/ecore_con/ecore_con_url.c
@@ -353,6 +353,7 @@ EAPI int
 ecore_con_url_init(void)
 {
    if (++_init_count > 1) return _init_count;
+   if (!ecore_init()) return --_init_count;
    ECORE_CON_EVENT_URL_DATA = ecore_event_type_new();
    ECORE_CON_EVENT_URL_COMPLETE = ecore_event_type_new();
    ECORE_CON_EVENT_URL_PROGRESS = ecore_event_type_new();
@@ -377,6 +378,7 @@ ecore_con_url_shutdown(void)
    EINA_LIST_FREE(_fd_hd_list, fd_handler)
      ecore_main_fd_handler_del(fd_handler);
    _c_shutdown();
+   ecore_shutdown();
    return 0;
 }
 

-- 


Reply via email to