]> git.0d.be Git - empathy.git/commitdiff
Rename empathy_account_get_connection_for to empathy_account_get_connection_for_path
authorSjoerd Simons <sjoerd.simons@collabora.co.uk>
Fri, 21 Aug 2009 16:23:48 +0000 (17:23 +0100)
committerSjoerd Simons <sjoerd.simons@collabora.co.uk>
Fri, 21 Aug 2009 16:23:48 +0000 (17:23 +0100)
libempathy/empathy-account.c
libempathy/empathy-account.h
libempathy/empathy-dispatcher.c

index 914ae61418ebc30e09305a8938aaf2d7b4d70464..5a6b31f0a83fb74a738d80f604fc19be1960806f 100644 (file)
@@ -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);
index d1961b93219e4dff9ea33719cae7a34b56b5d78f..6351c93161c3e6213e9bdf580ead22e619e4451b 100644 (file)
@@ -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);
index 927cd5c3e461c59ee6dd81899ff51afa953bded9..7e1492de846bc76000584cbfab24386c775ea7c2 100644 (file)
@@ -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,