From a16ccd50d2c6200ff99a7a507764671e9970ecf6 Mon Sep 17 00:00:00 2001 From: Nathan Lee <2431820-nathanal@users.noreply.gitlab.com> Date: Sun, 28 Jul 2019 23:27:26 +1000 Subject: If potrace unavailable, hide from the context menu Addresses gitlab.com/inkscape/inkscape/issues/354 --- src/ui/contextmenu.h | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ui/contextmenu.h') 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 -- cgit v1.2.3