Mercurial > audlegacy
diff src/audacious/main.c @ 4675:48cdebc174ef
enabled interface destruction
author | mf0102 <0102@gmx.at> |
---|---|
date | Sun, 29 Jun 2008 18:04:43 +0200 |
parents | 8f2f6d7fdc40 |
children | 3a56d2786063 |
line wrap: on
line diff
--- a/src/audacious/main.c Sun Jun 29 17:48:07 2008 +0200 +++ b/src/audacious/main.c Sun Jun 29 18:04:43 2008 +0200 @@ -487,24 +487,13 @@ aud_quit(void) { GList *playlists = NULL, *playlists_top = NULL; + Interface *i = interface_get(options.interface); playlist_stop_get_info_thread(); aud_config_save(); -#if 0 - if (options.headless == FALSE) - { - gtk_widget_hide(equalizerwin); - gtk_widget_hide(playlistwin); - gtk_widget_hide(mainwin); - - gtk_accel_map_save(aud_paths[BMP_PATH_ACCEL_FILE]); - gtk_main_quit(); - - cleanup_skins(); - } -#endif + interface_destroy(i); plugin_system_cleanup();