/soc/2013/ankitkv/gobjectification: 2a9bbadc255c: Better wording...

Ankit Vani a at nevitus.org
Sun Aug 11 11:49:46 EDT 2013


Changeset: 2a9bbadc255ce246a6bc51f65f2357414636ced8
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2013-08-11 21:19 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/2a9bbadc255c

Description:

Better wording for ABI mismatch error

diffstat:

 libpurple/plugins.c |  14 +++++++-------
 1 files changed, 7 insertions(+), 7 deletions(-)

diffs (25 lines):

diff --git a/libpurple/plugins.c b/libpurple/plugins.c
--- a/libpurple/plugins.c
+++ b/libpurple/plugins.c
@@ -367,14 +367,14 @@ purple_plugin_info_constructed(GObject *
 	if (PURPLE_PLUGIN_ABI_MAJOR_VERSION(version) != PURPLE_MAJOR_VERSION ||
 		PURPLE_PLUGIN_ABI_MINOR_VERSION(version) > PURPLE_MINOR_VERSION)
 	{
-		priv->error = g_strdup_printf(_("libpurple version mismatch %d.%d.x (need %d.%d.x)"),
+		priv->error = g_strdup_printf(_("Your libpurple version is %d.%d.x (need %d.%d.x)"),
+				PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION,
 				PURPLE_PLUGIN_ABI_MAJOR_VERSION(version),
-				PURPLE_PLUGIN_ABI_MINOR_VERSION(version),
-				PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION);
-		purple_debug_error("plugins", "%s is not loadable: libpurple version mismatch %d.%d.x (need %d.%d.x)\n",
-				id, PURPLE_PLUGIN_ABI_MAJOR_VERSION(version),
-				PURPLE_PLUGIN_ABI_MINOR_VERSION(version),
-				PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION);
+				PURPLE_PLUGIN_ABI_MINOR_VERSION(version));
+		purple_debug_error("plugins", "%s is not loadable: libpurple version is %d.%d.x (need %d.%d.x)\n",
+				id, PURPLE_MAJOR_VERSION, PURPLE_MINOR_VERSION,
+				PURPLE_PLUGIN_ABI_MAJOR_VERSION(version),
+				PURPLE_PLUGIN_ABI_MINOR_VERSION(version));
 	}
 }
 



More information about the Commits mailing list