[beast/devel: 1/77] BIRNET: ensure Rapicorn core is initialized



commit d2680165d17dc9136136e29b19a8d6e8df497a72
Author: Tim Janik <timj gnu org>
Date:   Tue Mar 19 03:49:23 2013 +0100

    BIRNET: ensure Rapicorn core is initialized

 birnet/birnetutils.cc |    4 ++++
 1 files changed, 4 insertions(+), 0 deletions(-)
---
diff --git a/birnet/birnetutils.cc b/birnet/birnetutils.cc
index 785fa22..21f4b36 100644
--- a/birnet/birnetutils.cc
+++ b/birnet/birnetutils.cc
@@ -139,6 +139,10 @@ birnet_init (int        *argcp,
     g_thread_init (NULL);
   /* update program/application name upon repeated initilization */
   char *prg_name = argcp && *argcp ? g_path_get_basename ((*argvp)[0]) : NULL;
+
+  // ensure we have Rapicorn setup early
+  Rapicorn::init_core (app_name ? app_name : prg_name, argcp, *argvp);
+
   if (birnet_init_settings != NULL)
     {
       if (prg_name && !g_get_prgname ())


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