[evolution-data-server/evolution-data-server-3-12] Correct the test for g_subprocess_launcher_set_child_setup() availability
- From: Milan Crha <mcrha src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [evolution-data-server/evolution-data-server-3-12] Correct the test for g_subprocess_launcher_set_child_setup() availability
- Date: Mon, 14 Jul 2014 07:28:56 +0000 (UTC)
commit 50c4234839bf6b94647bf5959c44343e6e4f1345
Author: Milan Crha <mcrha redhat com>
Date: Mon Jul 14 09:28:40 2014 +0200
Correct the test for g_subprocess_launcher_set_child_setup() availability
camel/providers/imapx/camel-imapx-server.c | 6 +++---
1 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/camel/providers/imapx/camel-imapx-server.c b/camel/providers/imapx/camel-imapx-server.c
index 63b6f65..db6a1b8 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -4192,7 +4192,7 @@ imapx_server_set_streams (CamelIMAPXServer *is,
}
#if GLIB_CHECK_VERSION(2,39,0)
-#ifndef G_OS_WIN32
+#ifdef G_OS_UNIX
static void
imapx_server_child_process_setup (gpointer user_data)
{
@@ -4210,7 +4210,7 @@ imapx_server_child_process_setup (gpointer user_data)
}
#endif /* TIOCNOTTY */
}
-#endif /* G_OS_WIN32 */
+#endif /* G_OS_UNIX */
#endif
static gboolean
@@ -4242,7 +4242,7 @@ connect_to_server_process (CamelIMAPXServer *is,
G_SUBPROCESS_FLAGS_STDOUT_PIPE |
G_SUBPROCESS_FLAGS_STDERR_SILENCE);
-#ifndef G_OS_WIN32
+#ifdef G_OS_UNIX
g_subprocess_launcher_set_child_setup (
launcher, imapx_server_child_process_setup,
NULL, (GDestroyNotify) NULL);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]