[ekiga] Simplified a little thing in the engine initialization code
- From: Julien Puydt <jpuydt src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] Simplified a little thing in the engine initialization code
- Date: Thu, 21 Oct 2010 18:54:28 +0000 (UTC)
commit 981b40e09795380048e39d1582c009d2aa0504fa
Author: Snark <jpuydt gnome org>
Date: Thu Oct 21 16:04:34 2010 +0200
Simplified a little thing in the engine initialization code
lib/engine/engine.cpp | 3 +--
1 files changed, 1 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/engine.cpp b/lib/engine/engine.cpp
index 8456ebb..bf0975f 100644
--- a/lib/engine/engine.cpp
+++ b/lib/engine/engine.cpp
@@ -143,8 +143,7 @@ engine_init (Ekiga::ServiceCorePtr service_core,
return;
}
- boost::shared_ptr<Ekiga::PresenceCore> presence_core (new Ekiga::PresenceCore (*service_core));
- service_core->add (presence_core);
+ service_core->add (boost::shared_ptr<Ekiga::PresenceCore> (new Ekiga::PresenceCore (*service_core)));
#ifndef WIN32
if (!videooutput_x_init (*service_core, &argc, &argv)) {
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]