[Xfce4-commits] <midori:master> Make make_tmp_dir GLib < 2.30 use real tmp_dir

Christian Dywan noreply at xfce.org
Sun Nov 25 18:34:01 CET 2012


Updating branch refs/heads/master
         to 08e5c2d6f8cba18d7e0d7e35cab6987d3327e2eb (commit)
       from 72f7a178425dca55db9546feba5a03a5e9e64ede (commit)

commit 08e5c2d6f8cba18d7e0d7e35cab6987d3327e2eb
Author: Christian Dywan <christian at twotoasts.de>
Date:   Sun Nov 25 18:32:08 2012 +0100

    Make make_tmp_dir GLib < 2.30 use real tmp_dir

 katze/midori-paths.vala |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/katze/midori-paths.vala b/katze/midori-paths.vala
index 9c539b0..511148a 100644
--- a/katze/midori-paths.vala
+++ b/katze/midori-paths.vala
@@ -196,7 +196,7 @@ namespace Midori {
                 GLib.error (error.message);
             }
 #else
-            string folder = Path.build_path (Path.DIR_SEPARATOR_S, tmp_dir, tmpl);
+            string folder = Path.build_path (Path.DIR_SEPARATOR_S, Environment.get_tmp_dir (), tmpl);
             DirUtils.mkdtemp (folder);
             return folder;
 #endif


More information about the Xfce4-commits mailing list