Commit 377eb396 authored by Carlos Garnacho's avatar Carlos Garnacho Committed by Matthias Clasen

scalebutton: Set GDK_SCROLL_MASK explicitly

selecting for button press/release doesn't suffice anymore to
get scroll events.
parent 939ed582
......@@ -415,6 +415,8 @@ gtk_scale_button_init (GtkScaleButton *button)
/* the scale */
priv->scale = gtk_scale_button_scale_new (button);
gtk_container_add (GTK_CONTAINER (priv->box), priv->scale);
gtk_widget_add_events (GTK_WIDGET (button), GDK_SCROLL_MASK);
static GObject *
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