diff libpurple/prefs.c @ 19512:c88e64f1ed76

Move purple_prefs_load() to purple_prefs_init() - there's been a TODO for this for a long time. I have no idea why this wasn't done sooner; it seems to work just fine and fixes some bugs where stuff isn't loaded before being used. Fixes #1848 (and I'm sure others). Yell at me if this breaks anything.
author Daniel Atallah <daniel.atallah@gmail.com>
date Tue, 28 Aug 2007 03:59:44 +0000
parents 9f7587b86b0d
children 44b4e8bd759b
line wrap: on
line diff
--- a/libpurple/prefs.c	Tue Aug 28 03:46:31 2007 +0000
+++ b/libpurple/prefs.c	Tue Aug 28 03:59:44 2007 +0000
@@ -1446,6 +1446,9 @@
 	purple_prefs_remove("/purple/contact/offline_score");
 	purple_prefs_remove("/purple/contact/away_score");
 	purple_prefs_remove("/purple/contact/idle_score");
+
+	purple_prefs_load();
+	purple_prefs_update_old();
 }
 
 void