[empathy/mc5: 117/483] remove dead code
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5: 117/483] remove dead code
- Date: Fri, 21 Aug 2009 17:11:57 +0000 (UTC)
commit e4c629b216459740a76cb51b329be445c6a86a3e
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Sun Jul 19 14:45:31 2009 +0100
remove dead code
libempathy/empathy-account.c | 58 ------------------------------------------
1 files changed, 0 insertions(+), 58 deletions(-)
---
diff --git a/libempathy/empathy-account.c b/libempathy/empathy-account.c
index a93d548..ef37742 100644
--- a/libempathy/empathy-account.c
+++ b/libempathy/empathy-account.c
@@ -738,54 +738,6 @@ empathy_account_new (TpDBusDaemon *dbus, const gchar *unique_name)
NULL));
}
-#if 0
-EmpathyAccount *
-_empathy_account_new (McAccount *mc_account)
-{
- EmpathyAccount *account;
- EmpathyAccountPriv *priv;
- McProfile *profile;
- McProtocol *protocol;
-
-
- account = g_object_new (EMPATHY_TYPE_ACCOUNT, NULL);
- priv = GET_PRIV (account);
- priv->mc_account = mc_account;
-
- profile = mc_account_get_profile (mc_account);
- protocol = mc_profile_get_protocol (profile);
-
- if (protocol != NULL)
- {
- McManager *manager = mc_protocol_get_manager (protocol);
-
- priv->proto_name = g_strdup (mc_protocol_get_name (protocol));
- priv->cm_name = g_strdup (mc_manager_get_unique_name (manager));
-
- g_object_unref (protocol);
- g_object_unref (manager);
- }
- g_object_unref (profile);
-
- return account;
-}
-
-void
-_empathy_account_set_status (EmpathyAccount *account,
- TpConnectionStatus status,
- TpConnectionStatusReason reason,
- TpConnectionPresenceType presence)
-{
- EmpathyAccountPriv *priv = GET_PRIV (account);
- TpConnectionStatus old_s = priv->status;
- TpConnectionPresenceType old_p = priv->presence;
-
- priv->status = status;
- priv->presence = presence;
-
-}
-#endif
-
static void
empathy_account_connection_ready_cb (TpConnection *connection,
const GError *error,
@@ -929,13 +881,3 @@ empathy_account_request_presence (EmpathyAccount *account,
g_value_unset (&value);
}
-
-#if 0
-McAccount *
-_empathy_account_get_mc_account (EmpathyAccount *account)
-{
- EmpathyAccountPriv *priv = GET_PRIV (account);
-
- return priv->mc_account;
-}
-#endif
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]