diff src/oscar.c @ 966:f7886476f9d9

[gaim-migrate @ 976] yay, the applet works again (mostly) committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Tue, 10 Oct 2000 10:35:05 +0000
parents 50f2977537d8
children 26354cf6a362
line wrap: on
line diff
--- a/src/oscar.c	Tue Oct 10 10:16:26 2000 +0000
+++ b/src/oscar.c	Tue Oct 10 10:35:05 2000 +0000
@@ -1155,7 +1155,8 @@
 		aim_bos_setprofile(sess, command->conn, gc->user_info, NULL, gaim_caps);
 		aim_bos_reqbuddyrights(sess, command->conn);
 
-		gtk_widget_hide(mainwindow);
+		if (mainwindow)
+			gtk_widget_hide(mainwindow);
 		show_buddy_list();
 
 #ifdef USE_APPLET