[empathy/gnome-2-34] contact: fix typo when creating new contact from logger entity



commit f4e2fc16b56fb94b896014692e5bf0eba402ffe3
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 3706658..76b4186 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -628,8 +628,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]