iconcache: Remove a useless icon_cache_free
All it does is poke a few fields. There is no point to it.
This commit is contained in:
parent
df9a5f867f
commit
5ea0cf8bab
3 changed files with 0 additions and 9 deletions
|
@ -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);
|
||||
|
|
Loading…
Reference in a new issue