Mercurial > pidgin
comparison src/connection.c @ 5676:dae79aefac8d
[gaim-migrate @ 6094]
I've been meaning to do this for a LONG time. The conversation API now
follows the naming convention of the rest of the new APIs. I'll get some
g_return_*_if_fail() checks in there soon.
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Mon, 02 Jun 2003 21:51:06 +0000 |
| parents | 960fe32ea9b7 |
| children | 1d140b31d4b3 |
comparison
equal
deleted
inserted
replaced
| 5675:17e345ffeddb | 5676:dae79aefac8d |
|---|---|
| 125 /* | 125 /* |
| 126 * XXX This is a hack! Remove this and replace it with a better event | 126 * XXX This is a hack! Remove this and replace it with a better event |
| 127 * notification system. | 127 * notification system. |
| 128 */ | 128 */ |
| 129 for (wins = gaim_get_windows(); wins != NULL; wins = wins->next) { | 129 for (wins = gaim_get_windows(); wins != NULL; wins = wins->next) { |
| 130 struct gaim_window *win = (struct gaim_window *)wins->data; | 130 GaimWindow *win = (GaimWindow *)wins->data; |
| 131 gaim_conversation_update(gaim_window_get_conversation_at(win, 0), | 131 gaim_conversation_update(gaim_window_get_conversation_at(win, 0), |
| 132 GAIM_CONV_ACCOUNT_OFFLINE); | 132 GAIM_CONV_ACCOUNT_OFFLINE); |
| 133 } | 133 } |
| 134 | 134 |
| 135 gaim_request_close_with_handle(gc); | 135 gaim_request_close_with_handle(gc); |
| 189 /* | 189 /* |
| 190 * XXX This is a hack! Remove this and replace it with a better event | 190 * XXX This is a hack! Remove this and replace it with a better event |
| 191 * notification system. | 191 * notification system. |
| 192 */ | 192 */ |
| 193 for (wins = gaim_get_windows(); wins != NULL; wins = wins->next) { | 193 for (wins = gaim_get_windows(); wins != NULL; wins = wins->next) { |
| 194 struct gaim_window *win = (struct gaim_window *)wins->data; | 194 GaimWindow *win = (GaimWindow *)wins->data; |
| 195 gaim_conversation_update(gaim_window_get_conversation_at(win, 0), | 195 gaim_conversation_update(gaim_window_get_conversation_at(win, 0), |
| 196 GAIM_CONV_ACCOUNT_ONLINE); | 196 GAIM_CONV_ACCOUNT_ONLINE); |
| 197 } | 197 } |
| 198 | 198 |
| 199 gaim_event_broadcast(event_signon, gc); | 199 gaim_event_broadcast(event_signon, gc); |
