comparison libpurple/core.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 d470d42d2cb1
children 44b4e8bd759b
comparison
equal deleted inserted replaced
19508:f0c3497e2ea6 19512:c88e64f1ed76
159 purple_idle_init(); 159 purple_idle_init();
160 160
161 /* 161 /*
162 * Call this early on to try to auto-detect our IP address and 162 * Call this early on to try to auto-detect our IP address and
163 * hopefully save some time later. 163 * hopefully save some time later.
164 * TODO: do this here after purple_prefs_load() has been moved into purple_prefs_init()
165 */ 164 */
166 /*purple_network_get_my_ip(-1);*/ 165 purple_network_get_my_ip(-1);
167 166
168 if (ops != NULL && ops->ui_init != NULL) 167 if (ops != NULL && ops->ui_init != NULL)
169 ops->ui_init(); 168 ops->ui_init();
170 169
171 return TRUE; 170 return TRUE;