View | Details | Raw Unified | Return to bug 19323
Collapse All | Expand All

(-)gtk+-2.14.7/gtk/gtkscrolledwindow.c.orig (-1 / +1 lines)
Lines 1501-1507 Link Here
1501
  g_return_val_if_fail (GTK_IS_SCROLLED_WINDOW (widget), FALSE);
1501
  g_return_val_if_fail (GTK_IS_SCROLLED_WINDOW (widget), FALSE);
1502
  g_return_val_if_fail (event != NULL, FALSE);  
1502
  g_return_val_if_fail (event != NULL, FALSE);  
1503
1503
1504
  if (event->direction == GDK_SCROLL_UP || event->direction == GDK_SCROLL_DOWN)
1504
  if ((event->direction == GDK_SCROLL_UP || event->direction == GDK_SCROLL_DOWN) && !(event->state & GDK_SHIFT_MASK))
1505
    range = GTK_SCROLLED_WINDOW (widget)->vscrollbar;
1505
    range = GTK_SCROLLED_WINDOW (widget)->vscrollbar;
1506
  else
1506
  else
1507
    range = GTK_SCROLLED_WINDOW (widget)->hscrollbar;
1507
    range = GTK_SCROLLED_WINDOW (widget)->hscrollbar;

Return to bug 19323