mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-11 11:20:12 +00:00
scalebutton: Set GDK_SCROLL_MASK explicitly
selecting for button press/release doesn't suffice anymore to get scroll events.
This commit is contained in:
parent
939ed582ec
commit
377eb396a3
@ -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 *
|
||||
|
Loading…
Reference in New Issue
Block a user