[elm] Dangling elm_icon_resizable_set() calls, be gone.
authorGustavo Lima Chaves <glima@profusion.mobi>
Wed, 6 Jun 2012 18:05:22 +0000 (18:05 +0000)
committerGustavo Lima Chaves <glima@profusion.mobi>
Wed, 6 Jun 2012 18:05:22 +0000 (18:05 +0000)
SVN revision: 71763

doc/widgets/widget_preview_ctxpopup.c
doc/widgets/widget_preview_icon.c
doc/widgets/widget_preview_mapbuf.c
src/examples/ctxpopup_example_01.c
src/examples/icon_example_01.c
src/examples/list_example_03.c
src/examples/mapbuf_example.c
src/examples/slider_example.c
src/examples/win_example.c

index e8492f8..62d480a 100644 (file)
@@ -8,17 +8,17 @@ Evas_Object *ctxpopup = elm_ctxpopup_add(o);
 
 Evas_Object *ic = elm_icon_add(ctxpopup);
 elm_icon_standard_set(ic, "home");
-elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
 elm_ctxpopup_item_append(ctxpopup, "Go to home folder", ic, NULL, NULL);
 
 ic = elm_icon_add(ctxpopup);
 elm_icon_standard_set(ic, "delete");
-elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
 elm_ctxpopup_item_append(ctxpopup, "Delete file", ic, NULL, NULL);
 
 ic = elm_icon_add(ctxpopup);
 elm_icon_standard_set(ic, "folder");
-elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
 Elm_Object_Item *it = elm_ctxpopup_item_append(ctxpopup, "Navigate to folder", ic, NULL, NULL);
 elm_object_item_disabled_set(it, EINA_TRUE);
 
index 7a2a1e1..f22f86e 100644 (file)
@@ -5,7 +5,7 @@ evas_object_size_hint_weight_set(o, EVAS_HINT_EXPAND, EVAS_HINT_EXPAND);
 elm_win_resize_object_add(win, o);
 
 elm_icon_standard_set(o, "home");
-elm_icon_resizable_set(o, EINA_FALSE, EINA_FALSE);
+elm_image_resizable_set(o, EINA_FALSE, EINA_FALSE);
 evas_object_show(o);
 
 #include "widget_preview_tmpl_foot.c"
index bc547f0..6d507fa 100644 (file)
@@ -17,7 +17,7 @@ for (i = 0; i < 8; i++)
        {
           Evas_Object *ic = elm_icon_add(win);
           elm_icon_standard_set(ic, "home");
-          elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+          elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
           evas_object_show(ic);
           elm_table_pack(tb, ic, i, j, 1, 1);
        }
index 763d71d..2e0b114 100644 (file)
@@ -13,7 +13,7 @@ Elm_Object_Item *item_new(Evas_Object *ctxpopup, const char * label, const char
 {
    Evas_Object *ic = elm_icon_add(ctxpopup);
    elm_icon_standard_set(ic, icon);
-   elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+   elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
    return elm_ctxpopup_item_append(ctxpopup, label, ic, _ctxpopup_item_cb, NULL);
 }
 
index daad19f..cb730c3 100644 (file)
@@ -32,7 +32,7 @@ elm_main(int argc, char **argv)
    printf("path = %s, group = %s, name = %s\n", path, group, name);
 
    elm_icon_no_scale_set(icon, EINA_TRUE);
-   elm_icon_resizable_set(icon, EINA_FALSE, EINA_TRUE);
+   elm_image_resizable_set(icon, EINA_FALSE, EINA_TRUE);
    elm_icon_smooth_set(icon, EINA_FALSE);
    elm_icon_fill_outside_set(icon, EINA_TRUE);
 
index cc1549a..3b79bb9 100644 (file)
@@ -57,7 +57,7 @@ _add_ic_cb(void *data, Evas_Object *obj, void *event_info)
    snprintf(label, sizeof(label), "Item %i", counter++);
    ic = elm_icon_add(li);
    elm_icon_standard_set(ic, "home");
-   elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+   elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
 
    list_it = elm_list_item_append(li, label, ic,  NULL, NULL, NULL);
    if (!list_it)
index 03603be..de475ef 100644 (file)
@@ -76,7 +76,7 @@ elm_main(int argc, char **argv)
           {
              ic = elm_icon_add(win);
              elm_icon_standard_set(ic, "home");
-             elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+             elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
              evas_object_show(ic);
              elm_table_pack(tb, ic, i, j, 1, 1);
           }
index 14d70c0..2524b00 100644 (file)
@@ -79,12 +79,12 @@ elm_main(int argc, char **argv)
 
    ic = elm_icon_add(win);
    elm_icon_standard_set(ic, "home");
-   elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+   elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
    elm_object_part_content_set(sl, "icon", ic);
 
    ic = elm_icon_add(win);
    elm_icon_standard_set(ic, "folder");
-   elm_icon_resizable_set(ic, EINA_FALSE, EINA_FALSE);
+   elm_image_resizable_set(ic, EINA_FALSE, EINA_FALSE);
    elm_object_part_content_set(sl, "end", ic);
 
    evas_object_size_hint_align_set(sl, EVAS_HINT_FILL, 0.5);
index 87e985d..b5435d9 100644 (file)
@@ -213,7 +213,7 @@ elm_main(int argc, char *argv[])
    o = elm_icon_add(win2);
    sprintf(buf, "%s/images/logo.png", elm_app_data_dir_get());
    elm_icon_file_set(o, buf, NULL);
-   elm_icon_resizable_set(o, 0, 0);
+   elm_image_resizable_set(o, 0, 0);
    elm_icon_no_scale_set(o, EINA_TRUE);
    elm_win_resize_object_add(win2, o);
    evas_object_show(o);