[beast/devel: 7/26] BSE: remove g_thread_init() calls
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast/devel: 7/26] BSE: remove g_thread_init() calls
- Date: Mon, 13 Oct 2014 02:26:42 +0000 (UTC)
commit af515cf2e6749dbedbe2b34d78f1baedae2cb659
Author: Tim Janik <timj gnu org>
Date: Sun Oct 12 00:31:26 2014 +0200
BSE: remove g_thread_init() calls
bse/bseautodoc.cc | 2 +-
bse/bseinfo.cc | 2 +-
bse/bseprocidl.cc | 2 +-
bse/bsequery.cc | 2 +-
bse/tests/testcxx.cc | 1 -
5 files changed, 4 insertions(+), 5 deletions(-)
---
diff --git a/bse/bseautodoc.cc b/bse/bseautodoc.cc
index 874a4a4..0ad9fb3 100644
--- a/bse/bseautodoc.cc
+++ b/bse/bseautodoc.cc
@@ -543,7 +543,7 @@ main (gint argc,
gboolean gen_objects = FALSE;
const char *pluginbool = "load-core-plugins=0";
const char *scriptbool = "load-core-scripts=0";
- g_thread_init (NULL);
+
bse_init_test (&argc, argv);
boxed_type_tag = g_quark_from_static_string ("bse-auto-doc-boxed-type-tag");
for (int i = 1; i < argc; i++)
diff --git a/bse/bseinfo.cc b/bse/bseinfo.cc
index 682007f..4f775ae 100644
--- a/bse/bseinfo.cc
+++ b/bse/bseinfo.cc
@@ -40,7 +40,7 @@ main (int argc,
char *argv[])
{
int j, k;
- g_thread_init (NULL);
+
bse_init_inprocess (&argc, argv, "BseInfo");
g_print ("Rate relevant limits:\n");
print_int ("BSE_MIN_OCTAVE ", BSE_MIN_OCTAVE);
diff --git a/bse/bseprocidl.cc b/bse/bseprocidl.cc
index b8511f9..bf38c48 100644
--- a/bse/bseprocidl.cc
+++ b/bse/bseprocidl.cc
@@ -416,7 +416,7 @@ main (int argc, char **argv)
}
}
}
- g_thread_init (NULL);
+
bse_init_inprocess (&argc, argv, "BseProcIDL");
sfi_glue_context_push (bse_glue_context_intern ("BseProcIdl"));
std::string s = sfi_glue_base_iface ();
diff --git a/bse/bsequery.cc b/bse/bsequery.cc
index 98d21b5..5b6fa7d 100644
--- a/bse/bsequery.cc
+++ b/bse/bsequery.cc
@@ -202,7 +202,7 @@ main (gint argc,
const char *pluginbool = "load-core-plugins=0";
const char *scriptbool = "load-core-scripts=0";
f_out = stdout;
- g_thread_init (NULL);
+
bse_init_test (&argc, argv);
int i;
for (i = 1; i < argc; i++)
diff --git a/bse/tests/testcxx.cc b/bse/tests/testcxx.cc
index da6e41c..875f8d1 100644
--- a/bse/tests/testcxx.cc
+++ b/bse/tests/testcxx.cc
@@ -26,7 +26,6 @@ int
main (int argc,
char *argv[])
{
- g_thread_init (NULL);
bse_init_test (&argc, argv);
std::set_terminate (__gnu_cxx::__verbose_terminate_handler);
// g_log_set_always_fatal ((GLogLevelFlags) (G_LOG_LEVEL_WARNING | G_LOG_LEVEL_CRITICAL | (int)
g_log_set_always_fatal ((GLogLevelFlags) G_LOG_FATAL_MASK)));
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]