summaryrefslogtreecommitdiffstats
path: root/src/x11_in_qt4.cpp
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_qt4.cpp
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_qt4.cpp')
-rw-r--r--src/x11_in_qt4.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/x11_in_qt4.cpp b/src/x11_in_qt4.cpp
index dafb384..669c9b4 100644
--- a/src/x11_in_qt4.cpp
+++ b/src/x11_in_qt4.cpp
@@ -62,10 +62,10 @@ suil_wrapper_new(SuilHost* host,
wrapper->resize.handle = ew;
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)ew->winId());
- suil_add_feature(features, n_features++, LV2_UI__resize,
+ suil_add_feature(features, &n_features, LV2_UI__resize,
&wrapper->resize);
return wrapper;