[Bug 69806] Gtk::Adjustment ignores initial value in constructor

Vincent Levesque vleves at cim.mcgill.ca
Thu Nov 2 08:44:31 UTC 2006


Public bug reported:

Binary package hint: libgtkmm-2.4-dev

Gtk::Adjustment seems to ignore the initial value it is given in its
constructor. In the attached example, an adjustment is initialized to 1
and used with a SpinButton. When you run it though, the SpinButton has a
value of 0 and get_value() returns 0. Using set_value() in the Window's
constructor, on the other hand, correctly sets the initial value.

I was able to reproduce this bug on two computers running Ubuntu 6.10
but not on another one running Ubuntu 6.06. Using older versions of GCC
doesn't seem to help.

See attached sources files.

** Affects: gtkmm2.4 (Ubuntu)
     Importance: Medium
     Assignee: Ubuntu Desktop Bugs
         Status: Unconfirmed

-- 
Gtk::Adjustment ignores initial value in constructor
https://launchpad.net/bugs/69806




More information about the desktop-bugs mailing list