Revision: 2108
          http://synfig.svn.sourceforge.net/synfig/?rev=2108&view=rev
Author:   dooglus
Date:     2008-10-19 02:30:40 +0000 (Sun, 19 Oct 2008)

Log Message:
-----------
gtkmm 2.14 keeps warning "GtkSpinButton: setting an adjustment with non-zero 
page size is deprecated", so don't specify non-zero page sizes in adjustments 
that are used with spinbuttons.

Modified Paths:
--------------
    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

Modified: synfig-studio/trunk/src/gtkmm/dialog_gradient.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/dialog_gradient.cpp   2008-10-19 01:38:45 UTC 
(rev 2107)
+++ synfig-studio/trunk/src/gtkmm/dialog_gradient.cpp   2008-10-19 02:30:40 UTC 
(rev 2108)
@@ -64,7 +64,7 @@
 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);

Modified: synfig-studio/trunk/src/gtkmm/dialog_setup.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/dialog_setup.cpp      2008-10-19 01:38:45 UTC 
(rev 2107)
+++ synfig-studio/trunk/src/gtkmm/dialog_setup.cpp      2008-10-19 02:30:40 UTC 
(rev 2108)
@@ -75,15 +75,15 @@
        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

Modified: synfig-studio/trunk/src/gtkmm/widget_value.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/widget_value.cpp      2008-10-19 01:38:45 UTC 
(rev 2107)
+++ synfig-studio/trunk/src/gtkmm/widget_value.cpp      2008-10-19 02:30:40 UTC 
(rev 2108)
@@ -71,9 +71,9 @@
 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();
 

Modified: synfig-studio/trunk/src/gtkmm/widget_vector.cpp
===================================================================
--- synfig-studio/trunk/src/gtkmm/widget_vector.cpp     2008-10-19 01:38:45 UTC 
(rev 2107)
+++ synfig-studio/trunk/src/gtkmm/widget_vector.cpp     2008-10-19 02:30:40 UTC 
(rev 2108)
@@ -56,8 +56,8 @@
 
 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;
 


This was sent by the SourceForge.net collaborative development platform, the 
world's largest Open Source development site.

-------------------------------------------------------------------------
This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
Build the coolest Linux based applications with Moblin SDK & win great prizes
Grand prize is a trip for two to an Open Source event anywhere in the world
http://moblin-contest.org/redirect.php?banner_id=100&url=/
_______________________________________________
Synfig-devl mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/synfig-devl

Reply via email to