summaryrefslogtreecommitdiff
path: root/libwnck/util.c
diff options
context:
space:
mode:
Diffstat (limited to 'libwnck/util.c')
-rw-r--r--libwnck/util.c18
1 files changed, 0 insertions, 18 deletions
diff --git a/libwnck/util.c b/libwnck/util.c
index e908a1c..3760bc3 100644
--- a/libwnck/util.c
+++ b/libwnck/util.c
@@ -833,24 +833,6 @@ _wnck_get_default_display (void)
void
wnck_shutdown (void)
{
- /* Warning: this is hacky :-)
- *
- * Shutting down all WnckScreen objects will automatically unreference (and
- * finalize) all WnckWindow objects, but not the WnckClassGroup and
- * WnckApplication objects.
- * Therefore we need to manually shut down all WnckClassGroup and
- * WnckApplication objects first, since they reference the WnckScreen they're
- * on.
- * On the other side, shutting down the WnckScreen objects will results in
- * all WnckWindow objects getting unreferenced and finalized, and must
- * actually be done before shutting down global WnckWindow structures
- * (because the WnckScreen has a list of WnckWindow that will get mis-used
- * otherwise). */
- _wnck_class_group_shutdown_all ();
- _wnck_application_shutdown_all ();
- _wnck_screen_shutdown_all ();
- _wnck_window_shutdown_all ();
-
g_clear_object (&wnck_handle);
#ifdef HAVE_XRES