diff options
author | David Robillard <d@drobilla.net> | 2011-04-28 00:40:03 +0000 |
---|---|---|
committer | David Robillard <d@drobilla.net> | 2011-04-28 00:40:03 +0000 |
commit | 3f09b87f2a1d6d0b6c913be7e95ce58b2d5ec80b (patch) | |
tree | 5362a4e0725d80a26376870422203e41af2bd377 /src/qt4_in_gtk2.cpp | |
parent | f5e6d0f800973cb7e834b838888c749d574d02be (diff) | |
download | suil-3f09b87f2a1d6d0b6c913be7e95ce58b2d5ec80b.tar.gz suil-3f09b87f2a1d6d0b6c913be7e95ce58b2d5ec80b.tar.bz2 suil-3f09b87f2a1d6d0b6c913be7e95ce58b2d5ec80b.zip |
Don't hide pointers behind typedefs.
git-svn-id: http://svn.drobilla.net/lad/trunk/suil@3203 a436a847-0d15-0410-975c-d299462d15a1
Diffstat (limited to 'src/qt4_in_gtk2.cpp')
-rw-r--r-- | src/qt4_in_gtk2.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/qt4_in_gtk2.cpp b/src/qt4_in_gtk2.cpp index a940fcf..e056b65 100644 --- a/src/qt4_in_gtk2.cpp +++ b/src/qt4_in_gtk2.cpp @@ -62,7 +62,7 @@ GType wrap_widget_get_type(void); // Accessor for GTK_TYPE_WIDGET struct _WrapWidgetPrivate { QX11EmbedWidget* qembed; - SuilInstance instance; + SuilInstance* instance; }; G_DEFINE_TYPE(WrapWidget, wrap_widget, GTK_TYPE_SOCKET); @@ -116,9 +116,9 @@ wrap_widget_realize(GtkWidget* w, gpointer data) SUIL_API int -suil_wrap(const char* host_type_uri, - const char* ui_type_uri, - SuilInstance instance) +suil_wrap(const char* host_type_uri, + const char* ui_type_uri, + SuilInstance* instance) { WrapWidget* const wrap = WRAP_WIDGET(g_object_new(WRAP_TYPE_WIDGET, NULL)); |