comparison src/main.c @ 5573:5e7de337a053

[gaim-migrate @ 5976] Account saving and loading _mostly_ works. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 30 May 2003 23:57:11 +0000
parents 9eb5b13fd412
children 86456ec3ca25
comparison
equal deleted inserted replaced
5572:dfdea22a7153 5573:5e7de337a053
122 122
123 /* transmission ends */ 123 /* transmission ends */
124 gaim_connections_disconnect_all(); 124 gaim_connections_disconnect_all();
125 125
126 /* record what we have before we blow it away... */ 126 /* record what we have before we blow it away... */
127 save_prefs();
128 gaim_prefs_sync(); 127 gaim_prefs_sync();
128 gaim_accounts_sync();
129 129
130 gaim_debug(GAIM_DEBUG_INFO, "main", "Unloading all plugins\n"); 130 gaim_debug(GAIM_DEBUG_INFO, "main", "Unloading all plugins\n");
131 gaim_plugins_destroy_all(); 131 gaim_plugins_destroy_all();
132 132
133 /* XXX */ 133 /* XXX */
889 gaim_set_notify_ui_ops(gaim_get_gtk_notify_ui_ops()); 889 gaim_set_notify_ui_ops(gaim_get_gtk_notify_ui_ops());
890 gaim_set_request_ui_ops(gaim_get_gtk_request_ui_ops()); 890 gaim_set_request_ui_ops(gaim_get_gtk_request_ui_ops());
891 891
892 gaim_prefs_init(); 892 gaim_prefs_init();
893 gaim_gtk_prefs_init(); 893 gaim_gtk_prefs_init();
894 gaim_accounts_load();
894 895
895 if (!gaim_prefs_load()) 896 if (!gaim_prefs_load())
896 load_prefs(); 897 load_prefs();
897 898
898 plugin_search_paths[0] = LIBDIR; 899 plugin_search_paths[0] = LIBDIR;