summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2020-12-17 11:57:15 +0100
committerDavid Robillard <d@drobilla.net>2020-12-17 11:57:15 +0100
commit5585cabd9c1e8de3e34c40ee46a449d18f7cab0a (patch)
tree88de06dfee91eb63be4c25b9eb07e314727e2dca /src
parent584ccd8144939e088186c2a8c364f5316131b05e (diff)
downloadganv-5585cabd9c1e8de3e34c40ee46a449d18f7cab0a.tar.gz
ganv-5585cabd9c1e8de3e34c40ee46a449d18f7cab0a.tar.bz2
ganv-5585cabd9c1e8de3e34c40ee46a449d18f7cab0a.zip
Fix unused parameter warnings
Diffstat (limited to 'src')
-rw-r--r--src/ganv_test.c9
1 files changed, 9 insertions, 0 deletions
diff --git a/src/ganv_test.c b/src/ganv_test.c
index c2e1534..b707c03 100644
--- a/src/ganv_test.c
+++ b/src/ganv_test.c
@@ -20,24 +20,33 @@
static void
on_window_destroy(GtkWidget* widget, void* data)
{
+ (void)widget;
+ (void)data;
+
gtk_main_quit();
}
static void
on_connect(GanvCanvas* canvas, GanvNode* tail, GanvNode* head, void* data)
{
+ (void)data;
+
ganv_edge_new(canvas, tail, head, "color", 0xFFFFFFFF, NULL);
}
static void
on_disconnect(GanvCanvas* canvas, GanvNode* tail, GanvNode* head, void* data)
{
+ (void)data;
+
ganv_canvas_remove_edge_between(canvas, tail, head);
}
static void
on_value_changed(GanvPort* port, double value, void* data)
{
+ (void)data;
+
fprintf(stderr, "Value changed: port %p = %lf\n", (void*)port, value);
}