[telepathy-gabble/master] Add a version to the gateways plugin.

Will Thompson will.thompson at collabora.co.uk
Thu Jan 21 04:57:41 PST 2010


I'm deliberately not setting a version on the test plugin to make sure
Gabble copes with it being NULL.
---
 plugins/gateways.c |    3 +++
 1 files changed, 3 insertions(+), 0 deletions(-)

diff --git a/plugins/gateways.c b/plugins/gateways.c
index 5f648e0..e5699dc 100644
--- a/plugins/gateways.c
+++ b/plugins/gateways.c
@@ -19,6 +19,8 @@
 
 #include "gateways.h"
 
+#include "config.h"
+
 #include <telepathy-glib/dbus.h>
 #include <telepathy-glib/util.h>
 #include <telepathy-glib/errors.h>
@@ -104,6 +106,7 @@ plugin_iface_init (
   GabblePluginInterface *iface = g_iface;
 
   iface->name = "Gateway registration plugin";
+  iface->version = PACKAGE_VERSION;
   iface->sidecar_interfaces = sidecar_interfaces;
   iface->create_sidecar = gabble_gateway_plugin_create_sidecar;
 }
-- 
1.5.6.5



More information about the telepathy-commits mailing list