[ekiga] Removed identic methods.
- From: Damien Sandras <dsandras src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [ekiga] Removed identic methods.
- Date: Sat, 24 Oct 2009 17:37:09 +0000 (UTC)
commit 8810ce4d1e46f09bd92ca03b7f00e27faec4bf5c
Author: Damien Sandras <dsandras seconix com>
Date: Sat Oct 24 19:36:34 2009 +0200
Removed identic methods.
They were redundant.
lib/engine/components/opal/h323-endpoint.cpp | 4 ++--
lib/engine/components/opal/opal-account.cpp | 6 ------
lib/engine/components/opal/opal-account.h | 2 --
3 files changed, 2 insertions(+), 10 deletions(-)
---
diff --git a/lib/engine/components/opal/h323-endpoint.cpp b/lib/engine/components/opal/h323-endpoint.cpp
index 47d2fc2..92b4f6b 100644
--- a/lib/engine/components/opal/h323-endpoint.cpp
+++ b/lib/engine/components/opal/h323-endpoint.cpp
@@ -252,7 +252,7 @@ Opal::H323::EndPoint::get_forward_uri () const
bool
Opal::H323::EndPoint::subscribe (const Opal::Account & account)
{
- if (account.get_protocol_name () != "H323" || account.is_active ())
+ if (account.get_protocol_name () != "H323" || account.is_enabled ())
return false;
new subscriber (account, *this);
@@ -264,7 +264,7 @@ Opal::H323::EndPoint::subscribe (const Opal::Account & account)
bool
Opal::H323::EndPoint::unsubscribe (const Opal::Account & account)
{
- if (account.get_protocol_name () != "H323" || !account.is_active ())
+ if (account.get_protocol_name () != "H323" || !account.is_enabled ())
return false;
new subscriber (account, *this);
diff --git a/lib/engine/components/opal/opal-account.cpp b/lib/engine/components/opal/opal-account.cpp
index 5ef1ed1..d070c28 100644
--- a/lib/engine/components/opal/opal-account.cpp
+++ b/lib/engine/components/opal/opal-account.cpp
@@ -315,12 +315,6 @@ bool Opal::Account::is_limited () const
}
-bool Opal::Account::is_active () const
-{
- return enabled;
-}
-
-
void Opal::Account::remove ()
{
enabled = false;
diff --git a/lib/engine/components/opal/opal-account.h b/lib/engine/components/opal/opal-account.h
index 30175b7..9ab7155 100644
--- a/lib/engine/components/opal/opal-account.h
+++ b/lib/engine/components/opal/opal-account.h
@@ -130,8 +130,6 @@ public:
bool is_limited () const;
- bool is_active () const;
-
void remove ();
void edit ();
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]