]> git.0d.be Git - empathy.git/commitdiff
Remove deprecated call to g_mapped_file_free()
authorDavyd Madeley <davyd@madeley.id.au>
Tue, 14 Jul 2009 09:11:03 +0000 (10:11 +0100)
committerDavyd Madeley <davyd@madeley.id.au>
Wed, 15 Jul 2009 10:12:16 +0000 (11:12 +0100)
Change to g_mapped_file_unref()

libempathy/empathy-log-store-empathy.c

index b73c7218c360fc818b7b9224122092379ec77eed..13146882df18530c91365181fe1018138101ae13 100644 (file)
@@ -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))
         {