diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-22 00:23:48 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-08-22 00:23:48 +0800 |
commit | fd8e9c5dc2584055177c7a79021cdd53ca431c22 (patch) | |
tree | 657ad00a8a2c4f110aee6303df62225891ba482f /libempathy | |
parent | 4b3de48f8648402437053f01296ff596cfdbf38a (diff) | |
download | gsoc2013-empathy-fd8e9c5dc2584055177c7a79021cdd53ca431c22.tar gsoc2013-empathy-fd8e9c5dc2584055177c7a79021cdd53ca431c22.tar.gz gsoc2013-empathy-fd8e9c5dc2584055177c7a79021cdd53ca431c22.tar.bz2 gsoc2013-empathy-fd8e9c5dc2584055177c7a79021cdd53ca431c22.tar.lz gsoc2013-empathy-fd8e9c5dc2584055177c7a79021cdd53ca431c22.tar.xz gsoc2013-empathy-fd8e9c5dc2584055177c7a79021cdd53ca431c22.tar.zst gsoc2013-empathy-fd8e9c5dc2584055177c7a79021cdd53ca431c22.zip |
Rename empathy_account_get_connection_for to empathy_account_get_connection_for_path
Diffstat (limited to 'libempathy')
-rw-r--r-- | libempathy/empathy-account.c | 4 | ||||
-rw-r--r-- | libempathy/empathy-account.h | 2 | ||||
-rw-r--r-- | 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 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, |