elm_animation_view : Change callback registration order. 73/205273/1
authorJunsuChoi <jsuya.choi@samsung.com>
Thu, 2 May 2019 02:27:02 +0000 (11:27 +0900)
committerJunsuChoi <jsuya.choi@samsung.com>
Thu, 2 May 2019 02:27:02 +0000 (11:27 +0900)
Change-Id: I8c4d0e76162b6b62f8e6cf4d1a12664580320f8f

TC/elementary/animation_view/utc_elm_animation_view_auto_play_get_set.c

index acb03ead9cc9bb21a9cf2bc41375ab0aff625d09..bb6f1bbadac2f965a3260f8daebd186c8eb95005 100644 (file)
@@ -158,6 +158,9 @@ START_TEST(utc_elm_animation_view_auto_play_get_set_p_03)
         return;
      }
 
+   evas_object_smart_callback_add(anim_view, "play,start", _play_start_cb, NULL);
+   evas_object_smart_callback_add(anim_view, "play,stop", _play_stop_cb, NULL);
+
    ret_animation_view_file_set = elm_animation_view_file_set(anim_view, "./animation_view/running.json", NULL);
    if (ret_animation_view_file_set == EINA_FALSE)
      {
@@ -165,9 +168,6 @@ START_TEST(utc_elm_animation_view_auto_play_get_set_p_03)
         return;
      }
 
-   evas_object_smart_callback_add(anim_view, "play,start", _play_start_cb, NULL);
-   evas_object_smart_callback_add(anim_view, "play,stop", _play_stop_cb, NULL);
-
    evas_object_show(anim_view);
 
    elm_run();