Set context->wake_up_pipe only for G_THREADS_ENABLED.

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.
This commit is contained in:
Sebastian Wilhelmi 2004-02-18 09:14:17 +00:00 committed by Sebastian Wilhelmi
parent d249f73329
commit f18db7d2d4
7 changed files with 31 additions and 1 deletions

View 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

View 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

View 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

View 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

View 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

View 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

View 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;