[ekiga/ds-gsettings3] Assistant: Removed useless code.



commit 9a1162fd112cca02f149f6497e4677c02922489a
Author: Damien Sandras <dsandras beip be>
Date:   Sun Dec 8 18:25:55 2013 +0100

    Assistant: Removed useless code.

 lib/engine/gui/gtk-frontend/assistant-window.cpp |    7 -------
 1 files changed, 0 insertions(+), 7 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/assistant-window.cpp 
b/lib/engine/gui/gtk-frontend/assistant-window.cpp
index 6fac335..14d0974 100644
--- a/lib/engine/gui/gtk-frontend/assistant-window.cpp
+++ b/lib/engine/gui/gtk-frontend/assistant-window.cpp
@@ -47,7 +47,6 @@
 #include "default_devices.h"
 #include "gtk-frontend.h"
 #include "opal-bank.h"
-#include "device-lists.h"
 
 #include "ekiga-settings.h"
 
@@ -58,9 +57,6 @@ G_DEFINE_TYPE (AssistantWindow, assistant_window, GTK_TYPE_ASSISTANT);
 struct _AssistantWindowPrivate
 {
   Ekiga::ServiceCore* service_core; // FIXME: wrong memory management
-  boost::shared_ptr<Ekiga::VideoInputCore> videoinput_core;
-  boost::shared_ptr<Ekiga::AudioInputCore> audioinput_core;
-  boost::shared_ptr<Ekiga::AudioOutputCore> audiooutput_core;
   boost::shared_ptr<Opal::Bank> bank;
   GdkPixbuf *icon;
 
@@ -888,9 +884,6 @@ assistant_window_new (Ekiga::ServiceCore& service_core)
                     G_CALLBACK (assistant_window_key_press_cb), NULL);
 
   boost::signals2::connection conn;
-  assistant->priv->videoinput_core = service_core.get<Ekiga::VideoInputCore> ("videoinput-core");
-  assistant->priv->audioinput_core = service_core.get<Ekiga::AudioInputCore> ("audioinput-core");
-  assistant->priv->audiooutput_core = service_core.get<Ekiga::AudioOutputCore> ("audiooutput-core");
   assistant->priv->bank = service_core.get<Opal::Bank> ("opal-account-store");
 
   return GTK_WIDGET (assistant);


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