diff --git a/src/core/window.c b/src/core/window.c index 6395f405a..3d666a8af 100644 --- a/src/core/window.c +++ b/src/core/window.c @@ -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); diff --git a/src/x11/iconcache.c b/src/x11/iconcache.c index cafc23ead..e03558a39 100644 --- a/src/x11/iconcache.c +++ b/src/x11/iconcache.c @@ -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, diff --git a/src/x11/iconcache.h b/src/x11/iconcache.h index 565bbffd2..814fef556 100644 --- a/src/x11/iconcache.h +++ b/src/x11/iconcache.h @@ -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);