aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorXavier Claessens <xclaesse@gmail.com>2009-04-22 18:16:10 +0800
committerXavier Claessens <xclaesse@gmail.com>2009-04-22 18:21:16 +0800
commite444ee9b051168bbd591b9eadb03ae5f735e346f (patch)
tree8542d7b224f9a2709ef93edeb784b6771c91327d
parent106a3a59f4a0192e7db510359dbbde0c1acc0b05 (diff)
downloadgsoc2013-empathy-e444ee9b051168bbd591b9eadb03ae5f735e346f.tar
gsoc2013-empathy-e444ee9b051168bbd591b9eadb03ae5f735e346f.tar.gz
gsoc2013-empathy-e444ee9b051168bbd591b9eadb03ae5f735e346f.tar.bz2
gsoc2013-empathy-e444ee9b051168bbd591b9eadb03ae5f735e346f.tar.lz
gsoc2013-empathy-e444ee9b051168bbd591b9eadb03ae5f735e346f.tar.xz
gsoc2013-empathy-e444ee9b051168bbd591b9eadb03ae5f735e346f.tar.zst
gsoc2013-empathy-e444ee9b051168bbd591b9eadb03ae5f735e346f.zip
Rename empathy_contact_new_static to empathy_contact_new_for_log
-rw-r--r--libempathy/empathy-contact.c8
-rw-r--r--libempathy/empathy-contact.h2
-rw-r--r--libempathy/empathy-log-store-empathy.c4
3 files changed, 7 insertions, 7 deletions
diff --git a/libempathy/empathy-contact.c b/libempathy/empathy-contact.c
index 27f3ff9c2..fe8cf8234 100644
--- a/libempathy/empathy-contact.c
+++ b/libempathy/empathy-contact.c
@@ -389,10 +389,10 @@ empathy_contact_new (TpContact *tp_contact)
}
EmpathyContact *
-empathy_contact_new_static (McAccount *account,
- const gchar *id,
- const gchar *name,
- gboolean is_user)
+empathy_contact_new_for_log (McAccount *account,
+ const gchar *id,
+ const gchar *name,
+ gboolean is_user)
{
g_return_val_if_fail (MC_IS_ACCOUNT (account), NULL);
g_return_val_if_fail (id != NULL, NULL);
diff --git a/libempathy/empathy-contact.h b/libempathy/empathy-contact.h
index 0fab90462..c10561d0f 100644
--- a/libempathy/empathy-contact.h
+++ b/libempathy/empathy-contact.h
@@ -68,7 +68,7 @@ typedef enum {
GType empathy_contact_get_type (void) G_GNUC_CONST;
EmpathyContact * empathy_contact_new (TpContact *tp_contact);
-EmpathyContact * empathy_contact_new_static (McAccount *account,
+EmpathyContact * empathy_contact_new_for_log (McAccount *account,
const gchar *id, const gchar *name, gboolean is_user);
TpContact * empathy_contact_get_tp_contact (EmpathyContact *contact);
const gchar * empathy_contact_get_id (EmpathyContact *contact);
diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c
index 6485d0079..b74b5e177 100644
--- a/libempathy/empathy-log-store-empathy.c
+++ b/libempathy/empathy-log-store-empathy.c
@@ -481,8 +481,8 @@ log_store_empathy_get_messages_for_file (EmpathyLogStore *self,
t = empathy_time_parse (time);
- sender = empathy_contact_new_static (account, sender_id, sender_name,
- is_user);
+ sender = empathy_contact_new_for_log (account, sender_id, sender_name,
+ is_user);
if (!EMP_STR_EMPTY (sender_avatar_token))
empathy_contact_load_avatar_cache (sender,