/soc/2013/ankitkv/gobjectification: 7460bbf25f95: Log prefs.xml ...

Ankit Vani a at nevitus.org
Sun Jan 19 20:58:44 EST 2014


Changeset: 7460bbf25f958295e6b52429e54048f09d01ed88
Author:	 Ankit Vani <a at nevitus.org>
Date:	 2014-01-20 07:28 +0530
Branch:	 soc.2013.gobjectification.plugins
URL: https://hg.pidgin.im/soc/2013/ankitkv/gobjectification/rev/7460bbf25f95

Description:

Log prefs.xml migration

diffstat:

 libpurple/prefs.c |  5 ++++-
 1 files changed, 4 insertions(+), 1 deletions(-)

diffs (16 lines):

diff --git a/libpurple/prefs.c b/libpurple/prefs.c
--- a/libpurple/prefs.c
+++ b/libpurple/prefs.c
@@ -1443,8 +1443,11 @@ purple_prefs_init(void)
 
 	purple_prefs_load();
 
-	if (purple_version_strcmp(xml_version, PREFS_XML_VERSION) < 0)
+	if (purple_version_strcmp(xml_version, PREFS_XML_VERSION) < 0) {
+		purple_debug_info("prefs", "Migrating prefs.xml from version %s to %s\n",
+				xml_version, PREFS_XML_VERSION);
 		update_old_prefs();
+	}
 
 	g_free(xml_version);
 	xml_version = NULL;



More information about the Commits mailing list