]> Dogcows Code - chaz/tint2/blobdiff - src/config.c
Fix undefined reference to `cleanup_battery' when using --disable-battery.
[chaz/tint2] / src / config.c
index 5a627040b6e761e84ea169bcc47edab5761fb89a..f7e6d60737c56698bb5a4b59853a857919088d42 100644 (file)
@@ -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();
 
This page took 0.021313 seconds and 4 git commands to generate.