diff options
author | Matthew Barnes <mbarnes@redhat.com> | 2013-02-16 07:38:49 +0800 |
---|---|---|
committer | Matthew Barnes <mbarnes@redhat.com> | 2013-02-16 07:38:49 +0800 |
commit | 73510c9d4bbcc34825d6717b9a84b8daf25aa587 (patch) | |
tree | f97ebfdb47758c514dab4bfa8657cf57e4f7af66 /calendar/gui/e-day-view.c | |
parent | 8e7f6aee3e1163833a5675cc567d81c2608f4a75 (diff) | |
download | gsoc2013-evolution-73510c9d4bbcc34825d6717b9a84b8daf25aa587.tar.gz gsoc2013-evolution-73510c9d4bbcc34825d6717b9a84b8daf25aa587.tar.zst gsoc2013-evolution-73510c9d4bbcc34825d6717b9a84b8daf25aa587.zip |
Remove old GTK+ version checks.
We require GTK+ 3.4, so no need to check for versions older than that.
Diffstat (limited to 'calendar/gui/e-day-view.c')
-rw-r--r-- | calendar/gui/e-day-view.c | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/calendar/gui/e-day-view.c b/calendar/gui/e-day-view.c index c18522a035..6f2b53507c 100644 --- a/calendar/gui/e-day-view.c +++ b/calendar/gui/e-day-view.c @@ -3396,14 +3396,12 @@ e_day_view_on_main_canvas_scroll (GtkWidget *widget, case GDK_SCROLL_DOWN: e_day_view_scroll (day_view, -E_DAY_VIEW_WHEEL_MOUSE_STEP_SIZE); return TRUE; - #if GTK_CHECK_VERSION(3,3,18) case GDK_SCROLL_SMOOTH: if (scroll->delta_y < -0.001 || scroll->delta_y > 0.001) { e_day_view_scroll (day_view, -E_DAY_VIEW_WHEEL_MOUSE_STEP_SIZE * scroll->delta_y); return TRUE; } break; - #endif default: break; } @@ -3423,14 +3421,12 @@ e_day_view_on_top_canvas_scroll (GtkWidget *widget, case GDK_SCROLL_DOWN: e_day_view_top_scroll (day_view, -E_DAY_VIEW_WHEEL_MOUSE_STEP_SIZE); return TRUE; - #if GTK_CHECK_VERSION(3,3,18) case GDK_SCROLL_SMOOTH: if (scroll->delta_y < -0.001 || scroll->delta_y > 0.001) { e_day_view_top_scroll (day_view, -E_DAY_VIEW_WHEEL_MOUSE_STEP_SIZE * scroll->delta_y); return TRUE; } break; - #endif default: break; } @@ -3457,14 +3453,12 @@ e_day_view_on_time_canvas_scroll (GtkWidget *widget, case GDK_SCROLL_DOWN: e_day_view_scroll (day_view, -E_DAY_VIEW_WHEEL_MOUSE_STEP_SIZE); return TRUE; - #if GTK_CHECK_VERSION(3,3,18) case GDK_SCROLL_SMOOTH: if (scroll->delta_y < -0.001 || scroll->delta_y > 0.001) { e_day_view_scroll (day_view, -E_DAY_VIEW_WHEEL_MOUSE_STEP_SIZE * scroll->delta_y); return TRUE; } break; - #endif default: break; } |