Commit 25cc132b authored by Michael Natterer's avatar Michael Natterer 😴 Committed by Michael Natterer

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().
parent e3282e64
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);
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment