From f6263cffe3289c8d8c1566195fbf0f4d14ffdc27 Mon Sep 17 00:00:00 2001 From: David Robillard Date: Wed, 11 Apr 2012 04:48:38 +0000 Subject: 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 --- src/gtk2_in_qt4.cpp | 15 +++++++-------- 1 file changed, 7 insertions(+), 8 deletions(-) (limited to 'src/gtk2_in_qt4.cpp') 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; } -- cgit v1.2.1