From: dooglus Date: Sun, 19 Oct 2008 02:30:40 +0000 (+0000) Subject: gtkmm 2.14 keeps warning "GtkSpinButton: setting an adjustment with non-zero page... X-Git-Url: https://git.pterodactylus.net/?a=commitdiff_plain;h=96cda93117f7dc4cabdc9f4e1a020c0e5acb8ff5;p=synfig.git 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. git-svn-id: https://synfig.svn.sourceforge.net/svnroot/synfig@2108 1f10aa63-cdf2-0310-b900-c93c546f37ac --- diff --git a/synfig-studio/trunk/src/gtkmm/dialog_gradient.cpp b/synfig-studio/trunk/src/gtkmm/dialog_gradient.cpp index 648a7b8..faedd6f 100644 --- a/synfig-studio/trunk/src/gtkmm/dialog_gradient.cpp +++ b/synfig-studio/trunk/src/gtkmm/dialog_gradient.cpp @@ -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); diff --git a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp index 5cb4b81..9b7dcd4 100644 --- a/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp +++ b/synfig-studio/trunk/src/gtkmm/dialog_setup.cpp @@ -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 diff --git a/synfig-studio/trunk/src/gtkmm/widget_value.cpp b/synfig-studio/trunk/src/gtkmm/widget_value.cpp index 5a8257a..c6a8b97 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_value.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_value.cpp @@ -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(); diff --git a/synfig-studio/trunk/src/gtkmm/widget_vector.cpp b/synfig-studio/trunk/src/gtkmm/widget_vector.cpp index 38d9097..ad82683 100644 --- a/synfig-studio/trunk/src/gtkmm/widget_vector.cpp +++ b/synfig-studio/trunk/src/gtkmm/widget_vector.cpp @@ -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;