summaryrefslogtreecommitdiff
path: root/plugins/minimize.c
diff options
context:
space:
mode:
authorDavid Reveman <davidr@novell.com>2006-09-19 12:21:58 -0400
committerDavid Reveman <davidr@novell.com>2006-09-19 12:21:58 -0400
commit62cf99f8b019a540daa084d5acab0a1efef5b54a (patch)
tree3b93ea232fb506fca01f8e74cea8189b9996c428 /plugins/minimize.c
parent7173e4c244236ea094cd8e9e7554518c16ab9f7d (diff)
Add version handling to plugin system.
Diffstat (limited to 'plugins/minimize.c')
-rw-r--r--plugins/minimize.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/plugins/minimize.c b/plugins/minimize.c
index 63575c07..76632dc3 100644
--- a/plugins/minimize.c
+++ b/plugins/minimize.c
@@ -1034,6 +1034,13 @@ minFini (CompPlugin *p)
freeDisplayPrivateIndex (displayPrivateIndex);
}
+static int
+minGetVersion (CompPlugin *plugin,
+ int version)
+{
+ return ABIVERSION;
+}
+
CompPluginDep minDeps[] = {
{ CompPluginRuleBefore, "cube" },
{ CompPluginRuleBefore, "scale" }
@@ -1043,6 +1050,7 @@ static CompPluginVTable minVTable = {
"minimize",
N_("Minimize Effect"),
N_("Transform windows when they are minimized and unminimized"),
+ minGetVersion,
minInit,
minFini,
minInitDisplay,