diff options
| author | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-05 22:20:31 -0700 | 
|---|---|---|
| committer | Wilmer van der Gaast <wilmer@gaast.net> | 2007-04-05 22:20:31 -0700 | 
| commit | aef4828a1dc51de10a43bb7dd5d023de9971295b (patch) | |
| tree | cbb675b41369f1ada1579fba4060726573cf9cb5 /protocols/oscar/im.c | |
| parent | 0da65d5fb37691ed4d31f7ab4058732f1440db6b (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/im.c')
| -rw-r--r-- | protocols/oscar/im.c | 8 | 
1 files changed, 4 insertions, 4 deletions
| diff --git a/protocols/oscar/im.c b/protocols/oscar/im.c index bc2c2abe..ac3d08d4 100644 --- a/protocols/oscar/im.c +++ b/protocols/oscar/im.c @@ -936,7 +936,7 @@ static int outgoingim(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, a  	channel = aimbs_get16(bs);  	if (channel != 0x01) { -		do_error_dialog(sess->aux_data, "icbm: ICBM recieved on unsupported channel.  Ignoring.", "Gaim"); +		imc_error(sess->aux_data, "icbm: ICBM recieved on unsupported channel.  Ignoring.");  		return 0;  	} @@ -1344,7 +1344,7 @@ static int incomingim_ch1(aim_session_t *sess, aim_module_t *mod, aim_frame_t *r  			args.extdata = aimbs_getraw(bs, args.extdatalen);  		} else { -			// do_error_dialog(sess->aux_data, "Unknown TLV encountered", "Gaim"); +			// imc_error(sess->aux_data, "Unknown TLV encountered");  		}  		/* @@ -1516,7 +1516,7 @@ static int incomingim_ch2(aim_session_t *sess, aim_module_t *mod, aim_frame_t *r  	 */  	cookie2 = aimbs_getraw(&bbs, 8);  	if (memcmp(cookie, cookie2, 8) != 0)  -		do_error_dialog(sess->aux_data, "rend: warning cookies don't match!", "Gaim"); +		imc_error(sess->aux_data, "rend: warning cookies don't match!");  	memcpy(args.cookie, cookie2, 8);  	g_free(cookie2); @@ -1782,7 +1782,7 @@ static int incomingim(aim_session_t *sess, aim_module_t *mod, aim_frame_t *rx, a  	} else { -		do_error_dialog(sess->aux_data, "ICBM received on an unsupported channel.  Ignoring.", "Gaim"); +		imc_error(sess->aux_data, "ICBM received on an unsupported channel.  Ignoring.");  		return 0;  	} | 
