[beast/devel: 8/26] BEAST-GTK: remove g_thread_init() calls



commit 162e9b3b292240a428029b69c97dae56db31b02d
Author: Tim Janik <timj gnu org>
Date:   Sun Oct 12 00:31:35 2014 +0200

    BEAST-GTK: remove g_thread_init() calls

 beast-gtk/bstmain.cc        |    2 +-
 beast-gtk/bststest.cc       |    1 -
 beast-gtk/gxk/gxktest.cc    |    1 -
 beast-gtk/gxk/splinetest.cc |    1 -
 beast-gtk/testgui.cc        |    2 +-
 5 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/beast-gtk/bstmain.cc b/beast-gtk/bstmain.cc
index d8530c6..e9c9399 100644
--- a/beast-gtk/bstmain.cc
+++ b/beast-gtk/bstmain.cc
@@ -81,7 +81,7 @@ main (int   argc,
   // initialize threading and GLib types
   Rapicorn::ThreadInfo::self().name ("Beast GUI");
   Bse::TaskRegistry::add (Rapicorn::ThreadInfo::self().name(), Rapicorn::ThisThread::process_pid(), 
Rapicorn::ThisThread::thread_pid());
-  g_thread_init (NULL);
+
   g_type_init ();
   /* initialize Birnet/Sfi */
   sfi_init (&argc, argv, "BEAST");
diff --git a/beast-gtk/bststest.cc b/beast-gtk/bststest.cc
index 4427ade..274e648 100644
--- a/beast-gtk/bststest.cc
+++ b/beast-gtk/bststest.cc
@@ -456,7 +456,6 @@ main (int   argc,
   WaveView *view, *first_view = NULL;
   guint i;
 
-  g_thread_init (NULL);
   g_type_init ();
   birnet_init (&argc, &argv, NULL);
   gsl_init (gslconfig);
diff --git a/beast-gtk/gxk/gxktest.cc b/beast-gtk/gxk/gxktest.cc
index fdb076d..070fcac 100644
--- a/beast-gtk/gxk/gxktest.cc
+++ b/beast-gtk/gxk/gxktest.cc
@@ -55,7 +55,6 @@ main (int   argc,
   guint i;
 
   /* GLib's thread and object systems */
-  g_thread_init (NULL);
   g_type_init ();
 
   /* initialize Gtk+ and go into threading mode */
diff --git a/beast-gtk/gxk/splinetest.cc b/beast-gtk/gxk/splinetest.cc
index 6aeb7fe..2b47fda 100644
--- a/beast-gtk/gxk/splinetest.cc
+++ b/beast-gtk/gxk/splinetest.cc
@@ -48,7 +48,6 @@ main (int   argc,
       char *argv[])
 {
   /* GLib's thread and object systems */
-  g_thread_init (NULL);
   g_type_init ();
 
   /* initialize Gtk+ and go into threading mode */
diff --git a/beast-gtk/testgui.cc b/beast-gtk/testgui.cc
index cd0ce7d..7b9a8e5 100644
--- a/beast-gtk/testgui.cc
+++ b/beast-gtk/testgui.cc
@@ -79,8 +79,8 @@ main (int   argc,
   bind_textdomain_codeset (BST_GETTEXT_DOMAIN, "UTF-8");
   textdomain (BST_GETTEXT_DOMAIN);
   setlocale (LC_ALL, "");
+
   /* initialize GLib */
-  g_thread_init (NULL);
   g_type_init ();
   /* initialize Sfi */
   sfi_init (&argc, argv, "TestGUI");


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