changeset 2879:d332994acaa9

merge
author Andrew O. Shadoura <bugzilla@tut.by>
date Thu, 07 Aug 2008 16:20:27 +0300
parents c7346fd2efda (current diff) 469f7e596a20 (diff)
children 66f53425a5dd
files
diffstat 1 files changed, 3 insertions(+), 3 deletions(-) [+]
line wrap: on
line diff
--- a/src/skins/plugin.c	Thu Aug 07 16:13:03 2008 +0300
+++ b/src/skins/plugin.c	Thu Aug 07 16:20:27 2008 +0300
@@ -106,15 +106,15 @@
 
 gboolean skins_cleanup(void) {
     if (plugin_is_active == TRUE) {
+        gtk_widget_hide(mainwin);
+        gtk_widget_hide(equalizerwin);
+        gtk_widget_hide(playlistwin);
         skins_cfg_save();
         cleanup_skins();
         skins_free_paths();
         ui_main_evlistener_dissociate();
         ui_playlist_evlistener_dissociate();
         skins_cfg_free();
-        gtk_widget_destroy(mainwin);
-        gtk_widget_destroy(equalizerwin);
-        gtk_widget_destroy(playlistwin);
         ui_manager_destroy();
         mainwin = NULL;
         equalizerwin = NULL;