summaryrefslogtreecommitdiffstats
path: root/src/x11_in_gtk2.c
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-08-02 22:12:06 +0000
committerDavid Robillard <d@drobilla.net>2012-08-02 22:12:06 +0000
commit0bb37e7451f42fe82b28145455a71c56c92174b8 (patch)
treeade81993e9add2e2fdb64555af7a53a437386a79 /src/x11_in_gtk2.c
parent2f49d76d50c658eabd765245b51332924cd62147 (diff)
downloadsuil-0bb37e7451f42fe82b28145455a71c56c92174b8.tar.gz
suil-0bb37e7451f42fe82b28145455a71c56c92174b8.tar.bz2
suil-0bb37e7451f42fe82b28145455a71c56c92174b8.zip
Replace host provided features that match Suil implemented features, rather
than passing UIs duplicate features. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4599 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/x11_in_gtk2.c')
-rw-r--r--src/x11_in_gtk2.c4
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;