diff src/audacious/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 6a474a7954a0
line wrap: on
line diff
--- a/src/audacious/main.c	Thu Jun 28 01:41:03 2007 -0500
+++ b/src/audacious/main.c	Thu Jun 28 01:42:49 2007 -0500
@@ -391,8 +391,6 @@
 
 GList *dock_window_list = NULL;
 
-gboolean starting_up = TRUE;
-
 /* XXX: case-sensitivity is bad for lazy nenolods. :( -nenolod */
 static gchar *pl_candidates[] = {
     PLUGIN_FILENAME("ALSA"),
@@ -1263,8 +1261,6 @@
         playlist_start_get_info_thread();
         mainwin_attach_idle_func();
 
-
-        starting_up = FALSE;
         has_x11_connection = TRUE;
 
         if (cfg.resume_playback_on_startup)
@@ -1309,8 +1305,6 @@
         mainwin_set_info_text();
         playlist_start_get_info_thread();
 
-        starting_up = FALSE;
-
         loop = g_main_loop_new(NULL, TRUE);
         g_timeout_add(10, aud_headless_iteration, NULL);
         g_main_loop_run(loop);