diff src/timeout.cc @ 1800:e8f95d2c1732

timeout
author corvid <corvid@lavabit.com>
date Thu, 06 Jan 2011 06:19:52 +0000
parents a72e5506e280
children
line wrap: on
line diff
--- a/src/timeout.cc	Thu Jan 06 06:12:23 2011 +0000
+++ b/src/timeout.cc	Thu Jan 06 06:19:52 2011 +0000
@@ -11,12 +11,9 @@
 
 // Simple ADT for timeout functions
 
-#include <fltk/run.h>
+#include <FL/Fl.H>
 #include "timeout.hh"
 
-using namespace fltk;
-
-
 // C++ functions with C linkage ----------------------------------------------
 
 /*
@@ -25,7 +22,7 @@
  */
 void a_Timeout_add(float t, TimeoutCb_t cb, void *cbdata)
 {
-   add_timeout(t, cb, cbdata);
+   Fl::add_timeout(t, cb, cbdata);
 }
 
 /*
@@ -33,7 +30,7 @@
  */
 void a_Timeout_repeat(float t, TimeoutCb_t cb, void *cbdata)
 {
-   add_timeout(t, cb, cbdata);
+   Fl::add_timeout(t, cb, cbdata);
 }
 
 /*