summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Seguin <guillaume@segu.in>2007-08-31 02:09:23 +0200
committerGuillaume Seguin <guillaume@segu.in>2007-08-31 02:09:23 +0200
commitc9a82158978fe032b0610b37221426341b7c3c0b (patch)
tree8d46cc2e7eaeeab124a7104b53eda3a04f75cf39
parent82b1aa0f9b88b80a79f0fd50d5de08cb5da6561e (diff)
downloadfadedesktop-c9a82158978fe032b0610b37221426341b7c3c0b.tar.gz
fadedesktop-c9a82158978fe032b0610b37221426341b7c3c0b.tar.bz2
* Check core plugin ABIVERSION
-rw-r--r--fadedesktop.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/fadedesktop.c b/fadedesktop.c
index d4613d7..ca76ef7 100644
--- a/fadedesktop.c
+++ b/fadedesktop.c
@@ -325,6 +325,8 @@ static void fadeDesktopFini(CompPlugin *p)
static Bool fadeDesktopInitDisplay(CompPlugin *p, CompDisplay *d)
{
FadeDesktopDisplay *fd;
+ if (!checkPluginABI ("core", CORE_ABIVERSION))
+ return FALSE;
fd = malloc(sizeof(FadeDesktopDisplay));
if (!fd)
return FALSE;