diff src/toc.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 2cd7b73e2c9a
children 9eb07b383df4
line wrap: on
line diff
--- a/src/toc.c	Tue Oct 10 10:16:26 2000 +0000
+++ b/src/toc.c	Tue Oct 10 10:35:05 2000 +0000
@@ -39,7 +39,7 @@
 #include "gaim.h"
 #include "gnome_applet_mgr.h"
 
-#define REVISION "gaim:$Revision: 974 $"
+#define REVISION "gaim:$Revision: 976 $"
 
 
 static unsigned int peer_ver=0;
@@ -134,7 +134,8 @@
 	config = toc_wait_config(gc);
 	gc->state = STATE_ONLINE;
 
-        gtk_widget_hide(mainwindow);
+	if (mainwindow)
+		gtk_widget_hide(mainwindow);
 	show_buddy_list();
 #ifdef USE_APPLET
 	if (general_options & OPT_GEN_APP_BUDDY_SHOW) {