X-Git-Url: https://git.dogcows.com/gitweb?a=blobdiff_plain;f=src%2Fconfig.c;h=f7e6d60737c56698bb5a4b59853a857919088d42;hb=d9d566d12cd85b509a8bbc74143e94812ed854d0;hp=5a627040b6e761e84ea169bcc47edab5761fb89a;hpb=9d9778b6a902b3045428a44d5e737c421c748d64;p=chaz%2Ftint2 diff --git a/src/config.c b/src/config.c index 5a62704..f7e6d60 100644 --- a/src/config.c +++ b/src/config.c @@ -73,7 +73,9 @@ void init_config() // tint2 could reload config, so we cleanup objects cleanup_systray(); +#ifdef ENABLE_BATTERY cleanup_battery(); +#endif cleanup_clock(); cleanup_tooltip();