Splash doesn't need eet or ecore-file, so remove includes.

Fix some formatting.



SVN revision: 48904
This commit is contained in:
Christopher Michael 2010-05-16 01:59:49 +00:00
parent b731a8b693
commit 76076d4399
1 changed files with 8 additions and 16 deletions

View File

@ -10,9 +10,7 @@
#include <Ecore_X.h>
#include <Ecore_Evas.h>
#include <Ecore_Ipc.h>
#include <Ecore_File.h>
#include <Evas.h>
#include <Eet.h>
#include <Edje.h>
#define E_TYPEDEFS 1
@ -85,7 +83,6 @@ main(int argc, char **argv)
ecore_init();
ecore_x_init(NULL);
ecore_app_args_set(argc, (const char **)argv);
eet_init();
evas_init();
ecore_evas_init();
edje_init();
@ -94,7 +91,6 @@ main(int argc, char **argv)
scale = 1.0;
if (s) scale = atof(s);
edje_scale_set(scale);
ecore_file_init();
ecore_ipc_init();
if (_e_ipc_init())
@ -115,11 +111,9 @@ main(int argc, char **argv)
}
ecore_ipc_shutdown();
ecore_file_shutdown();
ecore_evas_shutdown();
edje_shutdown();
evas_shutdown();
eet_shutdown();
ecore_x_shutdown();
ecore_shutdown();
@ -231,10 +225,7 @@ e_init_init(void)
num = 0;
roots = ecore_x_window_root_list(&num);
if ((!roots) || (num <= 0))
{
return 0;
}
if ((!roots) || (num <= 0)) return 0;
root = roots[0];
_e_init_root_win = root;
@ -270,6 +261,7 @@ e_init_init(void)
if (screens)
{
E_Screen *scr;
EINA_LIST_FOREACH(screens, l, scr)
{
o = edje_object_add(_e_init_evas);