aboutsummaryrefslogtreecommitdiffstats
path: root/protocols/oscar/chat.c
diff options
context:
space:
mode:
authorWilmer van der Gaast <wilmer@gaast.net>2007-04-05 22:20:31 -0700
committerWilmer van der Gaast <wilmer@gaast.net>2007-04-05 22:20:31 -0700
commitaef4828a1dc51de10a43bb7dd5d023de9971295b (patch)
treecbb675b41369f1ada1579fba4060726573cf9cb5 /protocols/oscar/chat.c
parent0da65d5fb37691ed4d31f7ab4058732f1440db6b (diff)
More cleanups, mainly in the callbacks. Replaced things like
do_error_dialog() and (set|hide)_login_progress(_error)?() with things that hopefully make more sense. Although it's still not really great...
Diffstat (limited to 'protocols/oscar/chat.c')
-rw-r--r--protocols/oscar/chat.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/protocols/oscar/chat.c b/protocols/oscar/chat.c
index df535c4f..82aa5421 100644
--- a/protocols/oscar/chat.c
+++ b/protocols/oscar/chat.c
@@ -53,7 +53,7 @@ aim_conn_t *aim_chat_getconn(aim_session_t *sess, const char *name)
if (cur->type != AIM_CONN_TYPE_CHAT)
continue;
if (!cur->priv) {
- do_error_dialog(sess->aux_data, "chat connection with no name!", "Gaim");
+ imc_error(sess->aux_data, "chat connection with no name!");
continue;
}
@@ -396,7 +396,7 @@ static int infoupdate(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, a
detaillevel = aimbs_get8(bs);
if (detaillevel != 0x02) {
- do_error_dialog(sess->aux_data, "Only detaillevel 0x2 is support at the moment", "Gaim");
+ imc_error(sess->aux_data, "Only detaillevel 0x2 is support at the moment");
return 1;
}
@@ -614,7 +614,7 @@ static int incomingmsg(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx,
channel = aimbs_get16(bs);
if (channel != 0x0003) {
- do_error_dialog(sess->aux_data, "unknown channel!", "Gaim");
+ imc_error(sess->aux_data, "unknown channel!");
return 0;
}