diff options
author | David Robillard <d@drobilla.net> | 2011-02-26 19:50:40 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-02-26 19:50:40 +0000 |
commit | 6d9eb6348632f30356228a0154c25bd8e279e415 (patch) | |
tree | c88f829f2db4e6796c20aefd3b5c5aa7f34addf1 /src/gtk2_in_qt4.cpp | |
parent | 344d4bb90cee789e561e1b5684ca9076f255121b (diff) | |
download | suil-6d9eb6348632f30356228a0154c25bd8e279e415.tar.gz suil-6d9eb6348632f30356228a0154c25bd8e279e415.tar.bz2 suil-6d9eb6348632f30356228a0154c25bd8e279e415.zip |
Fix suil_wrap signature.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3030 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/gtk2_in_qt4.cpp')
-rw-r--r-- | src/gtk2_in_qt4.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/src/gtk2_in_qt4.cpp b/src/gtk2_in_qt4.cpp index b5b8ca1..b7fb576 100644 --- a/src/gtk2_in_qt4.cpp +++ b/src/gtk2_in_qt4.cpp @@ -38,16 +38,16 @@ suil_wrap_init(const char* host_type_uri, /** Dynamic module entry point. */ SUIL_API int -suil_wrap(SuilInstance instance, - const char* host_type_uri, - const char* ui_type_uri) +suil_wrap(const char* host_type_uri, + const char* ui_type_uri, + SuilInstance instance) { - GtkWidget* plug = gtk_plug_new(0); + GtkWidget* const plug = gtk_plug_new(0); gtk_container_add(GTK_CONTAINER(plug), (GtkWidget*)instance->ui_widget); - QX11EmbedContainer* wrapper = new QX11EmbedContainer(); + QX11EmbedContainer* const wrapper = new QX11EmbedContainer(); wrapper->embedClient(gtk_plug_get_id(GTK_PLUG(plug))); instance->host_widget = wrapper; |