Fix undefined reference to `cleanup_battery' when using --disable-battery. git-svn-id: http://tint2.googlecode.com/svn/trunk@248 121b4492-b84c-0410-8b4c-0d4edfb3f3cc
Spooky85@gmail.com Spooky85@gmail.com@121b4492-b84c-0410-8b4c-0d4edfb3f3cc
1 files changed,
2 insertions(+),
0 deletions(-)
jump to
M
src/config.c
→
src/config.c
@@ -73,7 +73,9 @@ list_back = g_slist_append(0, calloc(1, sizeof(Area)));
// tint2 could reload config, so we cleanup objects cleanup_systray(); +#ifdef ENABLE_BATTERY cleanup_battery(); +#endif cleanup_clock(); cleanup_tooltip();