diff options
author | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-01-15 22:40:59 +0000 |
---|---|---|
committer | Emilio Pozuelo Monfort <emilio.pozuelo@collabora.co.uk> | 2011-01-17 15:44:13 +0000 |
commit | 0b684aa8069fd513f5c5b46e5a5845aea876d5fa (patch) | |
tree | 14cd685d4622591949ec09879243f4251643945a /telepathy-logger/log-manager.c | |
parent | 380346b0a1f771d6beb496f61158cb1429c37127 (diff) | |
download | telepathy-logger-0b684aa8069fd513f5c5b46e5a5845aea876d5fa.tar.gz |
Remove TplLogSearchHit.filename
Diffstat (limited to 'telepathy-logger/log-manager.c')
-rw-r--r-- | telepathy-logger/log-manager.c | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/telepathy-logger/log-manager.c b/telepathy-logger/log-manager.c index e3b0156..94086bc 100644 --- a/telepathy-logger/log-manager.c +++ b/telepathy-logger/log-manager.c @@ -716,7 +716,6 @@ TplLogSearchHit * _tpl_log_manager_search_hit_new (TpAccount *account, const gchar *id, TplEventSearchType type, - const gchar *filename, GDate *date) { TplLogSearchHit *hit = g_slice_new0 (TplLogSearchHit); @@ -729,9 +728,6 @@ _tpl_log_manager_search_hit_new (TpAccount *account, hit->id = g_strdup (id); hit->type = type; - if (filename != NULL) - hit->filename = g_strdup (filename); - if (date != NULL) hit->date = g_date_new_dmy (g_date_get_day (date), g_date_get_month (date), g_date_get_year (date)); @@ -748,7 +744,6 @@ _tpl_log_manager_search_hit_free (TplLogSearchHit *hit) if (hit->date != NULL) g_date_free (hit->date); - g_free (hit->filename); g_free (hit->id); g_slice_free (TplLogSearchHit, hit); @@ -1553,5 +1548,5 @@ TplLogSearchHit * _tpl_log_manager_search_hit_copy (TplLogSearchHit *hit) { return _tpl_log_manager_search_hit_new (hit->account, hit->id, - hit->type, hit->filename, hit->date); + hit->type, hit->date); } |