diff options
-rw-r--r-- | src/cocoa_in_gtk2.mm | 5 |
1 files changed, 5 insertions, 0 deletions
diff --git a/src/cocoa_in_gtk2.mm b/src/cocoa_in_gtk2.mm index 0bf9fe7..a47cc8b 100644 --- a/src/cocoa_in_gtk2.mm +++ b/src/cocoa_in_gtk2.mm @@ -286,6 +286,8 @@ suil_cocoa_wrapper_idle(void* data) static GdkFilterReturn event_filter(GdkXEvent* xevent, GdkEvent* event, gpointer data) { + (void)event; + SuilCocoaWrapper* wrap = (SuilCocoaWrapper*)data; if (!wrap->instance || !wrap->wrapper || !wrap->wrapper->impl) { return GDK_FILTER_CONTINUE; @@ -382,6 +384,9 @@ suil_wrapper_new(SuilHost* host, LV2_Feature*** features, unsigned n_features) { + (void)host; + (void)host_type_uri; + GtkWidget* parent = NULL; for (unsigned i = 0; i < n_features; ++i) { if (!strcmp((*features)[i]->URI, LV2_UI__parent)) { |