[empathy] Revert "Don't use deprecated g_mapped_file_free()"



commit 3803736b4326d4bc00d58ccd25f910907f0b4521
Author: Xavier Claessens <xclaesse gmail com>
Date:   Fri Aug 21 16:35:13 2009 +0200

    Revert "Don't use deprecated g_mapped_file_free()"
    
    This reverts commit 5a89234873d5c709ee852e2b43220f9c8c0a2033.

 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 0f67073..b814def 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_unref (file);
+      g_mapped_file_free (file);
 
       if (strstr (contents_casefold, text_casefold))
         {



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]