fix efreet after the Windows commits

SVN revision: 55026
This commit is contained in:
Vincent Torri 2010-11-26 20:48:50 +00:00
parent 52dc7d7067
commit 57c6d1b2e0
3 changed files with 8 additions and 0 deletions

View File

@ -12,11 +12,13 @@
#include <errno.h> #include <errno.h>
#include <Eina.h> #include <Eina.h>
#include <Eet.h>
#include <Ecore.h> #include <Ecore.h>
#include <Ecore_File.h> #include <Ecore_File.h>
#include "Efreet.h" #include "Efreet.h"
#include "efreet_private.h" #include "efreet_private.h"
#include "efreet_icon_private.h"
static Eet_Data_Descriptor *edd = NULL; static Eet_Data_Descriptor *edd = NULL;
static Eet_File *ef = NULL; static Eet_File *ef = NULL;

View File

@ -25,6 +25,8 @@ void *alloca (size_t);
#include <string.h> #include <string.h>
#include <limits.h> #include <limits.h>
#include <Eet.h>
#include <Ecore.h>
#include <Ecore_File.h> #include <Ecore_File.h>
#include "Efreet.h" #include "Efreet.h"

View File

@ -133,11 +133,13 @@ efreet_desktop_init(void)
return 0; return 0;
} }
#ifdef HAVE_EVIL
if (!evil_sockets_init()) if (!evil_sockets_init())
{ {
ERR("Could not initialize Winsock system"); ERR("Could not initialize Winsock system");
return 0; return 0;
} }
#endif
efreet_desktop_cache = eina_hash_string_superfast_new(NULL); efreet_desktop_cache = eina_hash_string_superfast_new(NULL);
efreet_desktop_types = NULL; efreet_desktop_types = NULL;
@ -174,7 +176,9 @@ efreet_desktop_shutdown(void)
EINA_LIST_FREE(efreet_desktop_dirs, dir) EINA_LIST_FREE(efreet_desktop_dirs, dir)
eina_stringshare_del(dir); eina_stringshare_del(dir);
IF_FREE_HASH(change_monitors); IF_FREE_HASH(change_monitors);
#ifdef HAVE_EVIL
evil_sockets_shutdown(); evil_sockets_shutdown();
#endif
eina_log_domain_unregister(_efreet_desktop_log_dom); eina_log_domain_unregister(_efreet_desktop_log_dom);
} }