comparison src/audacious/main.c @ 3678:e82ad057d1db

Get rid of read_volume() craq. Add ui_main_set_initial_volume() to replace the only necessary remaining code.
author William Pitcock <nenolod@atheme.org>
date Mon, 01 Oct 2007 12:38:51 -0500
parents 6b8c8e051c1b
children eadc001add02
comparison
equal deleted inserted replaced
3677:30ef1287da19 3678:e82ad057d1db
1443 */ 1443 */
1444 mainwin_setup_menus(); 1444 mainwin_setup_menus();
1445 1445
1446 if (options.headless != 1) 1446 if (options.headless != 1)
1447 { 1447 {
1448 read_volume(VOLSET_STARTUP); 1448 ui_main_set_initial_volume();
1449 1449
1450 /* FIXME: delayed, because it deals directly with the plugin 1450 /* FIXME: delayed, because it deals directly with the plugin
1451 * interface to set menu items */ 1451 * interface to set menu items */
1452 create_prefs_window(); 1452 create_prefs_window();
1453 1453