Don't call g_thread_init(), we don't want to link to -lgthread if we don't

Mon Oct 22 10:12:08 2001  Owen Taylor  <otaylor@redhat.com>

	* gdk/gdk.c docs/Changes-2.0.txt (gdk_threads_init): Don't call
	g_thread_init(), we don't want to link to -lgthread if we don't
	have to.
This commit is contained in:
Owen Taylor
2001-10-22 14:14:33 +00:00
committed by Owen Taylor
parent 97ff064f22
commit 7da0a01b88
9 changed files with 44 additions and 6 deletions

View File

@ -499,9 +499,6 @@ Incompatible Changes from GTK+-1.2 to GTK+-2.0:
g_thread_init() has been called. In order to use the
global GDK thread mutex with gdk_threads_enter() and
gdk_threads_leave(), you must call gdk_threads_init() explicitely.
gdk_threads_init() calls g_thread_init() if it hasn't already
been called, so you can typically change your call to g_thread_init()
into a call to gdk_threads_init().
If you aren't using GDK and GTK+ functions from multiple threads,
there is no reason to call gdk_threads_init().