Patch from Jihoon Kim:
authorChristopher Michael <cpmichael1@comcast.net>
Fri, 18 Mar 2011 00:20:29 +0000 (00:20 +0000)
committerChristopher Michael <cpmichael1@comcast.net>
Fri, 18 Mar 2011 00:20:29 +0000 (00:20 +0000)
Fix typo in Elm API (rename elm_cache_flush_enmabled_get to
elm_cache_flush_enabled_get).

SVN revision: 57835

src/bin/config.c
src/lib/Elementary.h.in
src/lib/elm_main.c

index 8bc8ed4ac9acbc65485e9be59d9349e3ef53b1be..7f78af3173bea8f620b6ebc24f257a9130b5a82b 100644 (file)
@@ -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);
index bac0716562aaf7f99e4b152b3a2139144de26e7a..6da6d58ac2c5bb4615a4076186bb51377e59c11f 100644 (file)
@@ -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 c1ab941173223542d6a0b2cae5406b1ce76c92fb..88581b5cbd2808399bd9a73ffc9ee0c33246433f 100644 (file)
@@ -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;
 }