diff libpurple/debug.c @ 17277: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 8d94cf688009
children 094698b04630 44b4e8bd759b
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);
 }