summaryrefslogtreecommitdiffstats
path: root/xparts/src/gtk/gtkpart.c
diff options
context:
space:
mode:
authortpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-02 01:48:15 +0000
committertpearson <tpearson@283d02a7-25f6-0310-bc7c-ecb5cbfe19da>2011-10-02 01:48:15 +0000
commit8535db1bd8fd6b5da3ff2c785bdd7512f53779e3 (patch)
tree52abb6724e038e513c4ff77d9476c17f0bb298a9 /xparts/src/gtk/gtkpart.c
parent95b02a470fa233548b3c3be0cff13caf4c88ba21 (diff)
downloadtdebindings-8535db1bd8fd6b5da3ff2c785bdd7512f53779e3.tar.gz
tdebindings-8535db1bd8fd6b5da3ff2c785bdd7512f53779e3.zip
Apply initial code patches to the mozilla kparts plugin to allow for code compilablility
This does not enable the build system for the plugin at this time Thanks go to Julius Schwartzenberg for his effort to fix this plugin, especially on the DCOP side of things! git-svn-id: svn://anonsvn.kde.org/home/kde/branches/trinity/kdebindings@1256724 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
Diffstat (limited to 'xparts/src/gtk/gtkpart.c')
-rw-r--r--xparts/src/gtk/gtkpart.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/xparts/src/gtk/gtkpart.c b/xparts/src/gtk/gtkpart.c
index 655b7aa5..2a214123 100644
--- a/xparts/src/gtk/gtkpart.c
+++ b/xparts/src/gtk/gtkpart.c
@@ -22,7 +22,7 @@ struct _GtkXPartPrivate {
};
#define P ((GtkXPartPrivate *)(part->data))
-#define CLASS(obj) GTK_XPART_CLASS(GTK_OBJECT(obj)->klass)
+#define CLASS(obj) GTK_XPART_CLASS(GTK_OBJECT_GET_CLASS(obj))
/* class and instance initialization */
@@ -131,7 +131,7 @@ gboolean gtk_xpart_dcop_process( DcopObject *obj, const char *fun, dcop_data *da
{
GtkXPart *part = GTK_XPART(obj);
GtkXPartPrivate *d = (GtkXPartPrivate *)part->data;
- GtkXPartClass *klass = GTK_XPART_CLASS(GTK_OBJECT(part)->klass);
+ GtkXPartClass *klass = GTK_XPART_CLASS(GTK_OBJECT_GET_CLASS(part));
gboolean b;
if ( strcmp( fun, "windowId()" ) == 0 )