diff options
author | David Robillard <d@drobilla.net> | 2020-07-15 20:00:37 +0200 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2020-07-17 17:13:30 +0200 |
commit | 07eb022d816bcefdc46f11e608e4a79de164eeb0 (patch) | |
tree | 6bb285a0f60359d29fbf2ab4238db75b5f1b02d0 /src/gtk2_in_qt5.cpp | |
parent | ad74225162512882afdceb3b3912473340f550eb (diff) | |
download | suil-07eb022d816bcefdc46f11e608e4a79de164eeb0.tar.gz suil-07eb022d816bcefdc46f11e608e4a79de164eeb0.tar.bz2 suil-07eb022d816bcefdc46f11e608e4a79de164eeb0.zip |
Fix Wunused-parameter warnings
Diffstat (limited to 'src/gtk2_in_qt5.cpp')
-rw-r--r-- | src/gtk2_in_qt5.cpp | 18 |
1 files changed, 7 insertions, 11 deletions
diff --git a/src/gtk2_in_qt5.cpp b/src/gtk2_in_qt5.cpp index 50b9012..1b2a429 100644 --- a/src/gtk2_in_qt5.cpp +++ b/src/gtk2_in_qt5.cpp @@ -37,18 +37,14 @@ struct _SuilGtk2InQt5Wrapper { }; static void -on_size_request(GtkWidget* widget, - GtkRequisition* requisition, - gpointer user_data) +on_size_request(GtkWidget*, GtkRequisition* requisition, gpointer user_data) { QWidget* const wrap = (QWidget*)user_data; wrap->setMinimumSize(requisition->width, requisition->height); } static void -on_size_allocate(GtkWidget* widget, - GdkRectangle* allocation, - gpointer user_data) +on_size_allocate(GtkWidget*, GdkRectangle* allocation, gpointer user_data) { QWidget* const wrap = (QWidget*)user_data; wrap->resize(allocation->width, allocation->height); @@ -120,11 +116,11 @@ wrapper_wrap(SuilWrapper* wrapper, SUIL_LIB_EXPORT SuilWrapper* -suil_wrapper_new(SuilHost* host, - const char* host_type_uri, - const char* ui_type_uri, - LV2_Feature*** features, - unsigned n_features) +suil_wrapper_new(SuilHost* host, + const char*, + const char*, + LV2_Feature***, + unsigned) { /* We have to open libgtk here, so Gtk type symbols are present and will be found by the introspection stuff. This is required at least to make |