Un-break the API so the next release doesn't have to be 3.0.0 :)

Thu, 24 May 2007 11:38:43 +0000

author
Stu Tomlinson <nosnilmot@pidgin.im>
date
Thu, 24 May 2007 11:38:43 +0000
changeset 17318
ce44d0f8095d
parent 17317
66ae9407d10b
child 17319
a762eb005b9c
child 17324
eada534fced4

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.

libpurple/debug.c file | annotate | diff | comparison | revisions
--- 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);
 }

mercurial