gtkmm 2.14 keeps warning "GtkSpinButton: setting an adjustment with non-zero page...
authordooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 19 Oct 2008 02:30:40 +0000 (02:30 +0000)
committerdooglus <dooglus@1f10aa63-cdf2-0310-b900-c93c546f37ac>
Sun, 19 Oct 2008 02:30:40 +0000 (02:30 +0000)
git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2108 1f10aa63-cdf2-0310-b900-c93c546f37ac

synfig-studio/trunk/src/gtkmm/dialog_gradient.cpp
synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
synfig-studio/trunk/src/gtkmm/widget_value.cpp
synfig-studio/trunk/src/gtkmm/widget_vector.cpp

index 648a7b8..faedd6f 100644 (file)
@@ -64,7 +64,7 @@ using namespace studio;
 Dialog_Gradient::Dialog_Gradient():
        Dialog(_("Gradient Editor"),false,true),
        dialog_settings(this,"gradient"),
-       adjustment_pos(0,0.0,1.0,0.001,0.001,0.001)
+       adjustment_pos(0,0.0,1.0,0.001,0.001,0)
 {
        set_type_hint(Gdk::WINDOW_TYPE_HINT_DIALOG);
        set_keep_above(false);
index 5cb4b81..9b7dcd4 100644 (file)
@@ -75,15 +75,15 @@ Dialog_Setup::Dialog_Setup():
        adj_gamma_r(2.2,0.1,3.0,0.025,0.025,0.025),
        adj_gamma_g(2.2,0.1,3.0,0.025,0.025,0.025),
        adj_gamma_b(2.2,0.1,3.0,0.025,0.025,0.025),
-       adj_recent_files(15,1,50,1,1,1),
+       adj_recent_files(15,1,50,1,1,0),
        adj_undo_depth(100,10,5000,1,1,1),
        toggle_use_colorspace_gamma(_("Visually Linear Color Selection")),
 #ifdef SINGLE_THREADED
        toggle_single_threaded(_("Use Only a Single Thread")),
 #endif
        toggle_restrict_radius_ducks(_("Restrict Real-Valued Ducks to Top Right Quadrant")),
-       adj_pref_x_size(480,1,10000,1,10,10),
-       adj_pref_y_size(270,1,10000,1,10,10)
+       adj_pref_x_size(480,1,10000,1,10,0),
+       adj_pref_y_size(270,1,10000,1,10,0)
        
        {
        // Setup the buttons
index 5a8257a..c6a8b97 100644 (file)
@@ -71,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();
 
index 38d9097..ad82683 100644 (file)
@@ -56,8 +56,8 @@ using namespace studio;
 
 Widget_Vector::Widget_Vector():
        Gtk::HBox(false, 5),
-       x_adjustment(0,-100000000,100000000,0.05,0.05,0.05),
-       y_adjustment(0,-100000000,100000000,0.05,0.05,0.05)
+       x_adjustment(0,-100000000,100000000,0.05,0.05,0),
+       y_adjustment(0,-100000000,100000000,0.05,0.05,0)
 {
        Gtk::Label *label;