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.
This commit is contained in:
Jehan 2024-08-14 15:46:46 +02:00
parent b9fcb22877
commit 8feb827e78
1 changed files with 0 additions and 5 deletions

View File

@ -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)