summaryrefslogtreecommitdiffstats
path: root/src/ui/tools-switch.h
diff options
context:
space:
mode:
authorAlex Valavanis <valavanisalex@gmail.com>2015-11-21 11:57:48 +0000
committerAlex Valavanis <valavanisalex@gmail.com>2015-11-21 11:57:48 +0000
commit37c1a351b7db98d0d09531f811e310615abd955e (patch)
treed3c97f40b94a9c097d9c4b4e04d74c560a237f19 /src/ui/tools-switch.h
parentFix CMake build (diff)
downloadinkscape-37c1a351b7db98d0d09531f811e310615abd955e.tar.gz
inkscape-37c1a351b7db98d0d09531f811e310615abd955e.zip
Hide unused verbs if Potrace is not available
(bzr r14449.1.7)
Diffstat (limited to 'src/ui/tools-switch.h')
-rw-r--r--src/ui/tools-switch.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/ui/tools-switch.h b/src/ui/tools-switch.h
index 280837e87..d396597ca 100644
--- a/src/ui/tools-switch.h
+++ b/src/ui/tools-switch.h
@@ -12,6 +12,10 @@
#ifndef SEEN_TOOLS_SWITCH_H
#define SEEN_TOOLS_SWITCH_H
+#if HAVE_CONFIG_H
+# include "config.h"
+#endif
+
class SPDesktop;
class SPItem;
namespace Geom {
@@ -40,7 +44,11 @@ enum {
TOOLS_MEASURE,
TOOLS_DROPPER,
TOOLS_CONNECTOR,
+
+#if HAVE_POTRACE
TOOLS_PAINTBUCKET,
+#endif
+
TOOLS_ERASER,
TOOLS_LPETOOL
};