Set context->wake_up_pipe only for G_THREADS_ENABLED.
authorSebastian Wilhelmi <seppi@seppi.de>
Wed, 18 Feb 2004 09:14:17 +0000 (09:14 +0000)
committerSebastian Wilhelmi <wilhelmi@src.gnome.org>
Wed, 18 Feb 2004 09:14:17 +0000 (09:14 +0000)
2004-02-18  Sebastian Wilhelmi  <seppi@seppi.de>

* glib/gmain.c (g_main_context_new): Set context->wake_up_pipe
only for G_THREADS_ENABLED.

ChangeLog
ChangeLog.pre-2-10
ChangeLog.pre-2-12
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
glib/gmain.c

index a027e99..4e97501 100644 (file)
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,8 @@
+2004-02-18  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gmain.c (g_main_context_new): Set context->wake_up_pipe
+       only for G_THREADS_ENABLED.
+
 Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>
 
        * configure.in: Remove unnecessary STRIP_* definitions, and GNU
index a027e99..4e97501 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-18  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gmain.c (g_main_context_new): Set context->wake_up_pipe
+       only for G_THREADS_ENABLED.
+
 Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>
 
        * configure.in: Remove unnecessary STRIP_* definitions, and GNU
index a027e99..4e97501 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-18  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gmain.c (g_main_context_new): Set context->wake_up_pipe
+       only for G_THREADS_ENABLED.
+
 Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>
 
        * configure.in: Remove unnecessary STRIP_* definitions, and GNU
index a027e99..4e97501 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-18  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gmain.c (g_main_context_new): Set context->wake_up_pipe
+       only for G_THREADS_ENABLED.
+
 Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>
 
        * configure.in: Remove unnecessary STRIP_* definitions, and GNU
index a027e99..4e97501 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-18  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gmain.c (g_main_context_new): Set context->wake_up_pipe
+       only for G_THREADS_ENABLED.
+
 Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>
 
        * configure.in: Remove unnecessary STRIP_* definitions, and GNU
index a027e99..4e97501 100644 (file)
@@ -1,3 +1,8 @@
+2004-02-18  Sebastian Wilhelmi  <seppi@seppi.de>
+
+       * glib/gmain.c (g_main_context_new): Set context->wake_up_pipe
+       only for G_THREADS_ENABLED.
+
 Sat Feb 14 11:05:26 2004  Manish Singh  <yosh@gimp.org>
 
        * configure.in: Remove unnecessary STRIP_* definitions, and GNU
index 18e503b..303c2bb 100644 (file)
@@ -745,10 +745,10 @@ g_main_context_new ()
 
   context->owner = NULL;
   context->waiters = NULL;
-#endif
 
   context->wake_up_pipe[0] = -1;
   context->wake_up_pipe[1] = -1;
+#endif
 
   context->ref_count = 1;