Code

noop: Slight simplification now that we already require gtk >= 2.6 (and indeed >...
authorpjrm <pjrm@users.sourceforge.net>
Mon, 5 Nov 2007 03:12:48 +0000 (03:12 +0000)
committerpjrm <pjrm@users.sourceforge.net>
Mon, 5 Nov 2007 03:12:48 +0000 (03:12 +0000)
src/libnrtype/Layout-TNG-Output.cpp

index 21d8c8e4883d8e7183acbbac066302a1e3a6ee64..d689fbe30c8f9066b9e9a1bfe7b9ae8a92e03a4b 100755 (executable)
@@ -9,7 +9,6 @@
  * Released under GNU GPL, read the file 'COPYING' for more information
  */
 #include <glib/gmem.h>
-#include <gtk/gtkversion.h>
 #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";