]> Pileus Git - ~andy/gtk/commit
assert that the passed in arrow is always _UP or _DOWN, this catches false
authorTim Janik <timj@gtk.org>
Fri, 25 Jan 2002 13:22:00 +0000 (13:22 +0000)
committerTim Janik <timj@src.gnome.org>
Fri, 25 Jan 2002 13:22:00 +0000 (13:22 +0000)
commit9c6dc3d52d87d1c0c53aa2dc99f7e3b8f9436a28
treebbc0d22d0701e4071cfde8ac4664e976e7d8099f
parent2ccd6fd5d7dd8058a79578d46fa543c19fbb8055
assert that the passed in arrow is always _UP or _DOWN, this catches false

Fri Jan 25 14:03:36 2002  Tim Janik  <timj@gtk.org>

        * gtk/gtkspinbutton.c (gtk_spin_button_draw_arrow): assert
        that the passed in arrow is always _UP or _DOWN, this catches
        false invocations which lead to drawing artefacts.
        (start_spinning): likewise, i.e. sanity check the passed in arrow.
        (gtk_spin_button_button_release): fix arrow redrawing.
        (gtk_spin_button_button_press): must set click_child for
        button3 even if we don't take spinning action right away.

        * gtk/gtkspinbutton.h (struct _GtkSpinButton): document
        valid values for click_child.
ChangeLog
ChangeLog.pre-2-0
ChangeLog.pre-2-10
ChangeLog.pre-2-2
ChangeLog.pre-2-4
ChangeLog.pre-2-6
ChangeLog.pre-2-8
gtk/gtkspinbutton.c
gtk/gtkspinbutton.h