summaryrefslogtreecommitdiffstats
path: root/src/Canvas.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/Canvas.cpp')
-rw-r--r--src/Canvas.cpp5
1 files changed, 5 insertions, 0 deletions
diff --git a/src/Canvas.cpp b/src/Canvas.cpp
index 20d26fc..bc6ed00 100644
--- a/src/Canvas.cpp
+++ b/src/Canvas.cpp
@@ -2661,6 +2661,8 @@ ganv_canvas_arrange(GanvCanvas* canvas)
const double y = GANV_ITEM(*i)->impl->y;
g_signal_emit(*i, signal_moved, 0, x, y, NULL);
}
+#else
+ (void)canvas;
#endif
}
@@ -2738,6 +2740,9 @@ ganv_canvas_export_dot(GanvCanvas* canvas, const char* filename)
#ifdef HAVE_AGRAPH
GVNodes nodes = canvas->impl->layout_dot(filename);
nodes.cleanup();
+#else
+ (void)canvas;
+ (void)filename;
#endif
}