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:
parent
507e6a25fb
commit
d4810be25f
|
@ -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 *
|
EINTERN E_Randr_Serialized_Setup *
|
||||||
e_randr_serialized_setup_new(void)
|
e_randr_serialized_setup_new(void)
|
||||||
{
|
{
|
||||||
return _new_serialized_setup();
|
return E_NEW(E_Randr_Serialized_Setup, 1);
|
||||||
}
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
e_randr_store_configuration(E_Randr_Configuration_Store_Modifier modifier)
|
e_randr_store_configuration(E_Randr_Configuration_Store_Modifier modifier)
|
||||||
{
|
{
|
||||||
if (!e_config->randr_serialized_setup)
|
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",
|
fprintf(stderr, "E_RANDR: Configuration shall be stored using the following modifier:%s\n%s%s%s%s",
|
||||||
((!modifier) ? "NONE" : ""),
|
((!modifier) ? "NONE" : ""),
|
||||||
|
|
Loading…
Reference in New Issue