]> Dogcows Code - chaz/tint2/commitdiff
Add preprocessor statements to check if battery support has been enabled before using...
authorChristian Ruppert <Spooky85@gmail.com>
Fri, 23 Apr 2010 17:30:49 +0000 (17:30 +0000)
committerChristian Ruppert <Spooky85@gmail.com>
Fri, 23 Apr 2010 17:30:49 +0000 (17:30 +0000)
src/tint.c

index ed65fa183c34536407a64cd65a6ddc4087ccddbb..357c180f4506b6b67c257be0885fa39d97d80212 100644 (file)
@@ -59,7 +59,9 @@ void init (int argc, char *argv[])
        default_timeout();
        default_systray();
        memset(&server, 0, sizeof(Server_global));
+#ifdef ENABLE_BATTERY
        default_battery();
+#endif
        default_clock();
        default_taskbar();
        default_tooltip();
This page took 0.0265 seconds and 4 git commands to generate.