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:
@ -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().
|
||||
|
||||
Reference in New Issue
Block a user