summaryrefslogtreecommitdiffstats
path: root/src/ui/contextmenu.h
diff options
context:
space:
mode:
authorNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-07-28 13:27:26 +0000
committerNathan Lee <2431820-nathanal@users.noreply.gitlab.com>2019-07-31 23:59:31 +0000
commita16ccd50d2c6200ff99a7a507764671e9970ecf6 (patch)
tree82c6023c8235a23fc1a429b47fb9f91dc3fa2202 /src/ui/contextmenu.h
parentUpdate snap build dependencies (diff)
downloadinkscape-a16ccd50d2c6200ff99a7a507764671e9970ecf6.tar.gz
inkscape-a16ccd50d2c6200ff99a7a507764671e9970ecf6.zip
If potrace unavailable, hide from the context menu
Addresses gitlab.com/inkscape/inkscape/issues/354
Diffstat (limited to 'src/ui/contextmenu.h')
-rw-r--r--src/ui/contextmenu.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ui/contextmenu.h b/src/ui/contextmenu.h
index aaf041d53..ea42d8a46 100644
--- a/src/ui/contextmenu.h
+++ b/src/ui/contextmenu.h
@@ -187,7 +187,9 @@ class ContextMenu : public Gtk::Menu
/**
* callback, is executed on clicking the "Trace Bitmap" menu entry
*/
+#if HAVE_POTRACE
void ImageTraceBitmap();
+#endif
/**
* callback, is executed on clicking the "Trace Pixel Art" menu entry