[empathy] contact: fix typo when creating new contact from logger entity



commit acde6c67cdd3c3684d564bb65f2628fdf1bec27a
Author: Jonny Lamb <jonnylamb gnome org>
Date:   Wed May 11 10:39:36 2011 +0100

    contact: fix typo when creating new contact from logger entity
    
    Signed-off-by: Jonny Lamb <jonnylamb gnome org>

 libempathy/empathy-contact.c |    4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 620c479..f3e200e 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -653,8 +653,8 @@ empathy_contact_from_tpl_contact (TpAccount *account,
   is_user = (TPL_ENTITY_SELF == tpl_entity_get_entity_type (tpl_entity));
 
   retval = g_object_new (EMPATHY_TYPE_CONTACT,
-      "id", tpl_entity_get_alias (tpl_entity),
-      "alias", tpl_entity_get_identifier (tpl_entity),
+      "id", tpl_entity_get_identifier (tpl_entity),
+      "alias", tpl_entity_get_alias (tpl_entity),
       "account", account,
       "is-user", is_user,
       NULL);



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]