diff options
author | David Robillard <d@drobilla.net> | 2012-04-11 04:48:38 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2012-04-11 04:48:38 +0000 |
commit | f6263cffe3289c8d8c1566195fbf0f4d14ffdc27 (patch) | |
tree | 96c3ec5a8a28207b335d018e0468b0e8b3e7b0fc /src/gtk2_in_qt4.cpp | |
parent | 1b3485bcd0fa09e44aff5457db1d399b611a7151 (diff) | |
download | suil-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/gtk2_in_qt4.cpp')
-rw-r--r-- | src/gtk2_in_qt4.cpp | 15 |
1 files changed, 7 insertions, 8 deletions
diff --git a/src/gtk2_in_qt4.cpp b/src/gtk2_in_qt4.cpp index a10d380..488614a 100644 --- a/src/gtk2_in_qt4.cpp +++ b/src/gtk2_in_qt4.cpp @@ -51,10 +51,10 @@ wrapper_wrap(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) { /* We have to open libgtk here, so Gtk type symbols are present and will be found by the introspection stuff. This is required at least to make @@ -73,10 +73,9 @@ suil_wrapper_new(SuilHost* host, } SuilWrapper* wrapper = (SuilWrapper*)malloc(sizeof(SuilWrapper)); - wrapper->wrap = wrapper_wrap; - wrapper->free = (SuilWrapperFreeFunc)free; - wrapper->features = (LV2_Feature**)features; - wrapper->impl = NULL; + wrapper->wrap = wrapper_wrap; + wrapper->free = (SuilWrapperFreeFunc)free; + wrapper->impl = NULL; return wrapper; } |