diff src/audacious/main.c @ 4544:084dbc8d23da

removed variable "has_x11_connection" from main.c, needed to hookify some functions therefore
author mf0102 <0102@gmx.at>
date Mon, 12 May 2008 23:01:06 +0200
parents ed94ac6182df
children c9be7256db08
line wrap: on
line diff
--- a/src/audacious/main.c	Mon May 12 19:31:11 2008 +0200
+++ b/src/audacious/main.c	Mon May 12 23:01:06 2008 +0200
@@ -89,7 +89,6 @@
 #include "icons-stock.h"
 #include "images/audacious_player.xpm"
 
-gboolean has_x11_connection = FALSE;  /* do we have an X11 connection? */
 static const gchar *application_name = N_("Audacious");
 
 struct _AudCmdLineOpt {
@@ -789,8 +788,6 @@
 
         hint_set_always(cfg.always_on_top);
 
-        has_x11_connection = TRUE;
-
         resume_playback_on_startup();
         
         gtk_main();