diff --git a/src/Eto.Gtk/Forms/Controls/TextStepperHandler.cs b/src/Eto.Gtk/Forms/Controls/TextStepperHandler.cs index db07f99b10..1d6c5570b7 100644 --- a/src/Eto.Gtk/Forms/Controls/TextStepperHandler.cs +++ b/src/Eto.Gtk/Forms/Controls/TextStepperHandler.cs @@ -10,12 +10,8 @@ namespace Eto.GtkSharp.Forms.Controls { public class TextStepperHandler : TextBoxHandler, TextStepper.IHandler { - #if GTK2 static Gtk.Adjustment DefaultAdjustment = new Gtk.Adjustment(0, 0, 2, 1, 1, 0); - #else - // in gtk3 the upper adjustment is not inclusive?? ugh - static Gtk.Adjustment DefaultAdjustment = new Gtk.Adjustment(0, 0, 3, 1, 1, 0); - #endif + int disableNotification; public TextStepperHandler()