comparison src/connection.c @ 5571:113090160626

[gaim-migrate @ 5973] Here you go, faceprint. gaim_connection_notice(). committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Fri, 30 May 2003 23:03:02 +0000
parents 187c740f2a4e
children 3a9b54f260e3
comparison
equal deleted inserted replaced
5570:dc90686acedd 5571:113090160626
299 if (ops != NULL && ops->connect_progress != NULL) 299 if (ops != NULL && ops->connect_progress != NULL)
300 ops->connect_progress(gc, text, step, count); 300 ops->connect_progress(gc, text, step, count);
301 } 301 }
302 302
303 void 303 void
304 gaim_connection_error(GaimConnection *gc, const char *text) 304 gaim_connection_notice(GaimConnection *gc, const char *text)
305 { 305 {
306 GaimConnectionUiOps *ops; 306 GaimConnectionUiOps *ops;
307 307
308 g_return_if_fail(gc != NULL); 308 g_return_if_fail(gc != NULL);
309 g_return_if_fail(text != NULL); 309 g_return_if_fail(text != NULL);
310 310
311 ops = gaim_get_connection_ui_ops(); 311 ops = gaim_get_connection_ui_ops();
312 312
313 if (ops != NULL && ops->notice != NULL)
314 ops->notice(gc, text);
315 }
316
317 void
318 gaim_connection_error(GaimConnection *gc, const char *text)
319 {
320 GaimConnectionUiOps *ops;
321
322 g_return_if_fail(gc != NULL);
323 g_return_if_fail(text != NULL);
324
325 ops = gaim_get_connection_ui_ops();
326
313 gaim_connection_disconnect(gc); 327 gaim_connection_disconnect(gc);
314 328
315 if (ops != NULL && ops->disconnected != NULL) 329 if (ops != NULL && ops->disconnected != NULL)
316 ops->disconnected(gc, text); 330 ops->disconnected(gc, text);
317 331