From 3102ac6aa4d6c99795fde06d120f5e5d4c915eb5 Mon Sep 17 00:00:00 2001 From: Daniel Juyung Seo Date: Thu, 7 Jun 2012 11:40:54 +0000 Subject: [PATCH] elm: Applied elm_icon_file_set -> elm_image_file_set api change. SVN revision: 71804 --- src/lib/elm_diskselector.h | 2 +- src/lib/elm_icon.h | 14 +++++++------- src/lib/elm_list.h | 2 +- src/lib/elm_segment_control.h | 2 +- 4 files changed, 10 insertions(+), 10 deletions(-) diff --git a/src/lib/elm_diskselector.h b/src/lib/elm_diskselector.h index a072692..a4e55b0 100644 --- a/src/lib/elm_diskselector.h +++ b/src/lib/elm_diskselector.h @@ -290,7 +290,7 @@ EAPI const Eina_List *elm_diskselector_items_get(const Evas_Object *obj); * @code * disk = elm_diskselector_add(win); * ic = elm_icon_add(win); - * elm_icon_file_set(ic, "path/to/image", NULL); + * elm_image_file_set(ic, "path/to/image", NULL); * elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE); * elm_diskselector_item_append(disk, "label", ic, NULL, NULL); * @endcode diff --git a/src/lib/elm_icon.h b/src/lib/elm_icon.h index ad92a2f..ccdd468 100644 --- a/src/lib/elm_icon.h +++ b/src/lib/elm_icon.h @@ -132,7 +132,7 @@ typedef enum * @param parent The parent object * @return The new object or NULL if it cannot be created * - * @see elm_icon_file_set() + * @see elm_image_file_set() * * @ingroup Icon */ @@ -190,7 +190,7 @@ EINA_DEPRECATED EAPI Eina_Bool elm_icon_memfile_set(Evas_Object *obj * @param file The path to file that will be used as the icon image * @param group The group that the icon belongs to, in edje file * - * @see elm_icon_file_set() + * @see elm_image_file_set() * * @deprecated Use elm_image_file_get() instead. * @@ -205,13 +205,13 @@ EINA_DEPRECATED EAPI void elm_icon_file_get(const Evas_Object * * @param file The path to file that will be used as icon image * @param group The group that the icon belongs to an edje file * - * This functions like elm_icon_file_set() but requires the Ethumb library + * This functions like elm_image_file_set() but requires the Ethumb library * support to be enabled successfully with elm_need_ethumb(). When set * the file indicated has a thumbnail generated and cached on disk for * future use or will directly use an existing cached thumbnail if it * is valid. * - * @see elm_icon_file_set() + * @see elm_image_file_set() * * @ingroup Icon */ @@ -235,10 +235,10 @@ EAPI void elm_icon_thumb_set(Evas_Object *obj, const char *file * absolute path of an image file, this image will be used. * * @note The icon image set by this function can be changed by - * elm_icon_file_set(). + * elm_image_file_set(). * * @see elm_icon_standard_get() - * @see elm_icon_file_set() + * @see elm_image_file_set() * * @ingroup Icon */ @@ -250,7 +250,7 @@ EAPI Eina_Bool elm_icon_standard_set(Evas_Object *obj, const char *n * @param obj The icon object * @return The icon name * - * If the icon image was set using elm_icon_file_set() instead of + * If the icon image was set using elm_image_file_set() instead of * elm_icon_standard_set(), then this function will return @c NULL. * * @see elm_icon_standard_set() diff --git a/src/lib/elm_list.h b/src/lib/elm_list.h index 48582d1..cbb5e8a 100644 --- a/src/lib/elm_list.h +++ b/src/lib/elm_list.h @@ -355,7 +355,7 @@ EAPI void elm_list_scroller_policy_get(const Evas_Object * @code * li = elm_list_add(win); * ic = elm_icon_add(win); - * elm_icon_file_set(ic, "path/to/image", NULL); + * elm_image_file_set(ic, "path/to/image", NULL); * elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE); * elm_list_item_append(li, "label", ic, NULL, NULL, NULL); * elm_list_go(li); diff --git a/src/lib/elm_segment_control.h b/src/lib/elm_segment_control.h index c242166..5007ec3 100644 --- a/src/lib/elm_segment_control.h +++ b/src/lib/elm_segment_control.h @@ -102,7 +102,7 @@ EAPI Evas_Object *elm_segment_control_add(Evas_Object *parent); * @code * sc = elm_segment_control_add(win); * ic = elm_icon_add(win); - * elm_icon_file_set(ic, "path/to/image", NULL); + * elm_image_file_set(ic, "path/to/image", NULL); * elm_icon_resizable_set(ic, EINA_TRUE, EINA_TRUE); * elm_segment_control_item_add(sc, ic, "label"); * evas_object_show(sc); -- 2.7.4