[empathy] Remove deprecated call to g_mapped_file_free()
- From: Davyd Madeley <davyd src gnome org>
- To: svn-commits-list gnome org
- Subject: [empathy] Remove deprecated call to g_mapped_file_free()
- Date: Wed, 15 Jul 2009 10:14:59 +0000 (UTC)
commit 0ade362fb9343ec984c396a202565c4e5faa1f12
Author: Davyd Madeley <davyd madeley id au>
Date: Tue Jul 14 10:11:03 2009 +0100
Remove deprecated call to g_mapped_file_free()
Change to g_mapped_file_unref()
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 b73c721..1314688 100644
--- a/libempathy/empathy-log-store-empathy.c
+++ b/libempathy/empathy-log-store-empathy.c
@@ -601,7 +601,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]