*
* @ingroup Caches
*/
-// XXX: rename: elm_cache_all_flush()
-EAPI void elm_all_flush(void);
+EAPI void elm_cache_all_flush(void);
/**
* Get the configured cache flush interval time
static Eina_Bool
_elm_cache_flush_cb(void *data __UNUSED__)
{
- elm_all_flush();
+ elm_cache_all_flush();
return ECORE_CALLBACK_RENEW;
}
Eina_List *l;
Evas_Object *win;
- elm_all_flush();
+ elm_cache_all_flush();
EINA_LIST_FOREACH(_elm_win_list, l, win)
{
EINA_DEPRECATED EAPI void elm_label_background_color_set(Evas_Object *obj, unsigned int r, unsigned int g, unsigned int b, unsigned int a);
/**
+ * @brief Flush all caches.
+ *
+ * Frees all data that was in cache and is not currently being used to reduce
+ * memory usage. This frees Edje's, Evas' and Eet's cache. This is equivalent
+ * to calling all of the following functions:
+ * @li edje_file_cache_flush()
+ * @li edje_collection_cache_flush()
+ * @li eet_clearcache()
+ * @li evas_image_cache_flush()
+ * @li evas_font_cache_flush()
+ * @li evas_render_dump()
+ * @note Evas caches are flushed for every canvas associated with a window.
+ * @deprecated Use elm_cache_all_flush() instead.
+ */
+EINA_DEPRECATED EAPI void elm_all_flush(void);
+
+/**
* @}
*/
}
EAPI void
-elm_all_flush(void)
+elm_cache_all_flush(void)
{
const Eina_List *l;
Evas_Object *obj;
}
}
+EINA_DEPRECATED EAPI void
+elm_all_flush(void)
+{
+ elm_cache_all_flush();
+}
+
EAPI int
elm_cache_flush_interval_get(void)
{