diff options
author | David Robillard <d@drobilla.net> | 2011-06-01 19:14:25 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-06-01 19:14:25 +0000 |
commit | b4241912379b321a1a2ec0d192faff12f8db2101 (patch) | |
tree | 9f9bb51ca2aefbcf0f3499f9388a5048773c7d62 /src/suil_internal.h | |
parent | 02fe4df201838c381d4106ec92849cbb5b959ccb (diff) | |
download | suil-b4241912379b321a1a2ec0d192faff12f8db2101.tar.gz suil-b4241912379b321a1a2ec0d192faff12f8db2101.tar.bz2 suil-b4241912379b321a1a2ec0d192faff12f8db2101.zip |
Fix GtkBuilder using (and likely other) Gtk UIs in Qt4 hosts that do not link to Gtk (fix ticket #696).
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3345 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/suil_internal.h')
-rw-r--r-- | src/suil_internal.h | 16 |
1 files changed, 10 insertions, 6 deletions
diff --git a/src/suil_internal.h b/src/suil_internal.h index 53ee0a8..5987f1c 100644 --- a/src/suil_internal.h +++ b/src/suil_internal.h @@ -42,6 +42,7 @@ struct SuilHostImpl { SuilPortIndexFunc index_func; SuilPortSubscribeFunc subscribe_func; SuilPortUnsubscribeFunc unsubscribe_func; + void* gtk_lib; }; struct SuilInstanceImpl { @@ -52,12 +53,15 @@ struct SuilInstanceImpl { SuilWidget host_widget; }; -/** Type of a module's suil_wrap_init function. - * This initialisation function must be called before instantiating any - * UI that will need to be wrapped by this wrapper (e.g. it will perform any - * initialisation required to create a widget for the given toolkit). - */ -typedef int (*SuilWrapInitFunc)(const char* host_type_uri, +/** + Type of a module's suil_wrap_init function. + + This initialisation function must be called before instantiating any UI that + will need to be wrapped by this wrapper (e.g. it will perform any + initialisation required to create a widget for the given toolkit). +*/ +typedef int (*SuilWrapInitFunc)(SuilHost* host, + const char* host_type_uri, const char* ui_type_uri, const LV2_Feature* const* features); |