summaryrefslogtreecommitdiff
path: root/telepathy-logger/log-manager.h
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-21 12:34:41 +0200
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-05-26 12:35:22 +0200
commit7b032fb01100f08efc3beb4ef2a4591262a398a8 (patch)
treeca10dd918b8b2641f5baadb245399b2185c69c28 /telepathy-logger/log-manager.h
parentf34ec7df6a34724ce178ff779d06d024b4fc5e3f (diff)
downloadtelepathy-logger-7b032fb01100f08efc3beb4ef2a4591262a398a8.tar.gz
fix tpl_log_manager_get_dates_finish signature and implementation
We need to return a boolean to indicate if the call succeed or not. Returning NULL in case of failure is wrong as an empty list is represented with NULL as well.
Diffstat (limited to 'telepathy-logger/log-manager.h')
-rw-r--r--telepathy-logger/log-manager.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/telepathy-logger/log-manager.h b/telepathy-logger/log-manager.h
index 348eacc..8e576fe 100644
--- a/telepathy-logger/log-manager.h
+++ b/telepathy-logger/log-manager.h
@@ -85,8 +85,9 @@ gboolean tpl_log_manager_exists (TplLogManager *manager,
GList *tpl_log_manager_get_dates (TplLogManager *manager,
TpAccount *account, const gchar *chat_id, gboolean chatroom);
-GList *tpl_log_manager_get_dates_finish (TplLogManager *self,
+gboolean tpl_log_manager_get_dates_finish (TplLogManager *self,
GAsyncResult *result,
+ GList **dates,
GError **error);
void tpl_log_manager_get_dates_async (TplLogManager *manager,