elm: Revised image/icon. 'disable' -> 'disabled'
authorseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Mar 2012 06:29:12 +0000 (06:29 +0000)
committerseoz <seoz@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 7 Mar 2012 06:29:12 +0000 (06:29 +0000)
Signed-off-by: Daniel Juyung Seo <juyung.seo@samsung.com>
git-svn-id: svn+ssh://svn.enlightenment.org/var/svn/e/trunk/elementary@68880 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/lib/elm_icon.c
src/lib/elm_icon.h
src/lib/elm_image.h

index 9dacf8b..50ade81 100644 (file)
@@ -987,13 +987,13 @@ elm_icon_object_get(Evas_Object *obj)
 }
 
 EAPI void
-elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disable)
+elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled)
 {
    ELM_CHECK_WIDTYPE(obj, widtype);
    Widget_Data *wd = elm_widget_data_get(obj);
 
    if (!wd) return;
-   _els_smart_icon_preload_set(wd->img, disable);
+   _els_smart_icon_preload_set(wd->img, !!disable);
 }
 
 EINA_DEPRECATED EAPI void
index 23e8bdc..3f4b078 100644 (file)
@@ -452,10 +452,10 @@ EAPI Elm_Icon_Lookup_Order elm_icon_order_lookup_get(const Evas_Object *obj);
  * Enable or disable preloading of the icon
  *
  * @param obj The icon object
- * @param disable If EINA_TRUE, preloading will be disabled
+ * @param disabled If EINA_TRUE, preloading will be disabled
  * @ingroup Icon
  */
-EAPI void                  elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disable);
+EAPI void                  elm_icon_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled);
 
 /**
  * Get if the icon supports animation or not.
index bc96178..465c0d3 100644 (file)
@@ -241,7 +241,7 @@ EAPI Eina_Bool        elm_image_fill_outside_get(const Evas_Object *obj);
  * Enable or disable preloading of the image
  *
  * @param obj The image object
- * @param disable If EINA_TRUE, preloading will be disabled
+ * @param disabled If EINA_TRUE, preloading will be disabled
  * @ingroup Icon
  */
 EAPI void                  elm_image_preload_disabled_set(Evas_Object *obj, Eina_Bool disabled);