Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/libpurple/core.c Tue Aug 28 03:46:31 2007 +0000 +++ b/libpurple/core.c Tue Aug 28 03:59:44 2007 +0000 @@ -161,9 +161,8 @@ /* * Call this early on to try to auto-detect our IP address and * hopefully save some time later. - * TODO: do this here after purple_prefs_load() has been moved into purple_prefs_init() */ - /*purple_network_get_my_ip(-1);*/ + purple_network_get_my_ip(-1); if (ops != NULL && ops->ui_init != NULL) ops->ui_init();