[gimp/gimp-2-10] Issue #2716 - Windows: Rawtherapee plugin cannot be installed
- From: Michael Natterer <mitch src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gimp/gimp-2-10] Issue #2716 - Windows: Rawtherapee plugin cannot be installed
- Date: Thu, 3 Jan 2019 13:13:17 +0000 (UTC)
commit 422486409adabce8ff03f4bc83a8c510623075f5
Author: gaaned92 <gaaned92 gmail com>
Date: Sat Dec 29 22:56:27 2018 +0100
Issue #2716 - Windows: Rawtherapee plugin cannot be installed
On Windows, prevent RawTherapee from opening a console window
(cherry picked from commit 9e82ace409a477cc29f6c66b14f00ffe4949f867)
plug-ins/file-raw/file-rawtherapee.c | 5 +++++
1 file changed, 5 insertions(+)
---
diff --git a/plug-ins/file-raw/file-rawtherapee.c b/plug-ins/file-raw/file-rawtherapee.c
index 1199f82673..40ef04ba09 100644
--- a/plug-ins/file-raw/file-rawtherapee.c
+++ b/plug-ins/file-raw/file-rawtherapee.c
@@ -97,7 +97,12 @@ init (void)
"com.rawtherapee.rawtherapee",
REGISTRY_KEY_BASE,
&search_path);
+#ifdef G_OS_WIN32
+ /* Issue #2716 - Prevent RT from opening a console window */
+ gchar *argv[] = { exec_path, "-v", "-w", NULL };
+#else
gchar *argv[] = { exec_path, "-v", NULL };
+#endif
gchar *rawtherapee_stdout = NULL;
gboolean have_rawtherapee = FALSE;
gint i;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]