changeset 17221:da6e87c14cea

Un-break the API so the next release doesn't have to be 3.0.0 :) Removal of the debug timestamp preference caused Bad Things(tm) to happen when I accidentally tried running Pidgin 2.0.0 with libpurple 2.0.1.
author Stu Tomlinson <stu@nosnilmot.com>
date Thu, 24 May 2007 11:38:43 +0000
parents 513ee58e7305
children 591d6c3e9f1f f01ffb3ea78f
files libpurple/debug.c
diffstat 1 files changed, 8 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- a/libpurple/debug.c	Thu May 24 11:12:15 2007 +0000
+++ b/libpurple/debug.c	Thu May 24 11:38:43 2007 +0000
@@ -183,4 +183,12 @@
 void
 purple_debug_init(void)
 {
+	purple_prefs_add_none("/purple/debug");
+
+	/*
+	 * This pref is obsolete and no longer referenced anywhere. It only
+	 * survives here because it would be an API break if we removed it.
+	 * Remove this when we get to 3.0.0 :)
+	 */
+	purple_prefs_add_bool("/purple/debug/timestamps", TRUE);
 }