gtk_spin_button_update in ..get_value_as.. functions



Fri Jan  8 00:42:00 1999  Lars Hamann  <lars@gtk.org>

        * gtk/gtkspinbutton.c (gtk_spin_button_get_value_as_int)
        (gtk_spin_button_get_value_as_float): call gtk_spin_button_update
        before returning a value

This seems to cause a massive headache for gimp's file new dialog, since
the text is always synchronized, when you query the current value, thus
you can't clear the entry completely, which makes entering new values
a pain.

The previous thread about this seemed to conclude that doing this was
a bad idea, yet this wasn't changed back... (the problem this change
was supposed to have solved is still solvable since gtk_spin_button_update
is public).

-Yosh



[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]