Mercurial > pidgin.yaz
changeset 1374:8331d967288e
[gaim-migrate @ 1384]
stupid, stupid
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Thu, 04 Jan 2001 22:41:12 +0000 |
parents | ed1f47853bd4 |
children | b167222b5c93 |
files | plugins/icq/gaim_icq.c |
diffstat | 1 files changed, 4 insertions(+), 4 deletions(-) [+] |
line wrap: on
line diff
--- a/plugins/icq/gaim_icq.c Thu Jan 04 22:32:54 2001 +0000 +++ b/plugins/icq/gaim_icq.c Thu Jan 04 22:41:12 2001 +0000 @@ -85,7 +85,6 @@ if (icq_Connect(link, "icq.mirabilis.com", 4000) < 1) { hide_login_progress(gc, "Unable to connect"); - g_free(id); signoff(gc); return; } @@ -253,7 +252,6 @@ if (icq_Connect(link, "icq.mirabilis.com", 4000) < 1) { hide_login_progress(gc, "Unable to connect"); - g_free(id); signoff(gc); return; } @@ -272,8 +270,10 @@ static void icq_close(struct gaim_connection *gc) { struct icq_data *id = (struct icq_data *)gc->proto_data; - gtk_timeout_remove(id->tcp_timer); - gdk_input_remove(gc->inpa); + if (id->tcp_timer > 0) + gtk_timeout_remove(id->tcp_timer); + if (gc->inpa > 0) + gdk_input_remove(gc->inpa); icq_Logout(id->link); icq_Disconnect(id->link); icq_ICQLINKDelete(id->link);