[ekiga] Moved the call to the close method of the Ekiga::ServiceCore later in the runtime, as it was too ear



commit 36c8700739875d22edcaeeeec86a4120634674ae
Author: Julien Puydt <jpuydt free fr>
Date:   Tue Jan 22 22:36:00 2013 +0100

    Moved the call to the close method of the Ekiga::ServiceCore later in the runtime, as it was too early

 lib/engine/engine.cpp |    3 ---
 src/gui/main.cpp      |    3 +++
 2 files changed, 3 insertions(+), 3 deletions(-)
---
diff --git a/lib/engine/engine.cpp b/lib/engine/engine.cpp
index 34755bd..4e8f3de 100644
--- a/lib/engine/engine.cpp
+++ b/lib/engine/engine.cpp
@@ -212,9 +212,6 @@ engine_init (Ekiga::ServiceCorePtr service_core,
   hal_core->audioinput_device_added.connect (boost::bind (&Ekiga::AudioInputCore::add_device, boost::ref (*audioinput_core), _1, _2, _3));
   hal_core->audioinput_device_removed.connect (boost::bind (&Ekiga::AudioInputCore::remove_device, boost::ref (*audioinput_core), _1, _2, _3));
 
-  // from now on, things should have taken their final place
-  service_core->close ();
-
 #if DEBUG_STARTUP
   std::cout << "Here is what ekiga is made of for this run :" << std::endl;
   service_core->dump (std::cout);
diff --git a/src/gui/main.cpp b/src/gui/main.cpp
index 2079ac9..456aa86 100644
--- a/src/gui/main.cpp
+++ b/src/gui/main.cpp
@@ -222,6 +222,9 @@ main (int argc,
   EkigaDBusComponent *dbus_component = ekiga_dbus_component_new (*service_core);
 #endif
 
+  // from now on, things should have taken their final place
+  service_core->close ();
+
   /* The GTK loop */
   gtk_main ();
 



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