Use new Paths API in web cache extension

This commit is contained in:
Christian Dywan 2012-08-27 22:29:13 +02:00
parent cc4fbca8e3
commit a6606a9cee
3 changed files with 1 additions and 4 deletions

View file

@ -28,8 +28,7 @@ web_cache_get_cache_dir (void)
{
static gchar* cache_dir = NULL;
if (!cache_dir)
cache_dir = g_build_filename (sokoke_get_user_cache_dir (),
PACKAGE_NAME, "web", NULL);
cache_dir = g_build_filename (midori_paths_get_cache_dir (), "web", NULL);
return cache_dir;
}

View file

@ -19,7 +19,6 @@
#include "katze-net.h"
#include "midori-core.h"
#include "sokoke.h"
#include <glib/gstdio.h>
#include <libsoup/soup.h>

View file

@ -14,7 +14,6 @@
#include "katze-utils.h"
#include "katze-array.h"
#include "midori-core.h"
#include "sokoke.h"
#include <glib/gstdio.h>
#include <glib/gi18n.h>