From 5700f08ca7b05df559a0829c04d7874e3c4d86b9 Mon Sep 17 00:00:00 2001 From: Jonny Lamb Date: Mon, 7 Feb 2011 13:28:30 +0000 Subject: plugin: add padding and API version Signed-off-by: Jonny Lamb --- plugins/test.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'plugins') diff --git a/plugins/test.c b/plugins/test.c index 6fbc83f7..24fdd98e 100644 --- a/plugins/test.c +++ b/plugins/test.c @@ -1,3 +1,5 @@ +#include "config.h" + #include "test.h" #include @@ -40,7 +42,9 @@ plugin_iface_init ( { SalutPluginInterface *iface = g_iface; + iface->api_version = SALUT_PLUGIN_CURRENT_VERSION; iface->name = "Salut test plugin"; + iface->version = PACKAGE_VERSION; iface->create_channel_managers = create_channel_managers; } -- cgit v1.2.1