fix efreet after the Windows commits

SVN revision: 55026
devs/devilhorns/wayland_egl
Vincent Torri 12 years ago
parent 52dc7d7067
commit 57c6d1b2e0
  1. 2
      legacy/efreet/src/bin/efreet_desktop_cache_create.c
  2. 2
      legacy/efreet/src/lib/efreet.c
  3. 4
      legacy/efreet/src/lib/efreet_desktop.c

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

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

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

Loading…
Cancel
Save