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
This commit is contained in:
Spooky85@gmail.com 2009-11-02 22:16:09 +00:00
parent 04a4131d23
commit ae4454f208

View file

@ -73,7 +73,9 @@ void init_config()
// tint2 could reload config, so we cleanup objects // tint2 could reload config, so we cleanup objects
cleanup_systray(); cleanup_systray();
#ifdef ENABLE_BATTERY
cleanup_battery(); cleanup_battery();
#endif
cleanup_clock(); cleanup_clock();
cleanup_tooltip(); cleanup_tooltip();