Mercurial > pidgin
diff src/connection.c @ 5872:059d95c67cda
[gaim-migrate @ 6304]
The legendary Header File Cleanup! Files now only include what they need.
This should reduce the number of files that must recompile when a header
file changes. It's a lot nicer. Trust me on it. I also added a couple new
header files. I hope I didn't break TOO much!
committer: Tailor Script <tailor@pidgin.im>
| author | Christian Hammond <chipx86@chipx86.com> |
|---|---|
| date | Sat, 14 Jun 2003 23:21:02 +0000 |
| parents | 022786c7ab53 |
| children | f5b0c6073264 |
line wrap: on
line diff
--- a/src/connection.c Sat Jun 14 21:34:31 2003 +0000 +++ b/src/connection.c Sat Jun 14 23:21:02 2003 +0000 @@ -20,15 +20,25 @@ * along with this program; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */ - +#include "internal.h" +#include "blist.h" #include "connection.h" #include "debug.h" -#include "gaim.h" +#include "log.h" +#include "notify.h" +#include "prefs.h" +#include "request.h" +#include "server.h" +#include "sound.h" + +/* XXX UI stuff! */ +#include "ui.h" static GList *connections = NULL; static GList *connections_connecting = NULL; static GaimConnectionUiOps *connection_ui_ops = NULL; + GaimConnection * gaim_connection_new(GaimAccount *account) { @@ -144,6 +154,7 @@ gaim_request_close_with_handle(gc); gaim_notify_close_with_handle(gc); + /* XXX UI stuff! */ update_privacy_connections(); } @@ -153,10 +164,11 @@ if (connections != NULL) return; - destroy_all_dialogs(); + /* XXX destroy_all_dialogs(); */ + gaim_blist_destroy(); - show_login(); + /* XXX show_login(); */ } /* @@ -196,7 +208,7 @@ gaim_blist_show(); gaim_blist_add_account(gc->account); - /* I hate this. -- ChipX86 */ + /* XXX I hate this. UI code. -- ChipX86 */ gaim_setup(gc); /*
