[Xfce4-commits] <midori:master> Use new Paths API in web cache extension

Christian Dywan noreply at xfce.org
Mon Aug 27 22:30:02 CEST 2012


Updating branch refs/heads/master
         to a6606a9cee600ae77ab96736405b138623a6f11d (commit)
       from cc4fbca8e35814d0cd5614a4505e214140b9b48d (commit)

commit a6606a9cee600ae77ab96736405b138623a6f11d
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Aug 27 22:29:13 2012 +0200

    Use new Paths API in web cache extension

 extensions/web-cache.c |    3 +--
 katze/katze-net.c      |    1 -
 katze/katze-utils.c    |    1 -
 3 files changed, 1 insertions(+), 4 deletions(-)

diff --git a/extensions/web-cache.c b/extensions/web-cache.c
index cf81015..53ea445 100644
--- a/extensions/web-cache.c
+++ b/extensions/web-cache.c
@@ -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;
 }
 
diff --git a/katze/katze-net.c b/katze/katze-net.c
index 09fe271..63b5e60 100644
--- a/katze/katze-net.c
+++ b/katze/katze-net.c
@@ -19,7 +19,6 @@
 
 #include "katze-net.h"
 #include "midori-core.h"
-#include "sokoke.h"
 
 #include <glib/gstdio.h>
 #include <libsoup/soup.h>
diff --git a/katze/katze-utils.c b/katze/katze-utils.c
index 7ded817..68f2771 100644
--- a/katze/katze-utils.c
+++ b/katze/katze-utils.c
@@ -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>


More information about the Xfce4-commits mailing list