summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDennis Kasprzyk <onestone@opencompositing.org>2008-03-19 18:22:02 +0100
committerDennis kasprzyk <onestone@opencompositing.org>2008-03-19 18:22:02 +0100
commit144f609c556d6947182f3295ea03bc1d924e46aa (patch)
tree71d1111007fb122973f789deb482f4ec9b65f49a
parente56989fb493c200c75a0aa71705cfcc281dc62ee (diff)
downloadbcop-144f609c556d6947182f3295ea03bc1d924e46aa.tar.gz
bcop-144f609c556d6947182f3295ea03bc1d924e46aa.tar.bz2
Fixed generic private defines.
-rw-r--r--src/bcop.xslt6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/bcop.xslt b/src/bcop.xslt
index 792ad73..8f169d6 100644
--- a/src/bcop.xslt
+++ b/src/bcop.xslt
@@ -1422,7 +1422,7 @@ CompPluginVTable * getCompPluginInfo (void);
#define PLUGIN_SCREEN(object, plugin, prefix) \
plugin##Screen * prefix##s = \
GET_PLUGIN_SCREEN (object, \
- GET_PLUGIN_DISPLAY (s->display, plugin), plugin)
+ GET_PLUGIN_DISPLAY ((object)->display, plugin), plugin)
#define GET_PLUGIN_WINDOW(object, parent, plugin) \
((plugin##Window *) \
@@ -1430,8 +1430,8 @@ CompPluginVTable * getCompPluginInfo (void);
#define PLUGIN_WINDOW(object, plugin, prefix) \
plugin##Window * prefix##w = \
GET_PLUGIN_WINDOW (object, \
- GET_PLUGIN_SCREEN (w->screen, \
- GET_PLUGIN_DISPLAY (w->screen->display, plugin), plugin), plugin)
+ GET_PLUGIN_SCREEN ((object)->screen, \
+ GET_PLUGIN_DISPLAY ((object)->screen->display, plugin), plugin), plugin)
#endif