Fix bugs in previous commit that caused FTBFS in synfig and ETL FTBFS with older...
[synfig.git] / synfig-studio / tags / stable / src / gtkmm / widget_value.cpp
index e6e3070..c6a8b97 100644 (file)
@@ -49,6 +49,8 @@
 #include "app.h"
 #include "widget_distance.h"
 
+#include "general.h"
+
 #endif
 
 using namespace synfig;
@@ -69,9 +71,9 @@ using namespace studio;
 Widget_ValueBase::Widget_ValueBase():
        Glib::ObjectBase        (typeid(Widget_ValueBase)),
        Gtk::HBox(),
-       real_adjustment(0,-2000000000,2000000000,0.05,0.05,0.05),
-       integer_adjustment(0,-2000000000,2000000000,1,1,1),
-       angle_adjustment(0,-2000000000,2000000000,1,1,1)
+       real_adjustment(0,-2000000000,2000000000,0.05,0.05,0),
+       integer_adjustment(0,-2000000000,2000000000,1,1,0),
+       angle_adjustment(0,-2000000000,2000000000,1,1,0)
 {
        set_no_show_all();
 
@@ -147,7 +149,6 @@ Widget_ValueBase::~Widget_ValueBase()
 void
 Widget_ValueBase::activate()
 {
-       //DEBUGPOINT();
        signal_activate()();
 }