[ekiga] EkigaWindow: Fixed account registration error display.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] EkigaWindow: Fixed account registration error display.
- Date: Thu, 12 Nov 2015 18:35:42 +0000 (UTC)
commit 4eb6778c2ff9615053b588604d339ef6216dc8eb
Author: Damien Sandras <dsandras seconix com>
Date: Sun Oct 4 13:19:18 2015 +0200
EkigaWindow: Fixed account registration error display.
lib/engine/gui/gtk-frontend/ekiga-window.cpp | 10 +++++-----
1 files changed, 5 insertions(+), 5 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/ekiga-window.cpp b/lib/engine/gui/gtk-frontend/ekiga-window.cpp
index 89d89df..75ef942 100644
--- a/lib/engine/gui/gtk-frontend/ekiga-window.cpp
+++ b/lib/engine/gui/gtk-frontend/ekiga-window.cpp
@@ -283,8 +283,7 @@ url_changed_cb (GtkEditable *e,
static void
-on_account_updated (Ekiga::BankPtr /*bank*/,
- Ekiga::AccountPtr account,
+on_account_updated (Ekiga::AccountPtr account,
gpointer data)
{
g_return_if_fail (EKIGA_IS_WINDOW (data));
@@ -891,10 +890,11 @@ ekiga_window_connect_engine_signals (EkigaWindow *mw)
g_return_if_fail (EKIGA_IS_WINDOW (mw));
/* Engine Signals callbacks */
- /*conn = mw->priv->account_core->account_updated.connect (boost::bind (&on_account_updated, _1, _2,
(gpointer) mw));
+ // FIXME: We should NOT use the Opal::Bank directly here. It makes no sense.
+ // We should visit Banks and Accounts.
+ boost::shared_ptr<Opal::Bank> b = mw->priv->bank.lock ();
+ conn = b->account_updated.connect (boost::bind (&on_account_updated, _1, (gpointer) mw));
mw->priv->connections.add (conn);
-*/
- std::cout << "FIXME" << std::endl;
conn = mw->priv->call_core->setup_call.connect (boost::bind (&on_setup_call_cb, _1, (gpointer) mw));
mw->priv->connections.add (conn);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]