forked from enlightenment/enlightenment
fix e_comp_shutdown return type and make e_comp_{init,shutdown} EINTERN so they can't be disabled
SVN revision: 82518
This commit is contained in:
parent
75694818a7
commit
9c92b1b73c
|
@ -4046,7 +4046,7 @@ _e_comp_sys_resume(void)
|
|||
|
||||
//////////////////////////////////////////////////////////////////////////
|
||||
|
||||
Eina_Bool
|
||||
EINTERN Eina_Bool
|
||||
e_comp_init(void)
|
||||
{
|
||||
Eina_List *l;
|
||||
|
@ -4151,9 +4151,10 @@ e_comp_init(void)
|
|||
return EINA_TRUE;
|
||||
}
|
||||
|
||||
void
|
||||
EINTERN int
|
||||
e_comp_shutdown(void)
|
||||
{
|
||||
if (!compositors) return 1;
|
||||
E_FREE_LIST(compositors, _e_comp_del);
|
||||
E_FREE_LIST(handlers, ecore_event_handler_del);
|
||||
|
||||
|
@ -4176,9 +4177,10 @@ e_comp_shutdown(void)
|
|||
borders = NULL;
|
||||
|
||||
e_sys_handlers_set(NULL, NULL, NULL, NULL, NULL, NULL);
|
||||
return 1;
|
||||
}
|
||||
|
||||
void
|
||||
EAPI void
|
||||
e_comp_shadow_set(void)
|
||||
{
|
||||
Eina_List *l;
|
||||
|
|
|
@ -10,8 +10,8 @@ typedef struct _E_Comp_Zone E_Comp_Zone;
|
|||
#ifndef E_MOD_COMP_H
|
||||
#define E_MOD_COMP_H
|
||||
|
||||
Eina_Bool e_comp_init(void);
|
||||
void e_comp_shutdown(void);
|
||||
EINTERN Eina_Bool e_comp_init(void);
|
||||
EINTERN int e_comp_shutdown(void);
|
||||
|
||||
EAPI void e_comp_shadow_set(void);
|
||||
|
||||
|
|
Loading…
Reference in New Issue