gnucash maint: Multiple changes pushed
John Ralls
jralls at code.gnucash.org
Sat Aug 20 16:14:49 EDT 2016
Updated via https://github.com/Gnucash/gnucash/commit/806be3e1 (commit)
via https://github.com/Gnucash/gnucash/commit/13d9275b (commit)
via https://github.com/Gnucash/gnucash/commit/9cafc266 (commit)
from https://github.com/Gnucash/gnucash/commit/8d415fdf (commit)
commit 806be3e1d95f7b0946d233bc8428553010c4ee0d
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Aug 20 20:14:34 2016 +0000
Suppress the console window on launch when building with CMake on MSWin.
diff --git a/CMakeLists.txt b/CMakeLists.txt
index f7b0d17..c2cbac6 100644
--- a/CMakeLists.txt
+++ b/CMakeLists.txt
@@ -124,6 +124,8 @@ IF (WIN32)
SET(LIBXSLT_XSLTPROC_EXECUTABLE ${CMAKE_PREFIX_PATH}/libxslt/bin/xsltproc)
# I have not yet debugged the intltool-merge file generation process on Windows.
SET(NO_INTLTOOL TRUE)
+#Prevent creating a console window on startup.
+ SET(CMAKE_EXE_LINKER_FLAGS -mwindows)
ENDIF(WIN32)
IF (APPLE)
commit 13d9275b48bfd2264c908acb3d9013af519c7e3e
Merge: 9cafc26 8d415fd
Author: John Ralls <jralls at ceridwen.us>
Date: Sat Aug 20 20:12:49 2016 +0000
Merge branch 'maint' of ssh://code.gnucash.org/gnucash into maint
commit 9cafc266418a8c7506ae43ac949e1f4fc38c61b0
Author: John Ralls <jralls at ceridwen.us>
Date: Thu Aug 18 19:44:17 2016 +0000
temporarily disable pre-logging messages.
diff --git a/src/bin/gnucash-bin.c b/src/bin/gnucash-bin.c
index e50be05..69f613a 100644
--- a/src/bin/gnucash-bin.c
+++ b/src/bin/gnucash-bin.c
@@ -768,8 +768,8 @@ main(int argc, char ** argv)
sys_locale = g_strdup (setlocale (LC_ALL, ""));
if (!sys_locale)
{
- g_print ("The locale defined in the environment isn't supported. "
- "Falling back to the 'C' (US English) locale\n");
+ // g_print ("The locale defined in the environment isn't supported. "
+ // "Falling back to the 'C' (US English) locale\n");
g_setenv ("LC_ALL", "C", TRUE);
setlocale (LC_ALL, "C");
}
@@ -785,7 +785,7 @@ main(int argc, char ** argv)
#endif
gnc_parse_command_line(&argc, &argv);
- gnc_print_unstable_message();
+ //gnc_print_unstable_message();
gnc_log_init();
Summary of changes:
CMakeLists.txt | 2 ++
src/bin/gnucash-bin.c | 6 +++---
2 files changed, 5 insertions(+), 3 deletions(-)
More information about the gnucash-changes
mailing list