diff options
Diffstat (limited to 'src/x11_in_gtk2.c')
-rw-r--r-- | src/x11_in_gtk2.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11_in_gtk2.c b/src/x11_in_gtk2.c index 14b0ea2..abb58f6 100644 --- a/src/x11_in_gtk2.c +++ b/src/x11_in_gtk2.c @@ -150,10 +150,10 @@ suil_wrapper_new(SuilHost* host, wrapper->resize.handle = wrap; wrapper->resize.ui_resize = wrapper_resize; - suil_add_feature(features, n_features++, LV2_UI__parent, + suil_add_feature(features, &n_features, LV2_UI__parent, (void*)(intptr_t)gtk_plug_get_id(wrap->plug)); - suil_add_feature(features, n_features++, LV2_UI__resize, + suil_add_feature(features, &n_features, LV2_UI__resize, &wrapper->resize); return wrapper; |