Fix bug in calculation of number of toggle states
authorPadraig O'Briain <padraigo@src.gnome.org>
Mon, 19 Nov 2001 10:13:52 +0000 (10:13 +0000)
committerPadraig O'Briain <padraigo@src.gnome.org>
Mon, 19 Nov 2001 10:13:52 +0000 (10:13 +0000)
commit65234b02406950b3e2114b5f3d86abf9c746ef77
treeda0d8569aca95f3b7993df89f9bf0dc8de8325a9
parent40be3ed8f7999eb778319be2ba783850cd4ed901
Fix bug in calculation of number of toggle states

* atk/atkobject.c (atk_object_notify_state_change):
Fix bug in calculation of number of toggle states

* atk/atkstate.c:
Correct out-by-1 error in atk_state_type_register()
Use type (number of states defined) in atk_state_type_get_name()
and atk_state_type_for_name()
ChangeLog
atk/atkobject.c
atk/atkstate.c