diff options
author | David Robillard <d@drobilla.net> | 2020-12-17 11:57:15 +0100 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-12-17 11:57:15 +0100 |
commit | 5585cabd9c1e8de3e34c40ee46a449d18f7cab0a (patch) | |
tree | 88de06dfee91eb63be4c25b9eb07e314727e2dca /src/ganv_test.c | |
parent | 584ccd8144939e088186c2a8c364f5316131b05e (diff) | |
download | ganv-5585cabd9c1e8de3e34c40ee46a449d18f7cab0a.tar.gz ganv-5585cabd9c1e8de3e34c40ee46a449d18f7cab0a.tar.bz2 ganv-5585cabd9c1e8de3e34c40ee46a449d18f7cab0a.zip |
Fix unused parameter warnings
Diffstat (limited to 'src/ganv_test.c')
-rw-r--r-- | src/ganv_test.c | 9 |
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); } |