]> Dogcows Code - chaz/openbox/blobdiff - otk/timer.cc
OBTimer is fully documented.
[chaz/openbox] / otk / timer.cc
index bde95f89593821f1b79b3a88bbf967f2f017e8ef..3f1afea069d7a4f36e1c2694f8b68ae50dc72e90 100644 (file)
@@ -77,15 +77,11 @@ void OBTimer::start(void)
 
 void OBTimer::stop(void)
 {
-  timing = false;
+  if (timing) {
+    timing = false;
 
-  manager->removeTimer(this);
-}
-
-
-void OBTimer::halt(void)
-{
-  timing = false;
+    manager->removeTimer(this);
+  }
 }
 
 
This page took 0.020862 seconds and 4 git commands to generate.