Mercurial > audlegacy
diff audacious/main.h @ 680:8282b365f6cb trunk
[svn] - Add some sanity checking to make sure we can't do X11 stuff when running headless.
author | nenolod |
---|---|
date | Fri, 24 Feb 2006 23:56:24 -0800 |
parents | c4a560cb40f9 |
children | 12c47704b4b5 |
line wrap: on
line diff
--- a/audacious/main.h Fri Feb 24 23:44:27 2006 -0800 +++ b/audacious/main.h Fri Feb 24 23:56:24 2006 -0800 @@ -35,7 +35,6 @@ #define BMP_PLAYLIST_BASENAME "playlist.m3u" #define BMP_LOG_BASENAME "log" - #define PLAYER_HEIGHT \ (cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : MAINWIN_HEIGHT) #define PLAYER_WIDTH MAINWIN_WIDTH @@ -137,6 +136,8 @@ extern gboolean starting_up; +extern gboolean has_x11_connection; + void bmp_config_save(void); void bmp_config_load(void);