[evolution-data-server] 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] Correct the test for g_subprocess_launcher_set_child_setup() availability
- Date: Mon, 14 Jul 2014 07:24:39 +0000 (UTC)
commit 2fc4022fa315f6cdd22f62bc352592caa0ab79b0
Author: Milan Crha <mcrha redhat com>
Date: Mon Jul 14 09:24:08 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 4209014..8edb1ac 100644
--- a/camel/providers/imapx/camel-imapx-server.c
+++ b/camel/providers/imapx/camel-imapx-server.c
@@ -4183,7 +4183,7 @@ imapx_server_set_streams (CamelIMAPXServer *is,
g_mutex_unlock (&is->priv->stream_lock);
}
-#ifndef G_OS_WIN32
+#ifdef G_OS_UNIX
static void
imapx_server_child_process_setup (gpointer user_data)
{
@@ -4203,7 +4203,7 @@ imapx_server_child_process_setup (gpointer user_data)
}
#endif /* TIOCNOTTY */
}
-#endif /* G_OS_WIN32 */
+#endif /* G_OS_UNIX */
static gboolean
connect_to_server_process (CamelIMAPXServer *is,
@@ -4233,7 +4233,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]