[ekiga] OpalCall: Fixed is_outgoing().
- From: Damien Sandras <dsandras src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [ekiga] OpalCall: Fixed is_outgoing().
- Date: Sat, 27 Dec 2014 11:11:03 +0000 (UTC)
commit c2306332b0d6520e77aeaf03832a4e8906345f3d
Author: Damien Sandras <dsandras seconix com>
Date: Sat Dec 27 11:19:23 2014 +0100
OpalCall: Fixed is_outgoing().
lib/engine/components/opal/opal-call.cpp | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/lib/engine/components/opal/opal-call.cpp b/lib/engine/components/opal/opal-call.cpp
index 7aab429..70a5dc1 100644
--- a/lib/engine/components/opal/opal-call.cpp
+++ b/lib/engine/components/opal/opal-call.cpp
@@ -98,7 +98,7 @@ private:
Opal::Call::Call (Opal::CallManager& _manager,
const std::string& uri)
: OpalCall (_manager), Ekiga::Call (), manager(_manager), remote_uri (uri),
- call_setup(false), jitter(0), outgoing(false)
+ call_setup(false), jitter(0)
{
re_a_bytes = tr_a_bytes = re_v_bytes = tr_v_bytes = 0.0;
last_v_tick = last_a_tick = PTime ();
@@ -123,6 +123,8 @@ Opal::Call::Call (Opal::CallManager& _manager,
add_action (Ekiga::ActionPtr (new Ekiga::Action ("reject", _("Reject"),
boost::bind (&Call::hang_up, this))));
}
+
+ outgoing = !IsNetworkOriginated ();
}
Opal::Call::~Call ()
@@ -601,7 +603,6 @@ Opal::Call::OnAnswerCall (OpalConnection & connection,
PBoolean
Opal::Call::OnSetUp (OpalConnection & connection)
{
- outgoing = !IsNetworkOriginated ();
parse_info (connection);
call_setup = true;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]