Mercurial > audlegacy
comparison src/audacious/main.c @ 4587:ab8bc8a89a52
remove ui_main_set_initial_volume, call volume set hook instead
author | Tomasz Mon <desowin@gmail.com> |
---|---|
date | Sun, 25 May 2008 15:12:17 +0200 |
parents | 92952061147d |
children | bc29f566be02 |
comparison
equal
deleted
inserted
replaced
4586:5fa09aa0b14a | 4587:ab8bc8a89a52 |
---|---|
763 /* this needs to be called after all 3 windows are created and | 763 /* this needs to be called after all 3 windows are created and |
764 * input plugins are setup'ed | 764 * input plugins are setup'ed |
765 * but not if we're running headless --nenolod | 765 * but not if we're running headless --nenolod |
766 */ | 766 */ |
767 mainwin_setup_menus(); | 767 mainwin_setup_menus(); |
768 ui_main_set_initial_volume(); | 768 |
769 gint h_vol[2]; | |
770 input_get_volume(&h_vol[0], &h_vol[1]); | |
771 hook_call("volume set", h_vol); | |
769 | 772 |
770 /* FIXME: delayed, because it deals directly with the plugin | 773 /* FIXME: delayed, because it deals directly with the plugin |
771 * interface to set menu items */ | 774 * interface to set menu items */ |
772 create_prefs_window(); | 775 create_prefs_window(); |
773 | 776 |