2006-02-12 [colin] 2.0.0cvs45
[claws.git] / src / folderview.c
index 4297f2e7f3d597b6f707a20c364fd0e5832c7601..026727c13deb5a5a03cdb80b5e164a8329dc91f0 100644 (file)
@@ -660,6 +660,9 @@ void folderview_set(FolderView *folderview)
        GtkCTree *ctree = GTK_CTREE(folderview->ctree);
        MainWindow *mainwin = folderview->mainwin;
 
+       if (!mainwin)
+               return;
+
        debug_print("Setting folder info...\n");
        STATUSBAR_PUSH(mainwin, _("Setting folder info..."));