1
0
Fork 0

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:
Jasper St. Pierre 2014-07-14 12:02:58 -04:00
parent df9a5f867f
commit 5ea0cf8bab
3 changed files with 0 additions and 9 deletions

View file

@ -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);

View file

@ -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,

View file

@ -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);