# HG changeset patch # User andrew.victor@mxit.com # Date 1296030968 0 # Node ID bcc22eeaf3fa1ac67647a0600df256a9f40a88bb # Parent 121ebd2eaea3fea91e2d9b07a1a05acc6ce3cbac It's no longer necessary to have a separate Plugin version for the MXit prpl. Just use the libpurple version. diff -r 121ebd2eaea3 -r bcc22eeaf3fa libpurple/protocols/mxit/actions.c --- a/libpurple/protocols/mxit/actions.c Thu Jan 13 11:13:26 2011 +0000 +++ b/libpurple/protocols/mxit/actions.c Wed Jan 26 08:36:08 2011 +0000 @@ -314,12 +314,11 @@ { char version[256]; - g_snprintf( version, sizeof( version ), "MXit libPurple Plugin v%s\n" + g_snprintf( version, sizeof( version ), "MXit Client Protocol v%i.%i\n\n" "Author:\nPieter Loubser\n\n" "Contributors:\nAndrew Victor\n\n" "Testers:\nBraeme Le Roux\n\n", - MXIT_PLUGIN_VERSION, ( MXIT_CP_PROTO_VESION / 10 ), ( MXIT_CP_PROTO_VESION % 10 ) ); mxit_popup( PURPLE_NOTIFY_MSG_INFO, _( "About" ), version ); diff -r 121ebd2eaea3 -r bcc22eeaf3fa libpurple/protocols/mxit/mxit.c --- a/libpurple/protocols/mxit/mxit.c Thu Jan 13 11:13:26 2011 +0000 +++ b/libpurple/protocols/mxit/mxit.c Wed Jan 26 08:36:08 2011 +0000 @@ -740,7 +740,7 @@ MXIT_PLUGIN_ID, /* plugin id (must be unique) */ MXIT_PLUGIN_NAME, /* plugin name (this will be displayed in the UI) */ - MXIT_PLUGIN_VERSION, /* version of the plugin */ + DISPLAY_VERSION, /* version of the plugin */ MXIT_PLUGIN_SUMMARY, /* short summary of the plugin */ MXIT_PLUGIN_DESC, /* description of the plugin (can be long) */ diff -r 121ebd2eaea3 -r bcc22eeaf3fa libpurple/protocols/mxit/mxit.h --- a/libpurple/protocols/mxit/mxit.h Thu Jan 13 11:13:26 2011 +0000 +++ b/libpurple/protocols/mxit/mxit.h Wed Jan 26 08:36:08 2011 +0000 @@ -63,13 +63,12 @@ /* Plugin details */ #define MXIT_PLUGIN_ID "prpl-loubserp-mxit" #define MXIT_PLUGIN_NAME "MXit" -#define MXIT_PLUGIN_VERSION "2.4.0" #define MXIT_PLUGIN_EMAIL "Pieter Loubser " #define MXIT_PLUGIN_WWW "http://www.mxit.com" #define MXIT_PLUGIN_SUMMARY "MXit Protocol Plugin" #define MXIT_PLUGIN_DESC "MXit" -#define MXIT_HTTP_USERAGENT "libpurple-"MXIT_PLUGIN_VERSION +#define MXIT_HTTP_USERAGENT "libpurple-"DISPLAY_VERSION /* default connection settings */