treeview: 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:18:27 +01:00 committed by Matthias Clasen
parent 76462df59f
commit faa1d9b8f8

View File

@ -2237,6 +2237,7 @@ gtk_tree_view_realize (GtkWidget *widget)
attributes.height = allocation.height;
attributes.event_mask = (GDK_EXPOSURE_MASK |
GDK_SCROLL_MASK |
GDK_SMOOTH_SCROLL_MASK |
GDK_POINTER_MOTION_MASK |
GDK_ENTER_NOTIFY_MASK |
GDK_LEAVE_NOTIFY_MASK |