summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid King <amigadave@amigadave.com>2014-09-15 08:20:27 +0100
committerDavid King <amigadave@amigadave.com>2014-09-15 08:20:27 +0100
commit8e6b9cf9e3c14eb2ed1d47ae338a64cf040ed746 (patch)
tree26ad42b26ec74d47e541836ec87b86a9df4365d9
parentb87dd0c3adecbfbb5d5c9ceeb7a37498c857e9ce (diff)
Remove outdated GTK+ version check
-rw-r--r--src/thumbview/eog-thumb-nav.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/src/thumbview/eog-thumb-nav.c b/src/thumbview/eog-thumb-nav.c
index dcacda93..b1703916 100644
--- a/src/thumbview/eog-thumb-nav.c
+++ b/src/thumbview/eog-thumb-nav.c
@@ -79,7 +79,6 @@ eog_thumb_nav_scroll_event (GtkWidget *widget, GdkEventScroll *event, gpointer u
switch (event->direction)
{
-#if GTK_CHECK_VERSION (3, 3, 18)
/* Handle smooth scroll events from mouse wheels, bug 672311. */
case GDK_SCROLL_SMOOTH:
smooth = gdk_event_get_scroll_deltas ((const GdkEvent *) event,
@@ -90,7 +89,6 @@ eog_thumb_nav_scroll_event (GtkWidget *widget, GdkEventScroll *event, gpointer u
inc *= (gint) delta_y;
break;
-#endif
case GDK_SCROLL_UP:
case GDK_SCROLL_LEFT:
inc *= -1;