Luke Granger-Brown
57725ef3ec
git-subtree-dir: third_party/nixpkgs git-subtree-split: 76612b17c0ce71689921ca12d9ffdc9c23ce40b2
11 lines
483 B
Diff
11 lines
483 B
Diff
--- a/src/gs-language.c
|
|
+++ b/src/gs-language.c
|
|
@@ -95,7 +95,7 @@
|
|
g_autoptr(GMarkupParseContext) context = NULL;
|
|
|
|
/* find filename */
|
|
- filename = g_build_filename (DATADIR, "xml", "iso-codes", "iso_639.xml", NULL);
|
|
+ filename = g_build_filename ("@isocodes@", "share", "xml", "iso-codes", "iso_639.xml", NULL);
|
|
if (!g_file_test (filename, G_FILE_TEST_EXISTS)) {
|
|
g_free (filename);
|
|
filename = g_build_filename ("/usr", "share", "xml", "iso-codes", "iso_639.xml", NULL);
|