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