submodules updated: dirty hack for gschemas.compiled.

This commit is contained in:
Kolan Sh 2015-11-14 12:35:06 +03:00
parent 672e98fa25
commit 825feca1c6
2 changed files with 4 additions and 1 deletions

@ -1 +1 @@
Subproject commit 02f3a0f7d969534872799b45a95d3c5a6fef14c3
Subproject commit 53f0f093c4f1332154d792891ef645d036473302

View File

@ -5,6 +5,9 @@ public static int main (string[] args) {
// Custom location:
File exec_file = File.new_for_path (Environment.find_program_in_path (args[0]));
string settings_dir = Path.build_path (Path.DIR_SEPARATOR_S, exec_file.get_parent().get_parent().get_path(), "share/glib-2.0/schemas");
string w32dhack_sdir = settings_dir+"/gschema-test-"+Config.VERSION_MAJOR.to_string();
if (File.new_for_path(w32dhack_sdir+"/gschemas.compiled").query_exists ())
settings_dir = w32dhack_sdir;
// l18n location:
string localedir = Path.build_path (Path.DIR_SEPARATOR_S, exec_file.get_parent().get_parent().get_path(), "share/locale");