Mercurial > pidgin
diff 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 |
line wrap: on
line diff
--- a/src/connection.c Fri May 30 22:00:50 2003 +0000 +++ b/src/connection.c Fri May 30 23:03:02 2003 +0000 @@ -301,6 +301,20 @@ } void +gaim_connection_notice(GaimConnection *gc, const char *text) +{ + GaimConnectionUiOps *ops; + + g_return_if_fail(gc != NULL); + g_return_if_fail(text != NULL); + + ops = gaim_get_connection_ui_ops(); + + if (ops != NULL && ops->notice != NULL) + ops->notice(gc, text); +} + +void gaim_connection_error(GaimConnection *gc, const char *text) { GaimConnectionUiOps *ops;