diff --git a/app/main.c b/app/main.c index 063ccf5b1e..60ea1c921f 100644 --- a/app/main.c +++ b/app/main.c @@ -322,8 +322,6 @@ main (int argc, #endif #endif - g_thread_init (NULL); - #ifdef GIMP_UNSTABLE gimp_open_console_window (); #endif diff --git a/app/tests.c b/app/tests.c index 5014ee2d25..806d20f0c4 100644 --- a/app/tests.c +++ b/app/tests.c @@ -95,7 +95,6 @@ gimp_init_for_gui_testing_internal (gboolean show_gui, Gimp *gimp; /* from main() */ - g_thread_init(NULL); g_type_init(); gimp_log_init (); diff --git a/app/tests/test-core.c b/app/tests/test-core.c index 69dc724b1c..efd3962101 100644 --- a/app/tests/test-core.c +++ b/app/tests/test-core.c @@ -229,7 +229,6 @@ main (int argc, Gimp *gimp; int result; - g_thread_init (NULL); g_type_init (); g_test_init (&argc, &argv, NULL); diff --git a/app/tests/test-xcf.c b/app/tests/test-xcf.c index 0e29165b04..bc00b70ff1 100644 --- a/app/tests/test-xcf.c +++ b/app/tests/test-xcf.c @@ -970,7 +970,6 @@ main (int argc, Gimp *gimp; int result; - g_thread_init (NULL); g_type_init (); g_test_init (&argc, &argv, NULL); diff --git a/plug-ins/common/file-pdf-load.c b/plug-ins/common/file-pdf-load.c index 015a13731d..c91d8488fe 100644 --- a/plug-ins/common/file-pdf-load.c +++ b/plug-ins/common/file-pdf-load.c @@ -352,9 +352,6 @@ run (const gchar *name, values[0].type = GIMP_PDB_STATUS; values[0].data.d_status = GIMP_PDB_EXECUTION_ERROR; - if (! g_thread_supported ()) - g_thread_init (NULL); - if (strcmp (name, LOAD_PROC) == 0) { PdfSelectedPages pages = { 0, NULL }; diff --git a/plug-ins/help-browser/help-browser.c b/plug-ins/help-browser/help-browser.c index 9d833d7765..e7e3052914 100644 --- a/plug-ins/help-browser/help-browser.c +++ b/plug-ins/help-browser/help-browser.c @@ -129,9 +129,6 @@ run (const gchar *name, INIT_I18N (); - if (! g_thread_supported ()) - g_thread_init (NULL); - switch (run_mode) { case GIMP_RUN_INTERACTIVE: diff --git a/plug-ins/print/print.c b/plug-ins/print/print.c index 880ae7e70d..8df29e9717 100644 --- a/plug-ins/print/print.c +++ b/plug-ins/print/print.c @@ -122,8 +122,6 @@ run (const gchar *name, *nreturn_vals = 1; *return_vals = values; - g_thread_init (NULL); - values[0].type = GIMP_PDB_STATUS; values[0].data.d_status = GIMP_PDB_EXECUTION_ERROR;