Mercurial > pidgin.yaz
comparison src/connection.c @ 7118:bf630f7dfdcd
[gaim-migrate @ 7685]
Here's a commit that I think will make faceprint happy. GaimWindow ->
GaimConvWindow, GaimIm -> GaimConvIm, GaimChat -> GaimConvChat,
GaimBlistChat -> GaimChat, and updated the API functions as well. Plugin
authors are going to hunt me down and murder me. I can feel it..
committer: Tailor Script <tailor@pidgin.im>
author | Christian Hammond <chipx86@chipx86.com> |
---|---|
date | Thu, 02 Oct 2003 02:54:07 +0000 |
parents | feb3d21a7794 |
children | 643cbc9a6035 |
comparison
equal
deleted
inserted
replaced
7117:943085b0ff8b | 7118:bf630f7dfdcd |
---|---|
247 /* | 247 /* |
248 * XXX This is a hack! Remove this and replace it with a better event | 248 * XXX This is a hack! Remove this and replace it with a better event |
249 * notification system. | 249 * notification system. |
250 */ | 250 */ |
251 for (wins = gaim_get_windows(); wins != NULL; wins = wins->next) { | 251 for (wins = gaim_get_windows(); wins != NULL; wins = wins->next) { |
252 GaimWindow *win = (GaimWindow *)wins->data; | 252 GaimConvWindow *win = (GaimConvWindow *)wins->data; |
253 gaim_conversation_update(gaim_window_get_conversation_at(win, 0), | 253 gaim_conversation_update(gaim_conv_window_get_conversation_at(win, 0), |
254 GAIM_CONV_ACCOUNT_OFFLINE); | 254 GAIM_CONV_ACCOUNT_OFFLINE); |
255 } | 255 } |
256 | 256 |
257 gaim_request_close_with_handle(gc); | 257 gaim_request_close_with_handle(gc); |
258 gaim_notify_close_with_handle(gc); | 258 gaim_notify_close_with_handle(gc); |
321 /* | 321 /* |
322 * XXX This is a hack! Remove this and replace it with a better event | 322 * XXX This is a hack! Remove this and replace it with a better event |
323 * notification system. | 323 * notification system. |
324 */ | 324 */ |
325 for (wins = gaim_get_windows(); wins != NULL; wins = wins->next) { | 325 for (wins = gaim_get_windows(); wins != NULL; wins = wins->next) { |
326 GaimWindow *win = (GaimWindow *)wins->data; | 326 GaimConvWindow *win = (GaimConvWindow *)wins->data; |
327 gaim_conversation_update(gaim_window_get_conversation_at(win, 0), | 327 gaim_conversation_update(gaim_conv_window_get_conversation_at(win, 0), |
328 GAIM_CONV_ACCOUNT_ONLINE); | 328 GAIM_CONV_ACCOUNT_ONLINE); |
329 } | 329 } |
330 | 330 |
331 gaim_signal_emit(gaim_connections_get_handle(), "signed-on", gc); | 331 gaim_signal_emit(gaim_connections_get_handle(), "signed-on", gc); |
332 | 332 |