e_test_event: remove unnecessary code 58/209058/1
authorJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 2 Jul 2019 04:55:05 +0000 (13:55 +0900)
committerJuyeon Lee <juyeonne.lee@samsung.com>
Tue, 2 Jul 2019 04:55:05 +0000 (13:55 +0900)
Change-Id: I5a251325aeb9094eafc970495abd20522f852d53

src/e_test_event.cpp

index 52120475e24ac1ae73da44a85de8703ce2d7a238..75aaf4ee7b985813f44cbdd752e23c916461e289 100644 (file)
@@ -940,7 +940,7 @@ Eina_Bool
 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)
@@ -951,15 +951,11 @@ etRunner::setSplashLaunch(const char *path, int type)
    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;
 }