Commit 5ea0cf8b authored by Jasper St. Pierre's avatar Jasper St. Pierre
Browse files

iconcache: Remove a useless icon_cache_free

All it does is poke a few fields. There is no point to it.
parent df9a5f86
......@@ -256,8 +256,6 @@ meta_window_finalize (GObject *object)
if (window->transient_for)
g_object_unref (window->transient_for);
meta_icon_cache_free (&window->icon_cache);
g_free (window->sm_client_id);
g_free (window->wm_client_machine);
g_free (window->startup_id);
......
......@@ -547,12 +547,6 @@ meta_icon_cache_init (MetaIconCache *icon_cache)
icon_cache->net_wm_icon_dirty = TRUE;
}
void
meta_icon_cache_free (MetaIconCache *icon_cache)
{
icon_cache->origin = USING_NO_ICON;
}
void
meta_icon_cache_property_changed (MetaIconCache *icon_cache,
MetaDisplay *display,
......
......@@ -51,7 +51,6 @@ struct _MetaIconCache
};
void meta_icon_cache_init (MetaIconCache *icon_cache);
void meta_icon_cache_free (MetaIconCache *icon_cache);
void meta_icon_cache_property_changed (MetaIconCache *icon_cache,
MetaDisplay *display,
Atom atom);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment