[cheese] Remove outdated GTK+ version check



commit 8e6b9cf9e3c14eb2ed1d47ae338a64cf040ed746
Author: David King <amigadave amigadave com>
Date:   Mon Sep 15 08:20:27 2014 +0100

    Remove outdated GTK+ version check

 src/thumbview/eog-thumb-nav.c |    2 --
 1 files changed, 0 insertions(+), 2 deletions(-)
---
diff --git a/src/thumbview/eog-thumb-nav.c b/src/thumbview/eog-thumb-nav.c
index dcacda9..b170391 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;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]