forked from enlightenment/enlightenment
Splash doesn't need eet or ecore-file, so remove includes.
Fix some formatting. SVN revision: 48904
This commit is contained in:
parent
b731a8b693
commit
76076d4399
|
@ -10,9 +10,7 @@
|
||||||
#include <Ecore_X.h>
|
#include <Ecore_X.h>
|
||||||
#include <Ecore_Evas.h>
|
#include <Ecore_Evas.h>
|
||||||
#include <Ecore_Ipc.h>
|
#include <Ecore_Ipc.h>
|
||||||
#include <Ecore_File.h>
|
|
||||||
#include <Evas.h>
|
#include <Evas.h>
|
||||||
#include <Eet.h>
|
|
||||||
#include <Edje.h>
|
#include <Edje.h>
|
||||||
|
|
||||||
#define E_TYPEDEFS 1
|
#define E_TYPEDEFS 1
|
||||||
|
@ -85,7 +83,6 @@ main(int argc, char **argv)
|
||||||
ecore_init();
|
ecore_init();
|
||||||
ecore_x_init(NULL);
|
ecore_x_init(NULL);
|
||||||
ecore_app_args_set(argc, (const char **)argv);
|
ecore_app_args_set(argc, (const char **)argv);
|
||||||
eet_init();
|
|
||||||
evas_init();
|
evas_init();
|
||||||
ecore_evas_init();
|
ecore_evas_init();
|
||||||
edje_init();
|
edje_init();
|
||||||
|
@ -94,7 +91,6 @@ main(int argc, char **argv)
|
||||||
scale = 1.0;
|
scale = 1.0;
|
||||||
if (s) scale = atof(s);
|
if (s) scale = atof(s);
|
||||||
edje_scale_set(scale);
|
edje_scale_set(scale);
|
||||||
ecore_file_init();
|
|
||||||
ecore_ipc_init();
|
ecore_ipc_init();
|
||||||
|
|
||||||
if (_e_ipc_init())
|
if (_e_ipc_init())
|
||||||
|
@ -115,11 +111,9 @@ main(int argc, char **argv)
|
||||||
}
|
}
|
||||||
|
|
||||||
ecore_ipc_shutdown();
|
ecore_ipc_shutdown();
|
||||||
ecore_file_shutdown();
|
|
||||||
ecore_evas_shutdown();
|
ecore_evas_shutdown();
|
||||||
edje_shutdown();
|
edje_shutdown();
|
||||||
evas_shutdown();
|
evas_shutdown();
|
||||||
eet_shutdown();
|
|
||||||
ecore_x_shutdown();
|
ecore_x_shutdown();
|
||||||
ecore_shutdown();
|
ecore_shutdown();
|
||||||
|
|
||||||
|
@ -231,10 +225,7 @@ e_init_init(void)
|
||||||
|
|
||||||
num = 0;
|
num = 0;
|
||||||
roots = ecore_x_window_root_list(&num);
|
roots = ecore_x_window_root_list(&num);
|
||||||
if ((!roots) || (num <= 0))
|
if ((!roots) || (num <= 0)) return 0;
|
||||||
{
|
|
||||||
return 0;
|
|
||||||
}
|
|
||||||
root = roots[0];
|
root = roots[0];
|
||||||
_e_init_root_win = root;
|
_e_init_root_win = root;
|
||||||
|
|
||||||
|
@ -270,6 +261,7 @@ e_init_init(void)
|
||||||
if (screens)
|
if (screens)
|
||||||
{
|
{
|
||||||
E_Screen *scr;
|
E_Screen *scr;
|
||||||
|
|
||||||
EINA_LIST_FOREACH(screens, l, scr)
|
EINA_LIST_FOREACH(screens, l, scr)
|
||||||
{
|
{
|
||||||
o = edje_object_add(_e_init_evas);
|
o = edje_object_add(_e_init_evas);
|
||||||
|
|
Loading…
Reference in New Issue