efreetd: init ecore_file
authorSebastian Dransfeld <sd@tango.flipp.net>
Fri, 2 Nov 2012 01:46:31 +0000 (01:46 +0000)
committerSebastian Dransfeld <sd@tango.flipp.net>
Fri, 2 Nov 2012 01:46:31 +0000 (01:46 +0000)
SVN revision: 78808

legacy/efreet/src/bin/efreetd.c

index a905664f3dba11738d68853506b18072deabcba7..ed4ffa12b6e65e89e1b112196b9231e7891374a5 100644 (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);