[Xfce4-commits] <midori:master> One parent less to get resources in the build folder

Christian Dywan noreply at xfce.org
Mon Jul 2 20:52:01 CEST 2012


Updating branch refs/heads/master
         to 708d74038f1d1dbc9c8bc6e15d578a020e864dce (commit)
       from 225e13c06bc016c3f9754c3bb7d77b6b47be700f (commit)

commit 708d74038f1d1dbc9c8bc6e15d578a020e864dce
Author: Christian Dywan <christian at twotoasts.de>
Date:   Mon Jul 2 20:07:37 2012 +0200

    One parent less to get resources in the build folder

 midori/midori-app.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/midori/midori-app.c b/midori/midori-app.c
index fddb6d3..816d465 100644
--- a/midori/midori-app.c
+++ b/midori/midori-app.c
@@ -1344,7 +1344,7 @@ midori_app_find_res_filename (const gchar* filename)
 
     /* Fallback to build folder */
     path = g_build_filename (g_file_get_path (g_file_get_parent (
-        g_file_get_parent (g_file_get_parent (g_file_new_for_path (exec_path))))),
+        g_file_get_parent (g_file_new_for_path (exec_path)))),
         "data", filename, NULL);
     if (g_access (path, F_OK) == 0)
         return path;


More information about the Xfce4-commits mailing list