diff options
author | Milan Crha <mcrha@redhat.com> | 2009-07-22 00:49:32 +0800 |
---|---|---|
committer | Milan Crha <mcrha@redhat.com> | 2009-07-22 00:49:32 +0800 |
commit | a5fd4e8ffc0dadb6f62d8e670ac83c213c89b7f1 (patch) | |
tree | 2cb65f4d672348345f2d018e6c75b768ed869c91 /mail/mail-component.c | |
parent | e730108e2078e24b878b4af53295a8058df5f3a4 (diff) | |
download | gsoc2013-evolution-a5fd4e8ffc0dadb6f62d8e670ac83c213c89b7f1.tar.gz gsoc2013-evolution-a5fd4e8ffc0dadb6f62d8e670ac83c213c89b7f1.tar.zst gsoc2013-evolution-a5fd4e8ffc0dadb6f62d8e670ac83c213c89b7f1.zip |
Bug #588787 - Crash on search in an active account or all accounts
Diffstat (limited to 'mail/mail-component.c')
-rw-r--r-- | mail/mail-component.c | 7 |
1 files changed, 5 insertions, 2 deletions
diff --git a/mail/mail-component.c b/mail/mail-component.c index 1ad7d4d984..4e19002ca0 100644 --- a/mail/mail-component.c +++ b/mail/mail-component.c @@ -713,7 +713,10 @@ enable_folder_tree (GtkWidget *emfb, GtkWidget *emft) /* Get the selected folder in the folder tree. */ selected_folder = em_folder_tree_get_selected_folder(EM_FOLDER_TREE (emft)); - uri = mail_tools_folder_to_url (selected_folder); + if (selected_folder) + uri = mail_tools_folder_to_url (selected_folder); + else + uri = NULL; selected_curl = uri ? camel_url_new (uri, NULL) : NULL; @@ -1628,7 +1631,7 @@ mail_component_show_logger (gpointer top) void mail_component_show_status_bar (gboolean show) { - MailComponent *mc = mail_component_peek (); + /*MailComponent *mc = mail_component_peek ();*/ /* Nothing to do */ return; |