1
0
mirror of https://github.com/Llewellynvdm/conky.git synced 2024-11-17 10:35:10 +00:00

Bugfix: compilation without X11 broke after latest patches

This commit is contained in:
Nikolas Garofil 2009-04-13 14:42:31 +02:00
parent 77f818168b
commit 86b91db305
2 changed files with 4 additions and 3 deletions

View File

@ -1,3 +1,6 @@
2009-04-13
* Fix broken compilation without X11
2009-04-09
* Fix broken xmms2 compilation (thanks fusetak)
* Minor fix for fs_used_perc, fs_free and fs_free_perc (thanks

View File

@ -7486,15 +7486,13 @@ static void load_config_file_x11(const char *f)
}
}
#endif
#endif /* X11 */
CONF("text") {
#ifdef X11
//initialize X11 if nothing X11-related is mentioned before TEXT (and if X11 is the default outputmethod)
if(output_methods & TO_X) {
X11_initialisation();
}
#endif
}
#endif /* X11 */
#undef CONF
#undef CONF2
}