summaryrefslogtreecommitdiff
path: root/gtk/gtktoolpalette.c
diff options
context:
space:
mode:
authorJuan Pablo Ugarte <juanpablougarte@gmail.com>2013-02-11 17:52:35 -0300
committerJuan Pablo Ugarte <juanpablougarte@gmail.com>2013-02-13 19:39:45 -0300
commit3472edb38dcc262772907322918995c0c56e4bbc (patch)
tree0359a300401860f8975fbcf0195a8550b5540c36 /gtk/gtktoolpalette.c
parent880391cded8d49331c90e4b44a65ff281b9714b0 (diff)
downloadgtk+-3472edb38dcc262772907322918995c0c56e4bbc.tar.gz
Added scroll and touch events to GtkToolPalette
Diffstat (limited to 'gtk/gtktoolpalette.c')
-rw-r--r--gtk/gtktoolpalette.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/gtk/gtktoolpalette.c b/gtk/gtktoolpalette.c
index 8c77ec1b58..3d9d7f3ccc 100644
--- a/gtk/gtktoolpalette.c
+++ b/gtk/gtktoolpalette.c
@@ -727,7 +727,9 @@ gtk_tool_palette_realize (GtkWidget *widget)
attributes.event_mask = gtk_widget_get_events (widget)
| GDK_VISIBILITY_NOTIFY_MASK | GDK_EXPOSURE_MASK
| GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
- | GDK_BUTTON_MOTION_MASK;
+ | GDK_BUTTON_MOTION_MASK
+ | GDK_SCROLL_MASK | GDK_SMOOTH_SCROLL_MASK
+ | GDK_TOUCH_MASK;
attributes_mask = GDK_WA_X | GDK_WA_Y | GDK_WA_VISUAL;
window = gdk_window_new (gtk_widget_get_parent_window (widget),