From: Christian Dywan Date: Mon, 2 Jul 2012 18:07:37 +0000 (+0200) Subject: One parent less to get resources in the build folder X-Git-Url: https://spindle.queued.net/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=708d74038f1d1dbc9c8bc6e15d578a020e864dce;p=midori One parent less to get resources in the build folder --- 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;