elementary/icon - replace the deprecated API.
authorChunEon Park <hermet@hermet.pe.kr>
Wed, 7 Mar 2012 15:22:37 +0000 (15:22 +0000)
committerChunEon Park <hermet@hermet.pe.kr>
Wed, 7 Mar 2012 15:22:37 +0000 (15:22 +0000)
SVN revision: 68972

src/bin/test_icon.c

index 0f25d2a..778c43c 100644 (file)
@@ -44,7 +44,7 @@ bt_clicked(void *data __UNUSED__, Evas_Object *obj __UNUSED__, void *event_info
    evas_object_size_hint_align_set(ic, EVAS_HINT_FILL, EVAS_HINT_FILL);
    elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE);
    elm_icon_aspect_fixed_set(ic, EINA_FALSE);
-   elm_icon_preload_set(ic, EINA_TRUE);
+   elm_icon_preload_disabled_set(ic, EINA_TRUE);
    elm_icon_prescale_set(ic, EINA_TRUE);
    evas_object_show(ic);