+2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gmain.c (g_main_context_acquire, g_main_context_release,
+ g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
+ instead of G_THREAD_ENABLED). Also remove wrong
+ return-statement. Unfortunately mainloop-test still does fail. Many
+ thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
+ this. (#63455)
+
2001-10-31 Matthias Clasen <matthiasc@poet.de>
* gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
+2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gmain.c (g_main_context_acquire, g_main_context_release,
+ g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
+ instead of G_THREAD_ENABLED). Also remove wrong
+ return-statement. Unfortunately mainloop-test still does fail. Many
+ thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
+ this. (#63455)
+
2001-10-31 Matthias Clasen <matthiasc@poet.de>
* gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
+2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gmain.c (g_main_context_acquire, g_main_context_release,
+ g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
+ instead of G_THREAD_ENABLED). Also remove wrong
+ return-statement. Unfortunately mainloop-test still does fail. Many
+ thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
+ this. (#63455)
+
2001-10-31 Matthias Clasen <matthiasc@poet.de>
* gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
+2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gmain.c (g_main_context_acquire, g_main_context_release,
+ g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
+ instead of G_THREAD_ENABLED). Also remove wrong
+ return-statement. Unfortunately mainloop-test still does fail. Many
+ thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
+ this. (#63455)
+
2001-10-31 Matthias Clasen <matthiasc@poet.de>
* gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
+2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gmain.c (g_main_context_acquire, g_main_context_release,
+ g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
+ instead of G_THREAD_ENABLED). Also remove wrong
+ return-statement. Unfortunately mainloop-test still does fail. Many
+ thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
+ this. (#63455)
+
2001-10-31 Matthias Clasen <matthiasc@poet.de>
* gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
+2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gmain.c (g_main_context_acquire, g_main_context_release,
+ g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
+ instead of G_THREAD_ENABLED). Also remove wrong
+ return-statement. Unfortunately mainloop-test still does fail. Many
+ thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
+ this. (#63455)
+
2001-10-31 Matthias Clasen <matthiasc@poet.de>
* gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
+2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gmain.c (g_main_context_acquire, g_main_context_release,
+ g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
+ instead of G_THREAD_ENABLED). Also remove wrong
+ return-statement. Unfortunately mainloop-test still does fail. Many
+ thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
+ this. (#63455)
+
2001-10-31 Matthias Clasen <matthiasc@poet.de>
* gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
+2001-10-31 Sebastian Wilhelmi <wilhelmi@ira.uka.de>
+
+ * glib/gmain.c (g_main_context_acquire, g_main_context_release,
+ g_main_context_wait): Use the right conditional (G_THREADS_ENABLED
+ instead of G_THREAD_ENABLED). Also remove wrong
+ return-statement. Unfortunately mainloop-test still does fail. Many
+ thanks to Andrea Fazekas <fazek@ludens.elte.hu> for spotting
+ this. (#63455)
+
2001-10-31 Matthias Clasen <matthiasc@poet.de>
* gobject/gsourceclosure.c (g_source_set_closure): Fix documentation.
gboolean
g_main_context_acquire (GMainContext *context)
{
-#ifdef G_THREAD_ENABLED
+#ifdef G_THREADS_ENABLED
gboolean result = FALSE;
GThread *self = G_THREAD_SELF;
UNLOCK_CONTEXT (context);
return result;
-#else /* !G_THREAD_ENABLED */
+#else /* !G_THREADS_ENABLED */
return TRUE;
-#endif /* G_THREAD_ENABLED */
+#endif /* G_THREADS_ENABLED */
}
/**
void
g_main_context_release (GMainContext *context)
{
-#ifdef G_THREAD_ENABLED
+#ifdef G_THREADS_ENABLED
if (context == NULL)
context = g_main_context_default ();
}
UNLOCK_CONTEXT (context);
-
- return result;
-#endif /* G_THREAD_ENABLED */
+#endif /* G_THREADS_ENABLED */
}
/**
GCond *cond,
GMutex *mutex)
{
-#ifdef G_THREAD_ENABLED
+#ifdef G_THREADS_ENABLED
gboolean result = FALSE;
GThread *self = G_THREAD_SELF;
gboolean loop_internal_waiter;
UNLOCK_CONTEXT (context);
return result;
-#else /* !G_THREAD_ENABLED */
+#else /* !G_THREADS_ENABLED */
return TRUE;
-#endif /* G_THREAD_ENABLED */
+#endif /* G_THREADS_ENABLED */
}
/**