mirror of https://github.com/GNOME/gimp.git
app/app_procs.c call g_thread_init() as the very first function in main().
2006-12-29 Michael Natterer <mitch@gimp.org> * app/app_procs.c * app/main.c: call g_thread_init() as the very first function in main().
This commit is contained in:
parent
e3282e64fe
commit
25cc132bfc
|
@ -1,3 +1,9 @@
|
|||
2006-12-29 Michael Natterer <mitch@gimp.org>
|
||||
|
||||
* app/app_procs.c
|
||||
* app/main.c: call g_thread_init() as the very first function in
|
||||
main().
|
||||
|
||||
2006-12-29 Sven Neumann <sven@gimp.org>
|
||||
|
||||
* tools/pdbgen/pdb/gimprc.pdb: export gimp_get_default_unit() to
|
||||
|
|
|
@ -83,11 +83,6 @@ void
|
|||
app_libs_init (GOptionContext *context,
|
||||
gboolean no_interface)
|
||||
{
|
||||
#ifdef ENABLE_MP
|
||||
if (! g_thread_supported ())
|
||||
g_thread_init (NULL);
|
||||
#endif
|
||||
|
||||
if (no_interface)
|
||||
{
|
||||
g_type_init ();
|
||||
|
|
|
@ -250,6 +250,11 @@ main (int argc,
|
|||
gchar *basename;
|
||||
gint i;
|
||||
|
||||
#ifdef ENABLE_MP
|
||||
if (! g_thread_supported ())
|
||||
g_thread_init (NULL);
|
||||
#endif
|
||||
|
||||
gimp_init_malloc ();
|
||||
|
||||
gimp_env_init (FALSE);
|
||||
|
|
Loading…
Reference in New Issue