calendar: Set GDK_SCROLL_MASK explicitly

selecting for button press/release doesn't suffice anymore to
get scroll events.
This commit is contained in:
Carlos Garnacho 2012-02-23 14:45:18 +01:00 committed by Matthias Clasen
parent a5c394e901
commit 2927218a26

View File

@ -1681,6 +1681,7 @@ gtk_calendar_realize (GtkWidget *widget)
attributes.wclass = GDK_INPUT_ONLY;
attributes.window_type = GDK_WINDOW_CHILD;
attributes.event_mask = (gtk_widget_get_events (widget) | GDK_EXPOSURE_MASK
| GDK_SCROLL_MASK
| GDK_BUTTON_PRESS_MASK | GDK_BUTTON_RELEASE_MASK
| GDK_POINTER_MOTION_MASK | GDK_LEAVE_NOTIFY_MASK);