adg-demo: update spin buttons before getting the values
commitefe23d836946dad75788a9dd6122c73ecce8a61e
authorNicola Fontana <ntd@entidi.it>
Sat, 24 Mar 2012 08:57:11 +0000 (24 09:57 +0100)
committerNicola Fontana <ntd@entidi.it>
Sat, 24 Mar 2012 08:57:11 +0000 (24 09:57 +0100)
treef731fad0ba2832b9eb9e5a8e7a4e8eace885639a
parent8b516e633d0af3e492b47887aa57253c35e3c0af
adg-demo: update spin buttons before getting the values

Put a gtk_spin_button_update() before gtk_spin_button_get_value() so the
returned float is correct also when entering the value with the keyboard.
demo/adg-demo.c