summaryrefslogtreecommitdiff
path: root/tubes/source/contact-list.cxx
diff options
context:
space:
mode:
Diffstat (limited to 'tubes/source/contact-list.cxx')
-rw-r--r--tubes/source/contact-list.cxx9
1 files changed, 2 insertions, 7 deletions
diff --git a/tubes/source/contact-list.cxx b/tubes/source/contact-list.cxx
index 163f4e0b0030..03fc3b1f6956 100644
--- a/tubes/source/contact-list.cxx
+++ b/tubes/source/contact-list.cxx
@@ -71,7 +71,7 @@ ContactList::~ContactList()
mpAccountManager = NULL;
}
-bool tb_presence_is_online( const TpConnectionPresenceType& presence )
+static bool tb_presence_is_online( const TpConnectionPresenceType& presence )
{
switch (presence)
{
@@ -91,12 +91,7 @@ bool tb_presence_is_online( const TpConnectionPresenceType& presence )
}
}
-bool tb_account_is_online( TpAccount *account )
-{
- return tb_presence_is_online (tp_account_get_current_presence (account, NULL, NULL));
-}
-
-bool tb_contact_is_online( TpContact *contact )
+static bool tb_contact_is_online( TpContact *contact )
{
return tb_presence_is_online (tp_contact_get_presence_type (contact));
}