On 03/17/2011 08:14 PM, Jihoon Kim wrote:
> Hello,
>
> There is typo error in Elementary API.
> elm_cache_flush_enmabled_get should be renamed to
> elm_cache_flush_enabled_get.
> Would you please review it?
>
In svn. Thanks :)

dh

>
>
> elm.patch.txt
>
>
> Index: src/lib/Elementary.h.in
> ===================================================================
> --- src/lib/Elementary.h.in   (revision 57833)
> +++ src/lib/Elementary.h.in   (working copy)
> @@ -254,7 +254,7 @@ extern "C" {
>      EAPI int          elm_cache_flush_interval_get(void);
>      EAPI void         elm_cache_flush_interval_set(int size);
>      EAPI void         elm_cache_flush_interval_all_set(int size);
> -   EAPI Eina_Bool    elm_cache_flush_enmabled_get(void);
> +   EAPI Eina_Bool    elm_cache_flush_enabled_get(void);
>      EAPI void         elm_cache_flush_enabled_set(Eina_Bool enabled);
>      EAPI void         elm_cache_flush_enabled_all_set(Eina_Bool enabled);
>      EAPI int          elm_font_cache_get(void);
> Index: src/lib/elm_main.c
> ===================================================================
> --- src/lib/elm_main.c        (revision 57833)
> +++ src/lib/elm_main.c        (working copy)
> @@ -1985,7 +1985,7 @@ elm_cache_flush_interval_all_set(int size)
>    * @see elm_all_flush()
>    */
>   EAPI Eina_Bool
> -elm_cache_flush_enmabled_get(void)
> +elm_cache_flush_enabled_get(void)
>   {
>      return _elm_config->cache_flush_enable;
>   }
> Index: src/bin/config.c
> ===================================================================
> --- src/bin/config.c  (revision 57833)
> +++ src/bin/config.c  (working copy)
> @@ -362,7 +362,7 @@ cf_enable(void *data,
>             Evas_Object     *obj,
>             void *event_info __UNUSED__)
>   {
> -   Eina_Bool cf = elm_cache_flush_enmabled_get();
> +   Eina_Bool cf = elm_cache_flush_enabled_get();
>      Eina_Bool val = elm_check_state_get(obj);
>
>      if (cf == val) return;
> @@ -2724,13 +2724,13 @@ _status_config_caches(Evas_Object *win,
>      elm_slider_indicator_format_set(sl, "%1.0f");
>      elm_slider_min_max_set(sl, 8.0, 4096.0);
>      elm_slider_value_set(sl, elm_cache_flush_interval_get());
> -   elm_object_disabled_set(sl, !elm_cache_flush_enmabled_get());
> +   elm_object_disabled_set(sl, !elm_cache_flush_enabled_get());
>
>      ck = elm_check_add(win);
>      evas_object_size_hint_weight_set(ck, EVAS_HINT_EXPAND, 0.0);
>      evas_object_size_hint_align_set(ck, EVAS_HINT_FILL, 0.5);
>      elm_check_label_set(ck, "Enable Flushing");
> -   elm_check_state_set(ck, elm_cache_flush_enmabled_get());
> +   elm_check_state_set(ck, elm_cache_flush_enabled_get());
>      evas_object_smart_callback_add(ck, "changed", cf_enable, sl);
>      elm_box_pack_end(bx, ck);
>      evas_object_show(ck);
>
>
>

------------------------------------------------------------------------------
Colocation vs. Managed Hosting
A question and answer guide to determining the best fit
for your organization - today and in the future.
http://p.sf.net/sfu/internap-sfd2d
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to