Mercurial > audlegacy
comparison 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 |
comparison
equal
deleted
inserted
replaced
679:07adea9b34ea | 680:8282b365f6cb |
---|---|
32 #define BMP_SKIN_THUMB_DIR_BASENAME ".thumbs" | 32 #define BMP_SKIN_THUMB_DIR_BASENAME ".thumbs" |
33 #define BMP_ACCEL_BASENAME "accels" | 33 #define BMP_ACCEL_BASENAME "accels" |
34 #define BMP_CONFIG_BASENAME "config" | 34 #define BMP_CONFIG_BASENAME "config" |
35 #define BMP_PLAYLIST_BASENAME "playlist.m3u" | 35 #define BMP_PLAYLIST_BASENAME "playlist.m3u" |
36 #define BMP_LOG_BASENAME "log" | 36 #define BMP_LOG_BASENAME "log" |
37 | |
38 | 37 |
39 #define PLAYER_HEIGHT \ | 38 #define PLAYER_HEIGHT \ |
40 (cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : MAINWIN_HEIGHT) | 39 (cfg.player_shaded ? MAINWIN_SHADED_HEIGHT : MAINWIN_HEIGHT) |
41 #define PLAYER_WIDTH MAINWIN_WIDTH | 40 #define PLAYER_WIDTH MAINWIN_WIDTH |
42 | 41 |
135 extern GList *dock_window_list; | 134 extern GList *dock_window_list; |
136 extern gboolean pposition_broken; | 135 extern gboolean pposition_broken; |
137 | 136 |
138 extern gboolean starting_up; | 137 extern gboolean starting_up; |
139 | 138 |
139 extern gboolean has_x11_connection; | |
140 | |
140 void bmp_config_save(void); | 141 void bmp_config_save(void); |
141 void bmp_config_load(void); | 142 void bmp_config_load(void); |
142 | 143 |
143 #endif | 144 #endif |