Re: Stupid question regarding g_thread_init() and gtk_threads_init()
- From: Arnaud Charlet <charlet ACT-Europe FR>
- To: Sven Neumann <sven gimp org>
- Cc: NavEcos <ecos navosha com>, gtk-list gnome org
- Subject: Re: Stupid question regarding g_thread_init() and gtk_threads_init()
- Date: Tue, 27 Jul 2004 12:29:25 +0200
> > Why are there two functions for this? Why doesn't g_thread_init() call
> > gtk_threads_init()?
>
> g_thread_init() is part of GLib and GLib doesn't know anything about
> GTK+. You don't seriously expect the lower level library to call
> functions in the higher level library, do you?
On the other hand, gdk_threads_init could very well call g_thread_init,
which would make things simpler for the users, rather than checking
explicitely and complaining :-)
Arno
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]