etRunner::setSplashLaunch(const char *path, int type)
{
const char *effect_type = "launch";
- struct wl_array options1, options2;
+ struct wl_array option;
// init tzlaunch_splash
if (tzlaunch_splash)
if (tzlaunch_effect) tzlaunch_splash = tizen_launch_effect_create_splash_img(tzlaunch_effect);
EINA_SAFETY_ON_NULL_RETURN_VAL(tzlaunch_splash, EINA_FALSE);
- wl_array_init(&options1);
- tizen_launch_effect_type_set(tzlaunch_effect, "launch", 555, &options1);
- wl_array_release(&options1);
-
- wl_array_init(&options2);
+ wl_array_init(&option);
tizen_launch_splash_launch(tzlaunch_splash, path, type,
24, 0, 0,
- effect_type, NULL, &options2);
- wl_array_release(&options2);
+ effect_type, NULL, &option);
+ wl_array_release(&option);
return EINA_TRUE;
}