diff options
author | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-19 17:43:39 +0000 |
---|---|---|
committer | Cosimo Alfarano <cosimo.alfarano@collabora.co.uk> | 2010-02-22 12:45:38 +0000 |
commit | fc07d94530a3433d3fe3f930f751927f5b9e26a8 (patch) | |
tree | 1513b41775b61b8e60a76e2c578a071de23a70ff | |
parent | 7b20066d126e414fbfd00cd6bd06617cd123ca55 (diff) | |
download | telepathy-logger-fc07d94530a3433d3fe3f930f751927f5b9e26a8.tar.gz |
rename LogStore iface method from last_messages to recent_messages
-rw-r--r-- | telepathy-logger/log-store.c | 6 | ||||
-rw-r--r-- | telepathy-logger/log-store.h | 4 |
2 files changed, 5 insertions, 5 deletions
diff --git a/telepathy-logger/log-store.c b/telepathy-logger/log-store.c index 255ded2..afe1d55 100644 --- a/telepathy-logger/log-store.c +++ b/telepathy-logger/log-store.c @@ -154,15 +154,15 @@ tpl_log_store_get_messages_for_date (TplLogStore *self, GList * -tpl_log_store_get_last_messages (TplLogStore *self, +tpl_log_store_get_recent_messages (TplLogStore *self, TpAccount *account, const gchar *chat_id, gboolean chatroom) { - if (!TPL_LOG_STORE_GET_INTERFACE (self)->get_last_messages) + if (!TPL_LOG_STORE_GET_INTERFACE (self)->get_recent_messages) return NULL; - return TPL_LOG_STORE_GET_INTERFACE (self)->get_last_messages (self, account, + return TPL_LOG_STORE_GET_INTERFACE (self)->get_recent_messages (self, account, chat_id, chatroom); } diff --git a/telepathy-logger/log-store.h b/telepathy-logger/log-store.h index 8b26776..971f7cb 100644 --- a/telepathy-logger/log-store.h +++ b/telepathy-logger/log-store.h @@ -69,7 +69,7 @@ typedef struct const gchar *chat_id, gboolean chatroom); GList * (*get_messages_for_date) (TplLogStore *self, TpAccount *account, const gchar *chat_id, gboolean chatroom, const gchar *date); - GList * (*get_last_messages) (TplLogStore *self, TpAccount *account, + GList * (*get_recent_messages) (TplLogStore *self, TpAccount *account, const gchar *chat_id, gboolean chatroom); GList * (*get_chats) (TplLogStore *self, TpAccount *account); GList * (*search_new) (TplLogStore *self, const gchar *text); @@ -92,7 +92,7 @@ GList *tpl_log_store_get_dates (TplLogStore *self, TpAccount *account, GList *tpl_log_store_get_messages_for_date (TplLogStore *self, TpAccount *account, const gchar *chat_id, gboolean chatroom, const gchar *date); -GList *tpl_log_store_get_last_messages (TplLogStore *self, TpAccount *account, +GList *tpl_log_store_get_recent_messages (TplLogStore *self, TpAccount *account, const gchar *chat_id, gboolean chatroom); GList *tpl_log_store_get_chats (TplLogStore *self, TpAccount *account); GList *tpl_log_store_search_in_identifier_chats_new (TplLogStore *self, |