comparison libgaim/protocols/jabber/jabber.h @ 14313:8a2b571f9990

[gaim-migrate @ 17005] a prpl's set_idle function can be called before the login function this is because the signing-on signal is emitted, and there's a callback to check idle and update all the prpls attached to that signal this meant that if you were idle, and got disconnected from jabber, upon attempting to reconnect, you'd segfault I've changed how jabber handles idle updates to work around this. someone may want to audit the other prpls, to make sure their set_idle callbacks (if any) don't assume the connection is up committer: Tailor Script <tailor@pidgin.im>
author Nathan Walp <nwalp@pidgin.im>
date Wed, 23 Aug 2006 16:36:58 +0000
parents 9ad313800b19
children 6e89bfd2b33f
comparison
equal deleted inserted replaced
14312:ef05f400817f 14313:8a2b571f9990
109 109
110 110
111 GList *oob_file_transfers; 111 GList *oob_file_transfers;
112 GList *file_transfers; 112 GList *file_transfers;
113 113
114 time_t idle;
115
116 JabberID *user; 114 JabberID *user;
117 GaimConnection *gc; 115 GaimConnection *gc;
118 GaimSslConnection *gsc; 116 GaimSslConnection *gsc;
119 117
120 gboolean registration; 118 gboolean registration;