[ekiga/ds-gtk-application] CallWindow: Reset bad_connection at the end of the call.
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga/ds-gtk-application] CallWindow: Reset bad_connection at the end of the call.
- Date: Mon, 22 Dec 2014 18:41:39 +0000 (UTC)
commit 904317a5a59c35d66e7a2a8a70f75d590072e53e
Author: Damien Sandras <dsandras seconix com>
Date: Mon Dec 22 19:39:48 2014 +0100
CallWindow: Reset bad_connection at the end of the call.
This ensures the value is reset if the same call window is used for
several calls in a row (which should not happen, except if preview is
enabled).
Thanks Eugen Dedu for pointing this out.
lib/engine/gui/gtk-frontend/call-window.cpp | 2 ++
1 files changed, 2 insertions(+), 0 deletions(-)
---
diff --git a/lib/engine/gui/gtk-frontend/call-window.cpp b/lib/engine/gui/gtk-frontend/call-window.cpp
index 21cd865..04479ec 100644
--- a/lib/engine/gui/gtk-frontend/call-window.cpp
+++ b/lib/engine/gui/gtk-frontend/call-window.cpp
@@ -826,6 +826,7 @@ on_cleared_call_cb (G_GNUC_UNUSED boost::shared_ptr<Ekiga::CallManager> manager,
self->priv->current_call = boost::shared_ptr<Ekiga::Call>();
g_source_remove (self->priv->timeout_id);
self->priv->timeout_id = -1;
+ self->priv->bad_connection = false;
self->priv->menu.reset ();
}
@@ -844,6 +845,7 @@ static void on_missed_call_cb (boost::shared_ptr<Ekiga::CallManager> /*manager*
if (self->priv->current_call && call && self->priv->current_call->get_id () != call->get_id ()) {
return; // Trying to clear another call than the current active one
}
+ self->priv->bad_connection = false;
self->priv->menu.reset ();
ekiga_call_window_update_calling_state (self, Standby);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]