* Boston, MA 02111-1307, USA.
*/
-#include <config.h>
+#include "config.h"
#include "gtkdebug.h"
#include "gtkiconcache.h"
#include "gtkiconcachevalidator.h"
-#include "gtkalias.h"
#include <glib/gstdio.h>
#include <gdk-pixbuf/gdk-pixdata.h>
g_print ("unmapping icon cache\n"));
if (cache->map)
- g_mapped_file_free (cache->map);
+ g_mapped_file_unref (cache->map);
g_free (cache);
}
}
{
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;
guint32 chain_offset;
int hash;
guint32 image_list_offset, n_images;
- gboolean found = FALSE;
int i;
chain_offset = cache->last_chain_offset;