No need for 2 functions which do the same thing (return a new

Serialized Setup).

Signed-off-by: Christopher Michael <cp.michael@samsung.com>

SVN revision: 81145
This commit is contained in:
Christopher Michael 2012-12-17 14:21:35 +00:00 committed by Christopher Michael
parent 507e6a25fb
commit d4810be25f
1 changed files with 2 additions and 8 deletions

View File

@ -12,23 +12,17 @@
**********************************************************************
*/
E_Randr_Serialized_Setup *
_new_serialized_setup(void)
{
return E_NEW(E_Randr_Serialized_Setup, 1);
}
EINTERN E_Randr_Serialized_Setup *
e_randr_serialized_setup_new(void)
{
return _new_serialized_setup();
return E_NEW(E_Randr_Serialized_Setup, 1);
}
EAPI void
e_randr_store_configuration(E_Randr_Configuration_Store_Modifier modifier)
{
if (!e_config->randr_serialized_setup)
e_config->randr_serialized_setup = _new_serialized_setup();
e_config->randr_serialized_setup = e_randr_serialized_setup_new();
fprintf(stderr, "E_RANDR: Configuration shall be stored using the following modifier:%s\n%s%s%s%s",
((!modifier) ? "NONE" : ""),