summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-23 16:52:03 +0100
committerGuillaume Desmottes <guillaume.desmottes@collabora.co.uk>2010-11-23 16:52:03 +0100
commit40c56bb226976d5046bd043f3950bdf1c5acb213 (patch)
tree0558242fc167b92003af36cb678fb0d133eb342c
parentd31b11f9a972b509f00fdd565cccdff8e38ec873 (diff)
downloadtelepathy-logger-40c56bb226976d5046bd043f3950bdf1c5acb213.tar.gz
_get_dates_async_result_free: the list is a list of GDate, not strings
-rw-r--r--telepathy-logger/log-manager.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/telepathy-logger/log-manager.c b/telepathy-logger/log-manager.c
index 97fd025..cbbfbbc 100644
--- a/telepathy-logger/log-manager.c
+++ b/telepathy-logger/log-manager.c
@@ -972,10 +972,10 @@ tpl_log_manager_get_dates_finish (TplLogManager *self,
static void
_get_dates_async_result_free (gpointer data)
{
- GList *lst = data; /* list of (char *) */
+ GList *lst = data; /* list of (GDate *) */
g_return_if_fail (data != NULL);
- g_list_foreach (lst, (GFunc) g_free, NULL);
+ g_list_foreach (lst, (GFunc) g_date_free, NULL);
g_list_free (lst);
}