diff src/audacious/main.c @ 4517:6e412073cf28

cleaned up some more
author mf0102 <0102@gmx.at>
date Wed, 23 Apr 2008 22:20:35 +0200
parents 246244ead30e
children b3e4f5c31546
line wrap: on
line diff
--- a/src/audacious/main.c	Wed Apr 23 20:11:10 2008 +0200
+++ b/src/audacious/main.c	Wed Apr 23 22:20:35 2008 +0200
@@ -89,8 +89,8 @@
 #include "icons-stock.h"
 #include "images/audacious_player.xpm"
 
-gboolean has_x11_connection = FALSE;    /* do we have an X11 connection? */
-const gchar *application_name = N_("Audacious");
+gboolean has_x11_connection = FALSE;  /* do we have an X11 connection? */
+static const gchar *application_name = N_("Audacious");
 
 struct _AudCmdLineOpt {
     gchar **filenames;
@@ -108,9 +108,7 @@
 
 typedef struct _AudCmdLineOpt AudCmdLineOpt;
 
-AudCmdLineOpt options;
-
-AudConfig cfg;
+static AudCmdLineOpt options;
 
 const gchar *aud_titlestring_presets[] = {
     "${title}",
@@ -120,7 +118,6 @@
     "${?artist:${artist} }${?album:[ ${album} ] }${?artist:- }${?track-number:${track-number}. }${title}",
     "${?album:${album} - }${title}"
 };
-
 const guint n_titlestring_presets = G_N_ELEMENTS(aud_titlestring_presets);
 
 const gchar *chardet_detector_presets[] = {
@@ -138,13 +135,10 @@
     N_("Universal")
 #endif
 };
+const guint n_chardet_detector_presets = G_N_ELEMENTS(chardet_detector_presets);
 
-const guint n_chardet_detector_presets = G_N_ELEMENTS(chardet_detector_presets);    
 gchar *aud_paths[BMP_PATH_COUNT] = {};
 
-GList *dock_window_list = NULL;
-
-
 GCond *cond_scan;
 GMutex *mutex_scan;
 #ifdef USE_DBUS