From 8feb827e78eea71884416fe5a2c1db0eaaa45be5 Mon Sep 17 00:00:00 2001 From: Jehan Date: Wed, 14 Aug 2024 15:46:46 +0200 Subject: [PATCH] tools: gen-languages should always search from ISO_CODES_LOCATION. This became a build step, not runtime one, therefore we don't care anymore about relocation. --- tools/gen-languages.c | 5 ----- 1 file changed, 5 deletions(-) diff --git a/tools/gen-languages.c b/tools/gen-languages.c index c82126b039..1b5ddd311b 100644 --- a/tools/gen-languages.c +++ b/tools/gen-languages.c @@ -403,13 +403,8 @@ parse_iso_codes (GHashTable *base_lang_list, xml_parser = gimp_xml_parser_new (&markup_parser, &parser); -#ifdef ENABLE_RELOCATABLE_RESOURCES - file = gimp_installation_directory_file ("share", "xml", "iso-codes", - "iso_639_3.xml", NULL); -#else file = g_file_new_for_path (ISO_CODES_LOCATION G_DIR_SEPARATOR_S "iso_639_3.xml"); -#endif success = gimp_xml_parser_parse_gfile (xml_parser, file, error); if (error && *error)