summaryrefslogtreecommitdiffstats
path: root/src/libnrtype
diff options
context:
space:
mode:
authorPeter Moulder <peter.moulder@monash.edu>2007-11-05 03:12:48 +0000
committerpjrm <pjrm@users.sourceforge.net>2007-11-05 03:12:48 +0000
commitfc75a47012f5aed6474655da435639918bdcfd0f (patch)
tree2d0088dcc08712c175b96011379822c606502bec /src/libnrtype
parentWarning cleanup (diff)
downloadinkscape-fc75a47012f5aed6474655da435639918bdcfd0f.tar.gz
inkscape-fc75a47012f5aed6474655da435639918bdcfd0f.zip
noop: Slight simplification now that we already require gtk >= 2.6 (and indeed >= 2.8).
(bzr r4029)
Diffstat (limited to 'src/libnrtype')
-rwxr-xr-xsrc/libnrtype/Layout-TNG-Output.cpp3
1 files changed, 0 insertions, 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 <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";