diff options
author | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-21 12:34:41 +0200 |
---|---|---|
committer | Guillaume Desmottes <guillaume.desmottes@collabora.co.uk> | 2010-05-26 12:35:22 +0200 |
commit | 7b032fb01100f08efc3beb4ef2a4591262a398a8 (patch) | |
tree | ca10dd918b8b2641f5baadb245399b2185c69c28 /telepathy-logger/log-manager.h | |
parent | f34ec7df6a34724ce178ff779d06d024b4fc5e3f (diff) | |
download | telepathy-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.h | 3 |
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, |