aboutsummaryrefslogtreecommitdiffstats
path: root/mail/em-folder-browser.c
diff options
context:
space:
mode:
authorPhilip Withnall <philip@tecnocode.co.uk>2008-09-25 23:59:03 +0800
committerPhilip Withnall <pwithnall@src.gnome.org>2008-09-25 23:59:03 +0800
commit9b1cc7f981daf8e9c841d82ac1a21c3854930018 (patch)
treebe35d193cacf0f296c652530c7ca689b283fa2da /mail/em-folder-browser.c
parentdc4967ab610a6d97258c8e937b0f623bce89856b (diff)
downloadgsoc2013-evolution-9b1cc7f981daf8e9c841d82ac1a21c3854930018.tar.gz
gsoc2013-evolution-9b1cc7f981daf8e9c841d82ac1a21c3854930018.tar.zst
gsoc2013-evolution-9b1cc7f981daf8e9c841d82ac1a21c3854930018.zip
** Fix for bug #552551
2008-09-25 Philip Withnall <philip@tecnocode.co.uk> ** Fix for bug #552551 * em-folder-browser.c (emfb_search_search_activated): Add a NULL check for search_word before calling strcmp. svn path=/trunk/; revision=36451
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r--mail/em-folder-browser.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c
index 9b6eb492a9..3ac2f7cead 100644
--- a/mail/em-folder-browser.c
+++ b/mail/em-folder-browser.c
@@ -1147,7 +1147,7 @@ emfb_search_search_activated(ESearchBar *esb, EMFolderBrowser *emfb)
g_free (word);
word = NULL;
g_object_get (esb, "query", &search_word, NULL);
- if (efb->account_search_vf && !strcmp (search_word, ((CamelVeeFolder *) efb->account_search_vf)->expression) ) {
+ if (search_word && efb->account_search_vf && !strcmp (search_word, ((CamelVeeFolder *) efb->account_search_vf)->expression) ) {
break;
}
gtk_widget_set_sensitive (esb->scopeoption, FALSE);