summaryrefslogtreecommitdiffstats
path: root/src/qt4_in_gtk2.cpp
diff options
context:
space:
mode:
authorDavid Robillard <d@drobilla.net>2012-04-11 04:48:38 +0000
committerDavid Robillard <d@drobilla.net>2012-04-11 04:48:38 +0000
commitf6263cffe3289c8d8c1566195fbf0f4d14ffdc27 (patch)
tree96c3ec5a8a28207b335d018e0468b0e8b3e7b0fc /src/qt4_in_gtk2.cpp
parent1b3485bcd0fa09e44aff5457db1d399b611a7151 (diff)
downloadsuil-f6263cffe3289c8d8c1566195fbf0f4d14ffdc27.tar.gz
suil-f6263cffe3289c8d8c1566195fbf0f4d14ffdc27.tar.bz2
suil-f6263cffe3289c8d8c1566195fbf0f4d14ffdc27.zip
Add suil_host_set_touch_func.
Saner feature array manipulation. Implement port index and subscribe/unsubscribe functions via new UI features. git-svn-id: http://svn.drobilla.net/lad/trunk/suil@4160 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/qt4_in_gtk2.cpp')
-rw-r--r--src/qt4_in_gtk2.cpp15
1 files changed, 7 insertions, 8 deletions
diff --git a/src/qt4_in_gtk2.cpp b/src/qt4_in_gtk2.cpp
index 5d237b3..453af02 100644
--- a/src/qt4_in_gtk2.cpp
+++ b/src/qt4_in_gtk2.cpp
@@ -124,16 +124,15 @@ wrapper_free(SuilWrapper* wrapper)
SUIL_API
SuilWrapper*
-suil_wrapper_new(SuilHost* host,
- const char* host_type_uri,
- const char* ui_type_uri,
- const LV2_Feature* const* features)
+suil_wrapper_new(SuilHost* host,
+ const char* host_type_uri,
+ const char* ui_type_uri,
+ LV2_Feature*** features)
{
SuilWrapper* wrapper = (SuilWrapper*)malloc(sizeof(SuilWrapper));
- wrapper->wrap = wrapper_wrap;
- wrapper->free = wrapper_free;
- wrapper->features = (LV2_Feature**)features;
- wrapper->impl = NULL;
+ wrapper->wrap = wrapper_wrap;
+ wrapper->free = wrapper_free;
+ wrapper->impl = NULL;
SuilQtWrapper* const wrap = SUIL_QT_WRAPPER(
g_object_new(SUIL_TYPE_QT_WRAPPER, NULL));