summaryrefslogtreecommitdiff
path: root/gtk/updateiconcache.c
diff options
context:
space:
mode:
Diffstat (limited to 'gtk/updateiconcache.c')
-rw-r--r--gtk/updateiconcache.c8
1 files changed, 0 insertions, 8 deletions
diff --git a/gtk/updateiconcache.c b/gtk/updateiconcache.c
index d44d93e5e0..45d0cf00ef 100644
--- a/gtk/updateiconcache.c
+++ b/gtk/updateiconcache.c
@@ -199,13 +199,6 @@ typedef struct
guint icon_data_size;
} Image;
-static void
-free_icon_data (IconData *icon_data)
-{
- g_free (icon_data->attach_points);
- g_strfreev (icon_data->display_names);
- g_free (icon_data);
-}
static gboolean
foreach_remove_func (gpointer key, gpointer value, gpointer user_data)
@@ -219,7 +212,6 @@ foreach_remove_func (gpointer key, gpointer value, gpointer user_data)
{
/* just a .icon file, throw away */
g_free (key);
- free_icon_data (image->icon_data);
g_free (image);
return TRUE;