diff src/oscar.c @ 265:59f1748b09a6

[gaim-migrate @ 275] Logging in works properly for Oscar now. Let's hope I didn't break the TOC side of things. committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Thu, 25 May 2000 08:09:03 +0000
parents e159ba2486fc
children 5c19f91e7ce4
line wrap: on
line diff
--- a/src/oscar.c	Thu May 25 06:29:22 2000 +0000
+++ b/src/oscar.c	Thu May 25 08:09:03 2000 +0000
@@ -87,15 +87,8 @@
 			aim_logoff(sess);
 			gdk_input_remove(inpa);
 		} else {
-			aim_rxdispatch(sess);
-			/* the rest of this is a bad hack to try and get it to
-			 * update the display at least occasionally */
-			gdk_input_remove(inpa);
-			while (gtk_events_pending())
-				gtk_main_iteration();
-			inpa = gdk_input_add(gaim_conn->fd,
-			GDK_INPUT_READ | GDK_INPUT_WRITE | GDK_INPUT_EXCEPTION,
-			oscar_callback, sess);
+			if (aim_rxdispatch(sess))
+				debug_print("I hate GDK!\n");
 		}
 	}
 }
@@ -348,6 +341,7 @@
 		refresh_buddy_window();
 #endif
 		serv_finish_login();
+		gaim_setup();
 		if (bud_list_cache_exists())
 			do_import(NULL, 0);