comparison src/core.c @ 9944:e4a27c9aec4c

[gaim-migrate @ 10838] with much rejoicing, and massive thanks to the efforts of Christian, and all who have helped him, I present to you the incomplete status rewrite! committer: Tailor Script <tailor@pidgin.im>
author Luke Schierer <lschiere@pidgin.im>
date Fri, 03 Sep 2004 21:35:52 +0000
parents ce434e22edf2
children 9fdbfe832fac
comparison
equal deleted inserted replaced
9943:f8e395a054e2 9944:e4a27c9aec4c
33 #include "prefs.h" 33 #include "prefs.h"
34 #include "privacy.h" 34 #include "privacy.h"
35 #include "proxy.h" 35 #include "proxy.h"
36 #include "signals.h" 36 #include "signals.h"
37 #include "sslconn.h" 37 #include "sslconn.h"
38 #include "status.h"
38 #include "sound.h" 39 #include "sound.h"
39 40
40 struct GaimCore 41 struct GaimCore
41 { 42 {
42 char *ui; 43 char *ui;
72 /* Initialize all static protocols. */ 73 /* Initialize all static protocols. */
73 static_proto_init(); 74 static_proto_init();
74 75
75 gaim_prefs_init(); 76 gaim_prefs_init();
76 77
77 if (ops != NULL) { 78 if (ops != NULL)
79 {
78 if (ops->ui_prefs_init != NULL) 80 if (ops->ui_prefs_init != NULL)
79 ops->ui_prefs_init(); 81 ops->ui_prefs_init();
80 82
81 if (ops->debug_ui_init != NULL) 83 if (ops->debug_ui_init != NULL)
82 ops->debug_ui_init(); 84 ops->debug_ui_init();
83 } 85 }
84 86
87 gaim_statuses_init();
85 gaim_accounts_init(); 88 gaim_accounts_init();
86 gaim_connections_init(); 89 gaim_connections_init();
87 gaim_conversations_init(); 90 gaim_conversations_init();
88 gaim_blist_init(); 91 gaim_blist_init();
89 gaim_log_init(); 92 gaim_log_init();
121 gaim_blist_uninit(); 124 gaim_blist_uninit();
122 gaim_conversations_uninit(); 125 gaim_conversations_uninit();
123 gaim_connections_uninit(); 126 gaim_connections_uninit();
124 gaim_buddy_icons_uninit(); 127 gaim_buddy_icons_uninit();
125 gaim_accounts_uninit(); 128 gaim_accounts_uninit();
129 gaim_statuses_uninit();
126 gaim_prefs_uninit(); 130 gaim_prefs_uninit();
127 131
128 gaim_debug(GAIM_DEBUG_INFO, "main", "Unloading all plugins\n"); 132 gaim_debug(GAIM_DEBUG_INFO, "main", "Unloading all plugins\n");
129 gaim_plugins_destroy_all(); 133 gaim_plugins_destroy_all();
130 134