[beast: 2/8] BSE: fix bsequery initialization to avoid crashing
- From: Tim Janik <timj src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [beast: 2/8] BSE: fix bsequery initialization to avoid crashing
- Date: Wed, 23 Sep 2015 09:06:20 +0000 (UTC)
commit b52e9d81359c10de749d26dc605f88142ba7134c
Author: Tim Janik <timj gnu org>
Date: Thu Sep 17 13:52:13 2015 +0200
BSE: fix bsequery initialization to avoid crashing
bse/bsequery.cc | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/bse/bsequery.cc b/bse/bsequery.cc
index 20cd035..2f8aa35 100644
--- a/bse/bsequery.cc
+++ b/bse/bsequery.cc
@@ -200,7 +200,8 @@ main (gint argc,
const char *scriptbool = "load-core-scripts=0";
f_out = stdout;
- bse_init_test (&argc, argv);
+ bse_init_inprocess (&argc, argv, "BseQuery", Bse::cstrings_to_vector (pluginbool, scriptbool, NULL));
+ // bse_init_test (&argc, argv);
int i;
for (i = 1; i < argc; i++)
{
@@ -293,7 +294,7 @@ main (gint argc,
else
return help (argv[i]);
}
- bse_init_inprocess (&argc, argv, "BseQuery", Bse::cstrings_to_vector (pluginbool, scriptbool, NULL));
+ // bse_init_inprocess (&argc, argv, "BseQuery", Bse::cstrings_to_vector (pluginbool, scriptbool, NULL));
if (root_name)
root = g_type_from_name (root_name);
else
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]