[empathy] Don't use deprecated g_mapped_file_free()
- From: Kjartan Maraas <kmaraas src gnome org>
- To: svn-commits-list gnome org
- Cc:
- Subject: [empathy] Don't use deprecated g_mapped_file_free()
- Date: Fri, 21 Aug 2009 13:48:39 +0000 (UTC)
commit 5a89234873d5c709ee852e2b43220f9c8c0a2033
Author: Kjartan Maraas <kmaraas gnome org>
Date: Fri Aug 21 15:47:47 2009 +0200
Don't use deprecated g_mapped_file_free()
libempathy/empathy-log-store-empathy.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c
index b814def..0f67073 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))
{
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]