[ekiga] Made Ekiga::NotificationCore available as early as possible
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Made Ekiga::NotificationCore available as early as possible
- Date: Mon, 3 Mar 2014 17:48:22 +0000 (UTC)
commit 8fba825b0037adfc0c98ffb9c374523853cc3885
Author: Julien Puydt <jpuydt free fr>
Date: Mon Mar 3 18:29:05 2014 +0100
Made Ekiga::NotificationCore available as early as possible
It fixes a crash within Ekiga::VideoInputCore.
lib/engine/engine.cpp | 3 ++-
1 files changed, 2 insertions(+), 1 deletions(-)
---
diff --git a/lib/engine/engine.cpp b/lib/engine/engine.cpp
index 4a03e70..d03cc19 100644
--- a/lib/engine/engine.cpp
+++ b/lib/engine/engine.cpp
@@ -93,6 +93,8 @@ engine_init (Ekiga::ServiceCorePtr service_core,
// (for speed and because that's less code)
Ekiga::ServicePtr notification_core(new Ekiga::NotificationCore);
+ service_core->add (notification_core);
+
boost::shared_ptr<Ekiga::AccountCore> account_core (new Ekiga::AccountCore);
boost::shared_ptr<Ekiga::ContactCore> contact_core (new Ekiga::ContactCore);
boost::shared_ptr<Ekiga::CallCore> call_core (new Ekiga::CallCore);
@@ -106,7 +108,6 @@ engine_init (Ekiga::ServiceCorePtr service_core,
boost::shared_ptr<Gmconf::PersonalDetails> details(new Gmconf::PersonalDetails);
boost::shared_ptr<Ekiga::PresenceCore> presence_core(new Ekiga::PresenceCore (details));
- service_core->add (notification_core);
service_core->add (contact_core);
service_core->add (chat_core);
service_core->add (friend_or_foe);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]