]> git.0d.be Git - empathy.git/commitdiff
Revert "Don't use deprecated g_mapped_file_free()"
authorXavier Claessens <xclaesse@gmail.com>
Fri, 21 Aug 2009 14:35:13 +0000 (16:35 +0200)
committerXavier Claessens <xclaesse@gmail.com>
Fri, 21 Aug 2009 14:35:13 +0000 (16:35 +0200)
This reverts commit 5a89234873d5c709ee852e2b43220f9c8c0a2033.

libempathy/empathy-log-store-empathy.c

index 0f67073a94de1927fc58c777b41338872316f843..b814defe723e2b1605706fdaa00c345735625f8e 100644 (file)
@@ -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))
         {