diff 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
line wrap: on
line diff
--- a/src/audacious/main.c	Fri May 23 15:37:45 2008 +0200
+++ b/src/audacious/main.c	Sun May 25 15:12:17 2008 +0200
@@ -765,7 +765,10 @@
          * but not if we're running headless --nenolod
          */
         mainwin_setup_menus();
-        ui_main_set_initial_volume();
+
+        gint h_vol[2];
+        input_get_volume(&h_vol[0], &h_vol[1]);
+        hook_call("volume set", h_vol);
 
         /* FIXME: delayed, because it deals directly with the plugin
          * interface to set menu items */