Commit e5e47e68 authored by Stefan Jeske's avatar Stefan Jeske
Browse files

fix for the compatibility fix

parent faa14347
......@@ -1320,7 +1320,8 @@ gtk_spin_button_spin (GtkSpinButton *spin_button,
/* for compatibility with the 1.0.x version of this function */
if (increment != 0 && increment != adj->step_increment &&
increment != adj->page_increment && direction != GTK_SPIN_USER_DEFINED)
(direction == GTK_SPIN_STEP_FORWARD ||
direction == GTK_SPIN_STEP_BACKWARD))
{
if (direction == GTK_SPIN_STEP_BACKWARD && increment > 0)
increment = -increment;
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment