Use new Paths API in web cache extension
This commit is contained in:
parent
cc4fbca8e3
commit
a6606a9cee
3 changed files with 1 additions and 4 deletions
|
@ -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;
|
||||
}
|
||||
|
||||
|
|
|
@ -19,7 +19,6 @@
|
|||
|
||||
#include "katze-net.h"
|
||||
#include "midori-core.h"
|
||||
#include "sokoke.h"
|
||||
|
||||
#include <glib/gstdio.h>
|
||||
#include <libsoup/soup.h>
|
||||
|
|
|
@ -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>
|
||||
|
|
Loading…
Reference in a new issue