Fix GtkSpinButton "adjustment with non-zero page size" deprecation message.

Registered by Adam Buchbinder

Many GNOME-based applications print the following to the console.

Gtk-WARNING **: GtkSpinButton: setting an adjustment with non-zero page size is deprecated

This is generally due to the form being created with an obsolete version of Glade. The function gtk_adjustment_configure() is called from a glade element looking like "<property name="adjustment">0 0 999 1 10 10</property>"; the fix is to change the last value to zero, like "<property name="adjustment">0 0 999 1 10 0</property>".

http://library.gnome.org/devel/gtk/unstable/GtkAdjustment.html#gtk-adjustment-configure
http://library.gnome.org/devel/gtk/unstable/GtkAdjustment.html#GtkAdjustment--page-size

Blueprint information

Status:
Started
Approver:
None
Priority:
Undefined
Drafter:
None
Direction:
Needs approval
Assignee:
Adam Buchbinder
Definition:
New
Series goal:
None
Implementation:
Started
Milestone target:
None
Started by
Adam Buchbinder

Whiteboard

Patch submitted for xchat-gnome and sent upstream.
Patch submitted for gthumb; already fixed upstream.
Patch submitted for xsane and sent upstream.
Patch submitted upstream for pan.

Bug filed against inkscape; fixed upstream.

Discovered that glade-3 is still generating .glade files with bad values; filed a bug, wrote a patch and sent it upstream.

Patch submitted for glade-gnome; reported, not yet checked upstream.

Issue found in glade-3; investigating. This seems more complicated than the others; 3.4.5 (Intrepid) is very confusing, but 3.5.6 (Jaunty) looks like I might be able to fix it.

Still looking for other apps which throw the warning.

  -- Camorama version 0.19

(?)

Work Items

This blueprint contains Public information 
Everyone can see this information.