Commit 9f2a88cc authored by Egmont Koblinger's avatar Egmont Koblinger

build: Use consistent version check for smooth scroll

parent 0941913e
......@@ -11439,7 +11439,7 @@ vte_terminal_scroll(GtkWidget *widget, GdkEventScroll *event)
terminal->pvt->mouse_smooth_scroll_delta += 1.;
_vte_debug_print(VTE_DEBUG_EVENTS, "Scroll down\n");
break;
#if GTK_CHECK_VERSION (3, 3, 18)
#if GTK_CHECK_VERSION (3, 4, 0)
case GDK_SCROLL_SMOOTH:
gdk_event_get_scroll_deltas ((GdkEvent*) event, &delta_x, &delta_y);
terminal->pvt->mouse_smooth_scroll_delta += delta_y;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment