and now without debug printf()
[ardour.git] / libs / gtkmm2ext / gtkmm2ext / idle_adjustment.h
index d8bda35cb544d54368ab534467490bcd5e9583ce..15a8cb13f70299fabd6d2124ed985d2bcfc76911 100644 (file)
@@ -1,5 +1,5 @@
 /*
-    Copyright (C) 2000-2007 Paul Davis 
+    Copyright (C) 2000-2007 Paul Davis
 
     This program is free software; you can redistribute it and/or modify
     it under the terms of the GNU General Public License as published by
 #ifndef __gtkmm2ext_idle_adjustment_h__
 #define __gtkmm2ext_idle_adjustment_h__
 
+#include <stdint.h>
 #include <sys/time.h>
+
 #include <gtkmm/adjustment.h>
 
+#include "gtkmm2ext/visibility.h"
+
 namespace Gtkmm2ext {
 
-class IdleAdjustment : public sigc::trackable
+class LIBGTKMM2EXT_API IdleAdjustment : public sigc::trackable
 {
   public:
        IdleAdjustment (Gtk::Adjustment& adj);
@@ -35,7 +39,7 @@ class IdleAdjustment : public sigc::trackable
 
   private:
        void underlying_adjustment_value_changed();
-       struct timeval last_vc;
+       int64_t last_vc;
        gint timeout_handler();
        bool timeout_queued;
 };