Re: Stupid question regarding g_thread_init() and gtk_threads_init()

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



> > 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
_______________________________________________

gtk-list@xxxxxxxxx
http://mail.gnome.org/mailman/listinfo/gtk-list

[Index of Archives]     [Touch Screen Library]     [GIMP Users]     [Gnome]     [KDE]     [Yosemite News]     [Steve's Art]

  Powered by Linux