iconview: set GDK_SMOOTH_SCROLL_MASK

This is so smooth scroll events are send/handled by the
parent GtkScrolledWindow if any.
This commit is contained in:
Carlos Garnacho 2012-01-24 12:16:08 +01:00 committed by Matthias Clasen
parent 2a72e7b7b8
commit 7381a2788b

View File

@ -1284,6 +1284,7 @@ gtk_icon_view_realize (GtkWidget *widget)
attributes.height = MAX (icon_view->priv->height, allocation.height);
attributes.event_mask = (GDK_EXPOSURE_MASK |
GDK_SCROLL_MASK |
GDK_SMOOTH_SCROLL_MASK |
GDK_POINTER_MOTION_MASK |
GDK_BUTTON_PRESS_MASK |
GDK_BUTTON_RELEASE_MASK |