diff --git a/gtk/gtkspinbutton.c b/gtk/gtkspinbutton.c index 020d9fb223..e3caddff84 100644 --- a/gtk/gtkspinbutton.c +++ b/gtk/gtkspinbutton.c @@ -679,6 +679,8 @@ gtk_spin_button_init (GtkSpinButton *spin_button) context = gtk_widget_get_style_context (GTK_WIDGET (spin_button)); gtk_style_context_add_class (context, GTK_STYLE_CLASS_SPINBUTTON); + + gtk_widget_add_events (GTK_WIDGET (spin_button), GDK_SCROLL_MASK); } static void