pidgin.mxit: 753a08d8: It's no longer necessary to have a separ...

andrew.victor at mxit.com andrew.victor at mxit.com
Wed Jan 26 03:40:46 EST 2011


----------------------------------------------------------------------
Revision: 753a08d80ac13d59fd47a14eff531df16c30d489
Parent:   d4c1a195b4e2ca531d94e6bbd0eaec8424675491
Author:   andrew.victor at mxit.com
Date:     01/26/11 03:36:08
Branch:   im.pidgin.pidgin.mxit
URL: http://d.pidgin.im/viewmtn/revision/info/753a08d80ac13d59fd47a14eff531df16c30d489

Changelog: 

It's no longer necessary to have a separate Plugin version for the MXit prpl.
Just use the libpurple version.


Changes against parent d4c1a195b4e2ca531d94e6bbd0eaec8424675491

  patched  libpurple/protocols/mxit/actions.c
  patched  libpurple/protocols/mxit/mxit.c
  patched  libpurple/protocols/mxit/mxit.h

-------------- next part --------------
============================================================
--- libpurple/protocols/mxit/actions.c	57bfee442f445bc227483c6e96cf56769fd7cf70
+++ libpurple/protocols/mxit/actions.c	8ade1c5f24bda59ab6c1481af7f3a6782f7c7f0e
@@ -314,12 +314,11 @@ static void mxit_cb_action_about( Purple
 {
 	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 );
============================================================
--- libpurple/protocols/mxit/mxit.c	171c3b31fc8d7e4a662b4d9645df2a35ba56cbde
+++ libpurple/protocols/mxit/mxit.c	7895738dcd9a6824458c9a3e60f9d168a517a01c
@@ -740,7 +740,7 @@ static PurplePluginInfo plugin_info = {
 
 	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) */
============================================================
--- libpurple/protocols/mxit/mxit.h	3c60c130896c399418dcb384793bd6e1b0067ebb
+++ libpurple/protocols/mxit/mxit.h	02522588e1f937bee2ea68cfab1eea11968b41da
@@ -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 <libpurple at mxit.com>"
 #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 */


More information about the Commits mailing list