[empathy/mc5: 478/483] Rename empathy_account_get_connection_for to empathy_account_get_connection_for_path
- From: Sjoerd Simons <sjoerds src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy/mc5: 478/483] Rename empathy_account_get_connection_for to empathy_account_get_connection_for_path
- Date: Fri, 21 Aug 2009 17:22:26 +0000 (UTC)
commit fd8e9c5dc2584055177c7a79021cdd53ca431c22
Author: Sjoerd Simons <sjoerd simons collabora co uk>
Date: Fri Aug 21 17:23:48 2009 +0100
Rename empathy_account_get_connection_for to empathy_account_get_connection_for_path
libempathy/empathy-account.c | 4 ++--
libempathy/empathy-account.h | 2 +-
libempathy/empathy-dispatcher.c | 3 ++-
3 files changed, 5 insertions(+), 4 deletions(-)
---
diff --git a/libempathy/empathy-account.c b/libempathy/empathy-account.c
index 914ae61..5a6b31f 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 d1961b9..6351c93 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 927cd5c..7e1492d 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,
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]