comparison src/core.c @ 10087:9fdbfe832fac

[gaim-migrate @ 11098] gaim_prefs_connect_callback() now takes a handle that can be used to disconnect the callbacks later on. The callback id's remain, so people can still use those if they want, although I'm not sure if there's any need for them any more. I also switched the order for initializing the prefs subsystem and statically compiled protocol plugins so that prpl prefs can work for statically compiled prpls. committer: Tailor Script <tailor@pidgin.im>
author Stu Tomlinson <stu@nosnilmot.com>
date Tue, 12 Oct 2004 00:49:19 +0000
parents e4a27c9aec4c
children 52c2303f60dc
comparison
equal deleted inserted replaced
10086:6cd2b467e303 10087:9fdbfe832fac
68 /* The signals subsystem is important and should be first. */ 68 /* The signals subsystem is important and should be first. */
69 gaim_signals_init(); 69 gaim_signals_init();
70 70
71 gaim_signal_register(core, "quitting", gaim_marshal_VOID, NULL, 0); 71 gaim_signal_register(core, "quitting", gaim_marshal_VOID, NULL, 0);
72 72
73 /* The prefs subsystem needs to be initialized before static protocols
74 * for protocol prefs to work. */
75 gaim_prefs_init();
76
73 /* Initialize all static protocols. */ 77 /* Initialize all static protocols. */
74 static_proto_init(); 78 static_proto_init();
75
76 gaim_prefs_init();
77 79
78 if (ops != NULL) 80 if (ops != NULL)
79 { 81 {
80 if (ops->ui_prefs_init != NULL) 82 if (ops->ui_prefs_init != NULL)
81 ops->ui_prefs_init(); 83 ops->ui_prefs_init();