E: Fix init of e_randr so that E does not fail if randr is not

available.

Thanks for the report cedric ;)



SVN revision: 61761
This commit is contained in:
Christopher Michael 2011-07-26 14:00:54 +00:00
parent 4f771c6826
commit 42d65203ca
1 changed files with 3 additions and 5 deletions

View File

@ -392,12 +392,10 @@ main(int argc, char **argv)
TS("E_Randr Init"); TS("E_Randr Init");
if (!e_randr_init()) if (!e_randr_init())
{ e_error_message_show(_("Enlightenment cannot initialize E_Randr!\n"));
e_error_message_show(_("Enlightenment cannot initialize E_Randr!\n")); else
_e_main_shutdown(-1); _e_main_shutdown_push(e_randr_shutdown);
}
TS("E_Randr Init Done"); TS("E_Randr Init Done");
_e_main_shutdown_push(e_randr_shutdown);
TS("E_Hints Init"); TS("E_Hints Init");
e_hints_init(); e_hints_init();