diff src/gnome_applet_mgr.c @ 941:0c3bdd59f983

[gaim-migrate @ 951] this shouldn't do anything committer: Tailor Script <tailor@pidgin.im>
author Eric Warmenhoven <eric@warmenhoven.org>
date Sun, 01 Oct 2000 02:42:54 +0000
parents 9fca1293f871
children f7886476f9d9
line wrap: on
line diff
--- a/src/gnome_applet_mgr.c	Sun Oct 01 00:20:03 2000 +0000
+++ b/src/gnome_applet_mgr.c	Sun Oct 01 02:42:54 2000 +0000
@@ -318,7 +318,8 @@
 		applet_buddy_show = FALSE;
 	  	switch( MRI_user_status ){
 			case offline:
-				gtk_widget_hide(mainwindow);
+				if (mainwindow)
+					gtk_widget_hide(mainwindow);
 				break;
 			case online:
 			case away: