Avoid of warnings for check_paths() under *nix.

This commit is contained in:
Kolan Sh 2018-06-01 15:26:53 +03:00
parent c5254318da
commit 27b561acd6
1 changed files with 2 additions and 0 deletions

View File

@ -416,6 +416,7 @@ namespace LAview.Desktop {
window.destroy(); window.destroy();
} }
#if (WINDOWS)
void check_paths () { void check_paths () {
bool all_paths_exist = true; bool all_paths_exist = true;
string[] paths1 = {AppCore.core.lyx_path, AppCore.core.latexmk_pl_path, AppCore.core.perl_path}; string[] paths1 = {AppCore.core.lyx_path, AppCore.core.latexmk_pl_path, AppCore.core.perl_path};
@ -425,5 +426,6 @@ namespace LAview.Desktop {
} }
if (!all_paths_exist) pref_dialog.show_all (); if (!all_paths_exist) pref_dialog.show_all ();
} }
#endif
} }
} }