1
0
Fork 0

Separate gschemas.compiled

This commit is contained in:
Kolan Sh 2018-06-20 21:59:12 +03:00
parent e8bd49f64b
commit 76bb40fc98
1 changed files with 3 additions and 0 deletions

View File

@ -23,6 +23,9 @@ namespace LAview.DataExample {
"share/laview-data-example-"+Config.VERSION_MAJOR.to_string()+"/ui");
stdout.printf ("Vala:so_path=%s\n", so_path.get_path());
settings_dir = Path.build_path (Path.DIR_SEPARATOR_S, common_dir.get_path(), "share/glib-2.0/schemas");
string w32dhack_sdir = settings_dir+"/laview-data-example-"+Config.VERSION_MAJOR.to_string();
if (File.new_for_path(w32dhack_sdir+"/gschemas.compiled").query_exists ())
settings_dir = w32dhack_sdir;
stdout.printf ("ui_dir = %s\n", ui_dir);
stdout.printf ("settings_dir = %s\n", settings_dir);