diff src/main.c @ 5665:132a30783c3d

[gaim-migrate @ 6081] We're going to shuffle around the init sequence in main.c again. Importing accounts should no longer screw things up, and there's better protection against invalid protocol IDs causing an account to have to be hand-editted. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Mon, 02 Jun 2003 10:21:33 +0000
parents 1693a3027dc8
children 62f57ec16f29
line wrap: on
line diff
--- a/src/main.c	Mon Jun 02 10:10:37 2003 +0000
+++ b/src/main.c	Mon Jun 02 10:21:33 2003 +0000
@@ -887,13 +887,6 @@
 	gaim_prefs_init();
 	gaim_gtk_prefs_init();
 
-	if (!gaim_prefs_load()) {
-		load_prefs();
-		gaim_prefs_sync();
-	}
-
-	gaim_gtk_debug_init();
-
 	plugin_search_paths[0] = LIBDIR;
 	plugin_search_paths[1] = gaim_user_dir();
 	plugin_search_paths[2] = g_strdup_printf("%s/plugins", gaim_user_dir());
@@ -906,6 +899,13 @@
 
 	gaim_plugins_probe(NULL);
 
+	if (!gaim_prefs_load()) {
+		load_prefs();
+		gaim_prefs_sync();
+	}
+
+	gaim_gtk_debug_init();
+
 	gaim_accounts_load();
 
 #ifdef _WIN32