changeset 5990:99fbd0161cb7

[gaim-migrate @ 6438] Logging into Trepia now feels a bit faster. committer: Tailor Script <tailor@pidgin.im>
author Christian Hammond <chipx86@chipx86.com>
date Wed, 02 Jul 2003 09:26:27 +0000
parents 2fc74e7bf4ff
children 5d5bad909bc4
files src/protocols/trepia/trepia.c
diffstat 1 files changed, 6 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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;