]> git.lyx.org Git - lyx.git/blobdiff - src/frontends/gnome/Timeout_pimpl.h
gtkmm-2 upgrade. Still some small bugs to iron out, but mostly functional
[lyx.git] / src / frontends / gnome / Timeout_pimpl.h
index edd9a69001080f27b95d0fef41e99e1dcb622272..ea18891725928cfcb3370935359263afdd57fdf4 100644 (file)
@@ -12,7 +12,7 @@
 #include "frontends/Timeout.h"
 #include "glib.h" // for gint
 
-#include <sigc++/signal_system.h>
+#include <sigc++/sigc++.h>
 
 #ifdef __GNUG__
 #pragma interface
@@ -31,21 +31,21 @@ public:
        /// stop the timer
        void stop();
        /// reset
-        void reset();
-        /// Is the timer running?
-        bool running() const;
-  
+       void reset();
+       /// Is the timer running?
+       bool running() const;
+
 
 public:
        /// The timeout signal, this gets called when the timeout passed.
-       gint timeoutEvent();
+       bool timeoutEvent();
 private:
        /// the owning timer
        Timeout * owner_;
        /// Timer connection
        SigC::Connection conn_;
-        /// Used for running as SigC::Connection::connected() isn't const
-        bool running_;
+       /// Used for running as SigC::Connection::connected() isn't const
+       bool running_;
 };
 
 #endif