summaryrefslogtreecommitdiffstats
path: root/src/x11_in_gtk2.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/x11_in_gtk2.c')
-rw-r--r--src/x11_in_gtk2.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/x11_in_gtk2.c b/src/x11_in_gtk2.c
index 3041b07..742a0b6 100644
--- a/src/x11_in_gtk2.c
+++ b/src/x11_in_gtk2.c
@@ -113,6 +113,8 @@ get_parent_window(Display* display, Window child)
static gboolean
on_plug_removed(GtkSocket* sock, gpointer data)
{
+ (void)data;
+
SuilX11Wrapper* const self = SUIL_X11_WRAPPER(sock);
if (self->idle_id) {
@@ -368,6 +370,8 @@ suil_x11_on_size_allocate(GtkWidget* widget,
static void
suil_x11_on_map_event(GtkWidget* widget, GdkEvent* event)
{
+ (void)event;
+
SuilX11Wrapper* const self = SUIL_X11_WRAPPER(widget);
/* Reset the size request to the minimum sizes. This is called after the
@@ -524,6 +528,10 @@ suil_wrapper_new(SuilHost* host,
LV2_Feature*** features,
unsigned n_features)
{
+ (void)host;
+ (void)host_type_uri;
+ (void)ui_type_uri;
+
SuilWrapper* wrapper = (SuilWrapper*)calloc(1, sizeof(SuilWrapper));
wrapper->wrap = wrapper_wrap;
wrapper->free = wrapper_free;