GNOME Bugzilla – Bug 557851
Default adjustment page size value for GtkSpinButton is deprecated
Last modified: 2010-01-19 18:42:44 UTC
Please describe the problem: Every new GtkSpinButton added in your project has the default adjustment "page size" value set to 10, but this is deprecated. It should be set to 0. Using 10 as page size produces warnings: Gtk-WARNING **:GtkSpinButton: setting an adjustment with non-zero page size is deprecated Steps to reproduce: 1. Add a GtkSpinButton in your project 2. Use your glade file in your application 3. Run your application in a terminal to read the warnings Actual results: Useless warnings on terminal Expected results: No warnings Does this happen every time? Yes, unless you don't change the default value Other information: I couldn't use glade 3.5.x so I'm sorry if this has already been fixed.
It's still present in SVN as of now. The patch is trivial; I'll attach it momentarily. http://svn.gnome.org/viewvc/glade3/trunk/plugins/gtk%2B/gtk%2B.xml.in?revision=2101&view=markup#l1072
Created attachment 127554 [details] [review] Diff against r2102. The attached diff changes the default adjustment to have a zero page-size value.
We have been using this patch in Ubuntu for some time and can confirm it works well.
Comment on attachment 127554 [details] [review] Diff against r2102. commit 35c3e06af273b64d6c6fc7c302bcd0f486227263
This problem has been fixed in the development version. The fix will be available in the next major software release. Thank you for your bug report.