]> spindle.queued.net Git - midori/commitdiff
Use new Paths API in web cache extension
authorChristian Dywan <christian@twotoasts.de>
Mon, 27 Aug 2012 20:29:13 +0000 (22:29 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 27 Aug 2012 20:29:13 +0000 (22:29 +0200)
extensions/web-cache.c
katze/katze-net.c
katze/katze-utils.c

index cf810158b968df0eaa3d5c8b849b5cc3f165c3e1..53ea445b14745b194e1fd5a4edd7f9b47ede80fb 100644 (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;
 }
 
index 09fe2711278c887ae2d2bd519fff165aefad086d..63b5e602337f1198d19d8a0870b2839d6663ba5f 100644 (file)
@@ -19,7 +19,6 @@
 
 #include "katze-net.h"
 #include "midori-core.h"
-#include "sokoke.h"
 
 #include <glib/gstdio.h>
 #include <libsoup/soup.h>
index 7ded817315844a7ed000e768df65af7b304dc099..68f277190a19fa8deb8bb3f68f308bb7f53096bd 100644 (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>