From 708d74038f1d1dbc9c8bc6e15d578a020e864dce Mon Sep 17 00:00:00 2001 From: Christian Dywan Date: Mon, 2 Jul 2012 20:07:37 +0200 Subject: [PATCH] One parent less to get resources in the build folder --- midori/midori-app.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/midori/midori-app.c b/midori/midori-app.c index fddb6d39..816d465a 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;