diff src/audacious/ui_main.c @ 2907:21b27e97bfb9 trunk

Remove pointless starting_up variable. With transition to UIManager actions, the codepaths it was blocking will no longer be executed at startup.
author William Pitcock <nenolod@atheme.org>
date Thu, 28 Jun 2007 01:42:49 -0500
parents 68f3b7ff4333
children cd21a4556dd2
line wrap: on
line diff
--- a/src/audacious/ui_main.c	Thu Jun 28 01:41:03 2007 -0500
+++ b/src/audacious/ui_main.c	Thu Jun 28 01:42:49 2007 -0500
@@ -3277,9 +3277,7 @@
   mainwin_menurow->mr_always_selected = gtk_toggle_action_get_active( action );
   cfg.always_on_top = mainwin_menurow->mr_always_selected;
   widget_draw(WIDGET(mainwin_menurow));
-
-  if (starting_up == FALSE)
-    hint_set_always(cfg.always_on_top);
+  hint_set_always(cfg.always_on_top);
 }
 
 void