aboutsummaryrefslogtreecommitdiffstats
path: root/libempathy/empathy-message.c
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-16 19:24:33 +0800
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-06-18 23:18:03 +0800
commit3a2a8251d7b4c79962fd17a978475df5b3cb57a9 (patch)
tree59855dc96eeb28e372e30ad867a7fb30916721cc /libempathy/empathy-message.c
parent09a49d81dafe86a68546613cfeee4e2a118cf198 (diff)
downloadgsoc2013-empathy-3a2a8251d7b4c79962fd17a978475df5b3cb57a9.tar
gsoc2013-empathy-3a2a8251d7b4c79962fd17a978475df5b3cb57a9.tar.gz
gsoc2013-empathy-3a2a8251d7b4c79962fd17a978475df5b3cb57a9.tar.bz2
gsoc2013-empathy-3a2a8251d7b4c79962fd17a978475df5b3cb57a9.tar.lz
gsoc2013-empathy-3a2a8251d7b4c79962fd17a978475df5b3cb57a9.tar.xz
gsoc2013-empathy-3a2a8251d7b4c79962fd17a978475df5b3cb57a9.tar.zst
gsoc2013-empathy-3a2a8251d7b4c79962fd17a978475df5b3cb57a9.zip
TplContact has been renamed to TplEntity
Diffstat (limited to 'libempathy/empathy-message.c')
-rw-r--r--libempathy/empathy-message.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/libempathy/empathy-message.c b/libempathy/empathy-message.c
index 11a926a42..ab9e95d37 100644
--- a/libempathy/empathy-message.c
+++ b/libempathy/empathy-message.c
@@ -31,7 +31,7 @@
#include <telepathy-glib/account.h>
#include <telepathy-glib/account-manager.h>
-#include <telepathy-logger/contact.h>
+#include <telepathy-logger/entity.h>
#include <telepathy-logger/entry.h>
#include <telepathy-logger/entry-text.h>
#endif /* ENABLE_TPL */
@@ -267,8 +267,8 @@ empathy_message_from_tpl_log_entry (TplEntry *logentry)
EmpathyMessage *retval = NULL;
TpAccountManager *acc_man = NULL;
TpAccount *account = NULL;
- TplContact *receiver = NULL;
- TplContact *sender = NULL;
+ TplEntity *receiver = NULL;
+ TplEntity *sender = NULL;
gchar *body= NULL;
g_return_val_if_fail (TPL_IS_ENTRY (logentry), NULL);
@@ -279,7 +279,7 @@ empathy_message_from_tpl_log_entry (TplEntry *logentry)
* When #610455 will be fixed, calling tp_account_manager_ensure_account ()
* might add a not existing account to the AM. tp_account_new () probably
* will be the best way to handle it.
- * Note: When creating an EmpathyContact from a TplContact instance, the
+ * Note: When creating an EmpathyContact from a TplEntity instance, the
* TpAccount is passed *only* to let EmpathyContact be able to retrieve the
* avatar (contact_get_avatar_filename () need a TpAccount).
* If the way EmpathyContact stores the avatar is changes, it might not be