Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
4674:b71d4f3f3afd | 4675:48cdebc174ef |
---|---|
485 | 485 |
486 void | 486 void |
487 aud_quit(void) | 487 aud_quit(void) |
488 { | 488 { |
489 GList *playlists = NULL, *playlists_top = NULL; | 489 GList *playlists = NULL, *playlists_top = NULL; |
490 Interface *i = interface_get(options.interface); | |
490 | 491 |
491 playlist_stop_get_info_thread(); | 492 playlist_stop_get_info_thread(); |
492 | 493 |
493 aud_config_save(); | 494 aud_config_save(); |
494 | 495 |
495 #if 0 | 496 interface_destroy(i); |
496 if (options.headless == FALSE) | |
497 { | |
498 gtk_widget_hide(equalizerwin); | |
499 gtk_widget_hide(playlistwin); | |
500 gtk_widget_hide(mainwin); | |
501 | |
502 gtk_accel_map_save(aud_paths[BMP_PATH_ACCEL_FILE]); | |
503 gtk_main_quit(); | |
504 | |
505 cleanup_skins(); | |
506 } | |
507 #endif | |
508 | 497 |
509 plugin_system_cleanup(); | 498 plugin_system_cleanup(); |
510 | 499 |
511 /* free and clear each playlist */ | 500 /* free and clear each playlist */ |
512 playlists = playlist_get_playlists(); | 501 playlists = playlist_get_playlists(); |