From 5adc5a62f5fee78c93f361e44c0b32e989826aac Mon Sep 17 00:00:00 2001 From: Xavier Claessens Date: Mon, 16 Feb 2009 00:26:37 +0100 Subject: [PATCH] Port EmpathyLogManager to new API --- libempathy/empathy-log-store-empathy.c | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c index 37a76676..d431e0d3 100644 --- a/libempathy/empathy-log-store-empathy.c +++ b/libempathy/empathy-log-store-empathy.c @@ -481,8 +481,12 @@ log_store_empathy_get_messages_for_file (EmpathyLogStore *self, t = empathy_time_parse (time); - sender = empathy_contact_new_full (account, sender_id, sender_name); - empathy_contact_set_is_user (sender, is_user); + sender = g_object_new (EMPATHY_TYPE_CONTACT, + "account", account, + "id", sender_id, + "name", sender_name, + "is-user", is_user, + NULL); if (!EMP_STR_EMPTY (sender_avatar_token)) empathy_contact_load_avatar_cache (sender, sender_avatar_token); -- 2.39.2