Mercurial > pidgin
comparison src/oscar.c @ 2044:cad4405a0a45
[gaim-migrate @ 2054]
should be removing input watcher only after all possible signoffs occur, otherwise may get report that we're removing it twice
committer: Tailor Script <tailor@pidgin.im>
author | Eric Warmenhoven <eric@warmenhoven.org> |
---|---|
date | Sat, 16 Jun 2001 20:10:32 +0000 |
parents | 38c06d8b7863 |
children | 3366311426df |
comparison
equal
deleted
inserted
replaced
2043:1b8f4b90bf09 | 2044:cad4405a0a45 |
---|---|
656 latestbeta, latestbetabuild, latestbetaurl, latestbetainfo); | 656 latestbeta, latestbetabuild, latestbetaurl, latestbetainfo); |
657 if (latestrelease) | 657 if (latestrelease) |
658 debug_printf("Latest WinAIM released version %s, build %d, at %s (%s)\n", | 658 debug_printf("Latest WinAIM released version %s, build %d, at %s (%s)\n", |
659 latestrelease, latestbuild, latestreleaseurl, latestreleaseinfo); | 659 latestrelease, latestbuild, latestreleaseurl, latestreleaseinfo); |
660 debug_printf("Closing auth connection...\n"); | 660 debug_printf("Closing auth connection...\n"); |
661 gdk_input_remove(gc->inpa); | |
662 aim_conn_kill(sess, &command->conn); | 661 aim_conn_kill(sess, &command->conn); |
663 | 662 |
664 bosconn = aim_newconn(sess, AIM_CONN_TYPE_BOS, NULL); | 663 bosconn = aim_newconn(sess, AIM_CONN_TYPE_BOS, NULL); |
665 if (bosconn == NULL) { | 664 if (bosconn == NULL) { |
666 hide_login_progress(gc, _("Internal Error")); | 665 hide_login_progress(gc, _("Internal Error")); |
709 hide_login_progress(gc, _("Could Not Connect")); | 708 hide_login_progress(gc, _("Could Not Connect")); |
710 signoff(gc); | 709 signoff(gc); |
711 return -1; | 710 return -1; |
712 } | 711 } |
713 aim_auth_sendcookie(sess, bosconn, cookie); | 712 aim_auth_sendcookie(sess, bosconn, cookie); |
713 gdk_input_remove(gc->inpa); | |
714 return 1; | 714 return 1; |
715 } | 715 } |
716 | 716 |
717 struct pieceofcrap { | 717 struct pieceofcrap { |
718 struct gaim_connection *gc; | 718 struct gaim_connection *gc; |