add anchor,clicked to test to prove continued brokenness of anchors
[framework/uifw/elementary.git] / src / bin / test_icon_animated.c
index d970f90..8d00700 100644 (file)
@@ -1,7 +1,7 @@
-#include <Elementary.h>
 #ifdef HAVE_CONFIG_H
 # include "elementary_config.h"
 #endif
+#include <Elementary.h>
 #ifndef ELM_LIB_QUICKLAUNCH
 static void
 icon_clicked(void *data , Evas_Object *obj __UNUSED__, void *event_info __UNUSED__)
@@ -24,7 +24,7 @@ test_icon_animated(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *eve
    win = elm_win_add(NULL, "icon-animated-gif", ELM_WIN_BASIC);
    elm_win_title_set(win, "Icon Animated Gif");
    elm_win_autodel_set(win, EINA_TRUE);
-   elm_win_alpha_set(win, 1);
+   elm_win_alpha_set(win, EINA_TRUE);
 
    ic = elm_icon_add(win);
    snprintf(buf, sizeof(buf), "%s/images/animated_logo.gif", elm_app_data_dir_get());
@@ -35,7 +35,7 @@ test_icon_animated(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *eve
         elm_icon_animated_set(ic, EINA_TRUE);
         elm_icon_animated_play_set(ic, EINA_TRUE);
      }
-   elm_icon_scale_set(ic, 0, 0);
+   elm_icon_resizable_set(ic, 0, 0);
    elm_icon_no_scale_set(ic, 1);
    evas_object_size_hint_weight_set(ic, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
    evas_object_size_hint_fill_set(ic, 0.5, 0.5);