From 5a89234873d5c709ee852e2b43220f9c8c0a2033 Mon Sep 17 00:00:00 2001 From: Kjartan Maraas Date: Fri, 21 Aug 2009 15:47:47 +0200 Subject: Don't use deprecated g_mapped_file_free() --- libempathy/empathy-log-store-empathy.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'libempathy') diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c index b814defe7..0f67073a9 100644 --- a/libempathy/empathy-log-store-empathy.c +++ b/libempathy/empathy-log-store-empathy.c @@ -608,7 +608,7 @@ log_store_empathy_search_new (EmpathyLogStore *self, contents = g_mapped_file_get_contents (file); contents_casefold = g_utf8_casefold (contents, length); - g_mapped_file_free (file); + g_mapped_file_unref (file); if (strstr (contents_casefold, text_casefold)) { -- cgit v1.2.3