if -> ifdef

SVN revision: 54614
This commit is contained in:
Sebastian Dransfeld 2010-11-16 21:49:45 +00:00
parent 2747a8a86b
commit 2894e4aedc
2 changed files with 6 additions and 6 deletions

View File

@ -46,7 +46,7 @@ efreet_init(void)
if (!efreet_base_init())
goto unregister_log_domain;
#if ICON_CACHE
#ifdef ICON_CACHE
if (!efreet_cache_init())
goto shutdown_efreet_base;
#endif
@ -82,7 +82,7 @@ shutdown_efreet_icon:
shutdown_efreet_xml:
efreet_xml_shutdown();
shutdown_efreet_cache:
#if ICON_CACHE
#ifdef ICON_CACHE
efreet_cache_shutdown();
shutdown_efreet_base:
#endif
@ -115,7 +115,7 @@ efreet_shutdown(void)
efreet_ini_shutdown();
efreet_icon_shutdown();
efreet_xml_shutdown();
#if ICON_CACHE
#ifdef ICON_CACHE
efreet_cache_shutdown();
#endif
efreet_base_shutdown();

View File

@ -134,7 +134,7 @@ extern int _efreet_log_dom_global;
#endif
#define WRN(...) EINA_LOG_DOM_WARN(EFREET_MODULE_LOG_DOM, __VA_ARGS__)
#if ICON_CACHE
#ifdef ICON_CACHE
typedef struct Efreet_Cache_Icon Efreet_Cache_Icon;
struct Efreet_Cache_Icon
{
@ -167,7 +167,7 @@ struct Efreet_Cache_Icon_Element
int efreet_base_init(void);
void efreet_base_shutdown(void);
#if ICON_CACHE
#ifdef ICON_CACHE
int efreet_cache_init(void);
void efreet_cavoidche_shutdown(void);
#endif
@ -207,7 +207,7 @@ EAPI const char *efreet_desktop_util_cache_file(void);
EAPI const char *efreet_desktop_cache_file(void);
EAPI const char *efreet_desktop_cache_dirs(void);
#if ICON_CACHE
#ifdef ICON_CACHE
EAPI const char *efreet_icon_cache_file(const char *theme);
EAPI Eet_Data_Descriptor *efreet_icon_edd_init(void);