aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-19 21:45:31 +0800
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>2009-07-19 21:45:31 +0800
commite4c629b216459740a76cb51b329be445c6a86a3e (patch)
tree7e587d9a92160f07de1f646c4bf76e1685f5da5f /libempathy
parente8f72606c7fc3ff48916c27a3e8d776618fe6f93 (diff)
downloadgsoc2013-empathy-e4c629b216459740a76cb51b329be445c6a86a3e.tar
gsoc2013-empathy-e4c629b216459740a76cb51b329be445c6a86a3e.tar.gz
gsoc2013-empathy-e4c629b216459740a76cb51b329be445c6a86a3e.tar.bz2
gsoc2013-empathy-e4c629b216459740a76cb51b329be445c6a86a3e.tar.lz
gsoc2013-empathy-e4c629b216459740a76cb51b329be445c6a86a3e.tar.xz
gsoc2013-empathy-e4c629b216459740a76cb51b329be445c6a86a3e.tar.zst
gsoc2013-empathy-e4c629b216459740a76cb51b329be445c6a86a3e.zip
remove dead code
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-account.c58
1 files changed, 0 insertions, 58 deletions
diff --git a/libempathy/empathy-account.c b/libempathy/empathy-account.c
index a93d548e3..ef377427d 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