aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavyd Madeley <davyd@madeley.id.au>2009-07-14 17:11:03 +0800
committerDavyd Madeley <davyd@madeley.id.au>2009-07-15 18:12:16 +0800
commit0ade362fb9343ec984c396a202565c4e5faa1f12 (patch)
treef385aaaf1c2dda00047df4155d92480eb335401b
parent234ee3923f26d46219410a4561a0516b7efaf3b3 (diff)
downloadgsoc2013-empathy-0ade362fb9343ec984c396a202565c4e5faa1f12.tar
gsoc2013-empathy-0ade362fb9343ec984c396a202565c4e5faa1f12.tar.gz
gsoc2013-empathy-0ade362fb9343ec984c396a202565c4e5faa1f12.tar.bz2
gsoc2013-empathy-0ade362fb9343ec984c396a202565c4e5faa1f12.tar.lz
gsoc2013-empathy-0ade362fb9343ec984c396a202565c4e5faa1f12.tar.xz
gsoc2013-empathy-0ade362fb9343ec984c396a202565c4e5faa1f12.tar.zst
gsoc2013-empathy-0ade362fb9343ec984c396a202565c4e5faa1f12.zip
Remove deprecated call to g_mapped_file_free()
Change to g_mapped_file_unref()
-rw-r--r--libempathy/empathy-log-store-empathy.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/libempathy/empathy-log-store-empathy.c b/libempathy/empathy-log-store-empathy.c
index b73c7218c..13146882d 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))
{