# HG changeset patch # User Christian Hammond # Date 1057137987 0 # Node ID 99fbd0161cb7f6182e73960b16e22b404e1620f4 # Parent 2fc74e7bf4ff6d8f222c2adfabd8dc49437a0eaa [gaim-migrate @ 6438] Logging into Trepia now feels a bit faster. committer: Tailor Script diff -r 2fc74e7bf4ff -r 99fbd0161cb7 src/protocols/trepia/trepia.c --- a/src/protocols/trepia/trepia.c Wed Jul 02 09:23:14 2003 +0000 +++ b/src/protocols/trepia/trepia.c Wed Jul 02 09:26:27 2003 +0000 @@ -651,6 +651,7 @@ const char *value; char *username; int *int_p; + GMainContext *ctx; account = gaim_connection_get_account(session->gc); @@ -890,6 +891,11 @@ serv_got_update(session->gc, username, 1, 0, 0, 0, 0); } + ctx = g_main_context_default(); + + while (g_main_context_pending(ctx)) + g_main_context_iteration(ctx, FALSE); + g_free(username); break;