]> spindle.queued.net Git - midori/commitdiff
One parent less to get resources in the build folder
authorChristian Dywan <christian@twotoasts.de>
Mon, 2 Jul 2012 18:07:37 +0000 (20:07 +0200)
committerChristian Dywan <christian@twotoasts.de>
Mon, 2 Jul 2012 18:50:01 +0000 (20:50 +0200)
midori/midori-app.c

index fddb6d39b3f4d573070e00641f2eac068ad15b21..816d465a39db3bfe9e64269841e6d28295ae749a 100644 (file)
@@ -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;