diff libpurple/debug.c @ 18155:094698b04630

Based on my calculations, this comment made no sense. It is not necessary to add a pref before deleting it, and emptying the function doesn't break the API. I am also changing an instance of purple_prefs_rename() into _remove() because it would rename a preference to the one that is being removed anyway.
author Kevin Stange <kevin@simguy.net>
date Sun, 17 Jun 2007 07:46:04 +0000
parents da6e87c14cea
children 82c7ae86d92c
line wrap: on
line diff
--- a/libpurple/debug.c	Sun Jun 17 05:14:45 2007 +0000
+++ b/libpurple/debug.c	Sun Jun 17 07:46:04 2007 +0000
@@ -183,12 +183,4 @@
 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);
 }