forked from AuroraMiddleware/gtk
scrolledwindow: fix copy/paste typo
fc28303948
refactored code into the
get_scroll_unit() function but introduced a copy/paste typo.
This commit is contained in:
parent
e0b1ea11cc
commit
6ff19bcedc
@ -3141,7 +3141,7 @@ gtk_scrolled_window_scroll_event (GtkWidget *widget,
|
||||
gdouble scroll_unit;
|
||||
|
||||
adj = gtk_range_get_adjustment (GTK_RANGE (priv->vscrollbar));
|
||||
scroll_unit = get_scroll_unit (scrolled_window, GTK_ORIENTATION_HORIZONTAL);
|
||||
scroll_unit = get_scroll_unit (scrolled_window, GTK_ORIENTATION_VERTICAL);
|
||||
|
||||
new_value = priv->unclamped_vadj_value + delta_y * scroll_unit;
|
||||
_gtk_scrolled_window_set_adjustment_value (scrolled_window, adj,
|
||||
|
Loading…
Reference in New Issue
Block a user