aboutsummaryrefslogtreecommitdiffstats
path: root/modules/mail
diff options
context:
space:
mode:
authorMatthew Barnes <mbarnes@redhat.com>2009-09-05 00:37:10 +0800
committerMatthew Barnes <mbarnes@redhat.com>2009-09-05 00:57:40 +0800
commit9b18df6a81ed7f01672b1fa53cbeb1de3dc4dde2 (patch)
tree7e94d5386d24c1d52037d48b205fc937a8f1f722 /modules/mail
parent6d48a19782e004699aede4666455832c45be5d93 (diff)
downloadgsoc2013-evolution-9b18df6a81ed7f01672b1fa53cbeb1de3dc4dde2.tar
gsoc2013-evolution-9b18df6a81ed7f01672b1fa53cbeb1de3dc4dde2.tar.gz
gsoc2013-evolution-9b18df6a81ed7f01672b1fa53cbeb1de3dc4dde2.tar.bz2
gsoc2013-evolution-9b18df6a81ed7f01672b1fa53cbeb1de3dc4dde2.tar.lz
gsoc2013-evolution-9b18df6a81ed7f01672b1fa53cbeb1de3dc4dde2.tar.xz
gsoc2013-evolution-9b18df6a81ed7f01672b1fa53cbeb1de3dc4dde2.tar.zst
gsoc2013-evolution-9b18df6a81ed7f01672b1fa53cbeb1de3dc4dde2.zip
Fix a runtime warning.
Diffstat (limited to 'modules/mail')
-rw-r--r--modules/mail/e-mail-shell-view-private.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/modules/mail/e-mail-shell-view-private.c b/modules/mail/e-mail-shell-view-private.c
index 849efe63d7..7f48329136 100644
--- a/modules/mail/e-mail-shell-view-private.c
+++ b/modules/mail/e-mail-shell-view-private.c
@@ -489,7 +489,9 @@ e_mail_shell_view_restore_state (EMailShellView *mail_shell_view)
reader = E_MAIL_READER (shell_content);
message_list = e_mail_reader_get_message_list (reader);
folder_uri = message_list->folder_uri;
- g_return_if_fail (folder_uri != NULL);
+
+ if (folder_uri == NULL)
+ return;
group_name = g_strdup_printf ("Folder %s", folder_uri);
e_shell_content_restore_state (shell_content, group_name);