diff options
author | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-06-26 21:42:42 +0800 |
---|---|---|
committer | Sjoerd Simons <sjoerd.simons@collabora.co.uk> | 2009-07-01 21:19:40 +0800 |
commit | 370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9 (patch) | |
tree | a1414c86d4b3e95265aa974b51efe0bb72db80ad /libempathy/empathy-log-manager.c | |
parent | b2691907925acca067dcaa8492619581bcc83480 (diff) | |
download | gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar.gz gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar.bz2 gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar.lz gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar.xz gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.tar.zst gsoc2013-empathy-370bb92f2ce8ccd70bd694a6ab4ba78abeb448f9.zip |
Port libempathy to EmpathyAccount
Diffstat (limited to 'libempathy/empathy-log-manager.c')
-rw-r--r-- | libempathy/empathy-log-manager.c | 15 |
1 files changed, 5 insertions, 10 deletions
diff --git a/libempathy/empathy-log-manager.c b/libempathy/empathy-log-manager.c index b4c1f1a92..c1e20f487 100644 --- a/libempathy/empathy-log-manager.c +++ b/libempathy/empathy-log-manager.c @@ -157,7 +157,7 @@ empathy_log_manager_add_message (EmpathyLogManager *manager, gboolean empathy_log_manager_exists (EmpathyLogManager *manager, - McAccount *account, + EmpathyAccount *account, const gchar *chat_id, gboolean chatroom) { @@ -165,7 +165,6 @@ empathy_log_manager_exists (EmpathyLogManager *manager, EmpathyLogManagerPriv *priv; g_return_val_if_fail (EMPATHY_IS_LOG_MANAGER (manager), FALSE); - g_return_val_if_fail (MC_IS_ACCOUNT (account), FALSE); g_return_val_if_fail (chat_id != NULL, FALSE); priv = GET_PRIV (manager); @@ -182,7 +181,7 @@ empathy_log_manager_exists (EmpathyLogManager *manager, GList * empathy_log_manager_get_dates (EmpathyLogManager *manager, - McAccount *account, + EmpathyAccount *account, const gchar *chat_id, gboolean chatroom) { @@ -190,7 +189,6 @@ empathy_log_manager_get_dates (EmpathyLogManager *manager, EmpathyLogManagerPriv *priv; g_return_val_if_fail (EMPATHY_IS_LOG_MANAGER (manager), NULL); - g_return_val_if_fail (MC_IS_ACCOUNT (account), NULL); g_return_val_if_fail (chat_id != NULL, NULL); priv = GET_PRIV (manager); @@ -219,7 +217,7 @@ empathy_log_manager_get_dates (EmpathyLogManager *manager, GList * empathy_log_manager_get_messages_for_date (EmpathyLogManager *manager, - McAccount *account, + EmpathyAccount *account, const gchar *chat_id, gboolean chatroom, const gchar *date) @@ -228,7 +226,6 @@ empathy_log_manager_get_messages_for_date (EmpathyLogManager *manager, EmpathyLogManagerPriv *priv; g_return_val_if_fail (EMPATHY_IS_LOG_MANAGER (manager), NULL); - g_return_val_if_fail (MC_IS_ACCOUNT (account), NULL); g_return_val_if_fail (chat_id != NULL, NULL); priv = GET_PRIV (manager); @@ -261,7 +258,7 @@ log_manager_message_date_cmp (gconstpointer a, GList * empathy_log_manager_get_filtered_messages (EmpathyLogManager *manager, - McAccount *account, + EmpathyAccount *account, const gchar *chat_id, gboolean chatroom, guint num_messages, @@ -274,7 +271,6 @@ empathy_log_manager_get_filtered_messages (EmpathyLogManager *manager, guint i = 0; g_return_val_if_fail (EMPATHY_IS_LOG_MANAGER (manager), NULL); - g_return_val_if_fail (MC_IS_ACCOUNT (account), NULL); g_return_val_if_fail (chat_id != NULL, NULL); priv = GET_PRIV (manager); @@ -322,13 +318,12 @@ empathy_log_manager_get_filtered_messages (EmpathyLogManager *manager, GList * empathy_log_manager_get_chats (EmpathyLogManager *manager, - McAccount *account) + EmpathyAccount *account) { GList *l, *out = NULL; EmpathyLogManagerPriv *priv; g_return_val_if_fail (EMPATHY_IS_LOG_MANAGER (manager), NULL); - g_return_val_if_fail (MC_IS_ACCOUNT (account), NULL); priv = GET_PRIV (manager); |