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:
parent
04a4131d23
commit
ae4454f208
1 changed files with 2 additions and 0 deletions
|
@ -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();
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue