efreetd: init ecore_file

SVN revision: 78808
This commit is contained in:
Sebastian Dransfeld 2012-11-02 01:46:31 +00:00
parent 109efca5cb
commit ac97a87b85
1 changed files with 5 additions and 0 deletions

View File

@ -3,6 +3,7 @@
#endif
#include <Ecore.h>
#include <Ecore_File.h>
#include "efreetd.h"
#include "efreetd_dbus.h"
@ -21,6 +22,7 @@ main(void)
goto ecore_error;
}
if (!ecore_init()) goto ecore_error;
if (!ecore_file_init()) goto ecore_file_error;
if (!dbus_init()) goto dbus_error;
if (!cache_init()) goto cache_error;
@ -29,6 +31,7 @@ main(void)
cache_shutdown();
dbus_shutdown();
ecore_file_shutdown();
ecore_shutdown();
eina_log_domain_unregister(efreetd_log_dom);
efreetd_log_dom = -1;
@ -38,6 +41,8 @@ main(void)
cache_error:
dbus_shutdown();
dbus_error:
ecore_file_shutdown();
ecore_file_error:
ecore_shutdown();
ecore_error:
eina_log_domain_unregister(efreetd_log_dom);