aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy
diff options
context:
space:
mode:
Diffstat (limited to 'libempathy')
-rw-r--r--libempathy/empathy-account.c4
-rw-r--r--libempathy/empathy-account.h2
-rw-r--r--libempathy/empathy-dispatcher.c3
3 files changed, 5 insertions, 4 deletions
diff --git a/libempathy/empathy-account.c b/libempathy/empathy-account.c
index 914ae6141..5a6b31f0a 100644
--- a/libempathy/empathy-account.c
+++ b/libempathy/empathy-account.c
@@ -691,7 +691,7 @@ empathy_account_get_connection (EmpathyAccount *account)
}
/**
- * empathy_account_get_connection_for:
+ * empathy_account_get_connection_for_path:
* @account: a #EmpathyAccount
* @patch: the path to connection object for #EmpathyAccount
*
@@ -701,7 +701,7 @@ empathy_account_get_connection (EmpathyAccount *account)
* Returns: the connection of the account.
**/
TpConnection *
-empathy_account_get_connection_for (EmpathyAccount *account,
+empathy_account_get_connection_for_path (EmpathyAccount *account,
const gchar *path)
{
EmpathyAccountPriv *priv = GET_PRIV (account);
diff --git a/libempathy/empathy-account.h b/libempathy/empathy-account.h
index d1961b932..6351c9316 100644
--- a/libempathy/empathy-account.h
+++ b/libempathy/empathy-account.h
@@ -58,7 +58,7 @@ GType empathy_account_get_type (void);
gboolean empathy_account_is_just_connected (EmpathyAccount *account);
TpConnection *empathy_account_get_connection (EmpathyAccount *account);
-TpConnection *empathy_account_get_connection_for (EmpathyAccount *account,
+TpConnection *empathy_account_get_connection_for_path (EmpathyAccount *account,
const gchar *path);
const gchar *empathy_account_get_unique_name (EmpathyAccount *account);
const gchar *empathy_account_get_display_name (EmpathyAccount *account);
diff --git a/libempathy/empathy-dispatcher.c b/libempathy/empathy-dispatcher.c
index 927cd5c3e..7e1492de8 100644
--- a/libempathy/empathy-dispatcher.c
+++ b/libempathy/empathy-dispatcher.c
@@ -1804,7 +1804,8 @@ empathy_dispatcher_handle_channels (TpSvcClientHandler *self,
account_path);
g_assert (account != NULL);
- connection = empathy_account_get_connection_for (account, connection_path);
+ connection = empathy_account_get_connection_for_path (account,
+ connection_path);
if (connection == NULL)
{
GError error = { TP_ERRORS, TP_ERROR_INVALID_ARGUMENT,