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:
@@ -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();
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user