From 6fe357965a420aa930599d0536fabb8ac80cedee Mon Sep 17 00:00:00 2001 From: Ryan Lortie Date: Thu, 18 Jun 2009 15:11:57 -0400 Subject: Use g_mapped_file_unref() - drop deprecated use of g_mapped_file_free() - bump glib version requirement --- gtk/gtkiconcache.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'gtk/gtkiconcache.c') diff --git a/gtk/gtkiconcache.c b/gtk/gtkiconcache.c index 75f3ff0ed4..6a433fc97c 100644 --- a/gtk/gtkiconcache.c +++ b/gtk/gtkiconcache.c @@ -77,7 +77,7 @@ _gtk_icon_cache_unref (GtkIconCache *cache) g_print ("unmapping icon cache\n")); if (cache->map) - g_mapped_file_free (cache->map); + g_mapped_file_unref (cache->map); g_free (cache); } } @@ -135,7 +135,7 @@ _gtk_icon_cache_new_for_path (const gchar *path) { if (!_gtk_icon_cache_validate (&info)) { - g_mapped_file_free (map); + g_mapped_file_unref (map); g_warning ("Icon cache '%s' is invalid\n", cache_filename); goto done; -- cgit v1.2.1