summaryrefslogtreecommitdiffstats
path: root/src/qt4_in_gtk2.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'src/qt4_in_gtk2.cpp')
-rw-r--r--src/qt4_in_gtk2.cpp8
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));