X-Git-Url: http://git.claws-mail.org/?p=claws.git;a=blobdiff_plain;f=src%2Fgtk%2Fgtkshruler.c;h=aaeb0fd639e2ac202fcc77041cd4a1ba1e41046e;hp=66e548f6d7770206b3401bb9b6a0bb8743f70271;hb=be8b88373a34eedf28533ea10ba363c569f925ef;hpb=b709b1aa7286c666820872707e557e2babfbcbed diff --git a/src/gtk/gtkshruler.c b/src/gtk/gtkshruler.c index 66e548f6d..aaeb0fd63 100644 --- a/src/gtk/gtkshruler.c +++ b/src/gtk/gtkshruler.c @@ -1,6 +1,6 @@ /* GtkSHRuler * - * Copyright (C) 2000-2005 Alfons Hoogervorst & The Claws Mail Team + * Copyright (C) 2000-2011 Alfons Hoogervorst & The Claws Mail Team * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Library General Public @@ -34,6 +34,8 @@ #include "utils.h" #include "gtkutils.h" +#if !GTK_CHECK_VERSION(2,24,0) + #define RULER_HEIGHT 14 #define MINIMUM_INCR 5 #define MAXIMUM_SUBDIVIDE 5 @@ -179,3 +181,4 @@ gtk_shruler_draw_ticks(GtkRuler *ruler) cairo_destroy(cr); } +#endif