aboutsummaryrefslogtreecommitdiffstats
path: root/mail/folder-browser-factory.c
diff options
context:
space:
mode:
Diffstat (limited to 'mail/folder-browser-factory.c')
-rw-r--r--mail/folder-browser-factory.c3
1 files changed, 2 insertions, 1 deletions
diff --git a/mail/folder-browser-factory.c b/mail/folder-browser-factory.c
index 4733b835cd..e7b93fabc4 100644
--- a/mail/folder-browser-factory.c
+++ b/mail/folder-browser-factory.c
@@ -165,7 +165,8 @@ control_deactivate (BonoboControl *control,
bonobo_ui_component_rm (uic, "/", NULL);
bonobo_ui_component_unset_container (uic);
- mail_do_sync_folder (fb->folder);
+ if (fb->folder)
+ mail_do_sync_folder (fb->folder);
}
static void