[ekiga] Made the gtk+ frontend better detect what it needs



commit 2f00b0c78008f2c73e02d51da92bad62ed2411ee
Author: Julien Puydt <jpuydt free fr>
Date:   Thu Jun 20 16:52:22 2013 +0200

    Made the gtk+ frontend better detect what it needs

 lib/engine/gui/gtk-frontend/gtk-frontend.cpp |    7 +++++--
 1 files changed, 5 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/gtk-frontend.cpp b/lib/engine/gui/gtk-frontend/gtk-frontend.cpp
index 0e69442..ea1174d 100644
--- a/lib/engine/gui/gtk-frontend/gtk-frontend.cpp
+++ b/lib/engine/gui/gtk-frontend/gtk-frontend.cpp
@@ -58,7 +58,8 @@
 #include "roster-view-gtk.h"
 #include "history-source.h"
 #include "book-view-gtk.h"
-#include "call-history-view-gtk.h"
+#include "notification-core.h"
+#include "personal-details.h"
 
 #include "gmwindow.h"
 
@@ -97,8 +98,10 @@ gtk_frontend_init (Ekiga::ServiceCore &core,
   boost::shared_ptr<Ekiga::ContactCore> contact_core = core.get<Ekiga::ContactCore> ("contact-core");
   boost::shared_ptr<Ekiga::ChatCore> chat_core = core.get<Ekiga::ChatCore> ("chat-core");
   boost::shared_ptr<History::Source> history_source = core.get<History::Source> ("call-history-store");
+  boost::shared_ptr<Ekiga::PersonalDetails> details = core.get<Ekiga::PersonalDetails> ("personal-details");
+  boost::shared_ptr<Ekiga::NotificationCore> notification_core = core.get<Ekiga::NotificationCore> 
("notification-core");
 
-  if (presence_core && contact_core && chat_core && history_source) {
+  if (presence_core && contact_core && chat_core && history_source && notification_core) {
 
     // BEWARE: the GtkFrontend ctor could do everything, but the status
     // icon ctor and the main window ctor use GtkFrontend, so we must


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