From 1512d643db21507185a51aecd77c217c51f9c562 Mon Sep 17 00:00:00 2001 From: pjrm Date: Mon, 5 Nov 2007 03:12:48 +0000 Subject: [PATCH] noop: Slight simplification now that we already require gtk >= 2.6 (and indeed >= 2.8). --- src/libnrtype/Layout-TNG-Output.cpp | 3 --- 1 file changed, 3 deletions(-) diff --git a/src/libnrtype/Layout-TNG-Output.cpp b/src/libnrtype/Layout-TNG-Output.cpp index 21d8c8e48..d689fbe30 100755 --- a/src/libnrtype/Layout-TNG-Output.cpp +++ b/src/libnrtype/Layout-TNG-Output.cpp @@ -9,7 +9,6 @@ * Released under GNU GPL, read the file 'COPYING' for more information */ #include -#include #include "Layout-TNG.h" #include "display/nr-arena-glyphs.h" #include "style.h" @@ -345,9 +344,7 @@ static char const *weight_to_text(PangoWeight w) switch (w) { case PANGO_WEIGHT_ULTRALIGHT: return "ultralight"; case PANGO_WEIGHT_LIGHT : return "light"; -#if GTK_CHECK_VERSION(2,6,0) case PANGO_WEIGHT_SEMIBOLD : return "semibold"; -#endif case PANGO_WEIGHT_NORMAL : return "normalweight"; case PANGO_WEIGHT_BOLD : return "bold"; case PANGO_WEIGHT_ULTRABOLD : return "ultrabold"; -- 2.30.2