summaryrefslogtreecommitdiff
path: root/libpurple/prefs.c
diff options
context:
space:
mode:
authorDaniel Atallah <datallah@pidgin.im>2007-08-28 03:59:44 +0000
committerDaniel Atallah <datallah@pidgin.im>2007-08-28 03:59:44 +0000
commit7489f78ce7ccb9f849da5623bb4fbd0c29181777 (patch)
treebd6f81a9a2cd572268b8567dffddd74e0e93511e /libpurple/prefs.c
parentef24f608837ee4364a5ce2c59d754f00fd7ef353 (diff)
downloadpidgin-7489f78ce7ccb9f849da5623bb4fbd0c29181777.tar.gz
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.
Diffstat (limited to 'libpurple/prefs.c')
-rw-r--r--libpurple/prefs.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/libpurple/prefs.c b/libpurple/prefs.c
index 212adf32da..f595012f14 100644
--- a/libpurple/prefs.c
+++ b/libpurple/prefs.c
@@ -1446,6 +1446,9 @@ purple_prefs_init(void)
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