From 27b561acd606afd139ee8a9219fb40b62f25beaf Mon Sep 17 00:00:00 2001 From: Kolan Sh Date: Fri, 1 Jun 2018 15:26:53 +0300 Subject: [PATCH] Avoid of warnings for check_paths() under *nix. --- src/MainWindow.vala | 2 ++ 1 file changed, 2 insertions(+) diff --git a/src/MainWindow.vala b/src/MainWindow.vala index c2477d7..49a7631 100644 --- a/src/MainWindow.vala +++ b/src/MainWindow.vala @@ -416,6 +416,7 @@ namespace LAview.Desktop { window.destroy(); } + #if (WINDOWS) void check_paths () { bool all_paths_exist = true; 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 (); } + #endif } }