diff options
author | Philip Withnall <philip@tecnocode.co.uk> | 2008-09-25 23:59:03 +0800 |
---|---|---|
committer | Philip Withnall <pwithnall@src.gnome.org> | 2008-09-25 23:59:03 +0800 |
commit | 9b1cc7f981daf8e9c841d82ac1a21c3854930018 (patch) | |
tree | be35d193cacf0f296c652530c7ca689b283fa2da /mail | |
parent | dc4967ab610a6d97258c8e937b0f623bce89856b (diff) | |
download | gsoc2013-evolution-9b1cc7f981daf8e9c841d82ac1a21c3854930018.tar gsoc2013-evolution-9b1cc7f981daf8e9c841d82ac1a21c3854930018.tar.gz gsoc2013-evolution-9b1cc7f981daf8e9c841d82ac1a21c3854930018.tar.bz2 gsoc2013-evolution-9b1cc7f981daf8e9c841d82ac1a21c3854930018.tar.lz gsoc2013-evolution-9b1cc7f981daf8e9c841d82ac1a21c3854930018.tar.xz 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')
-rw-r--r-- | mail/ChangeLog | 7 | ||||
-rw-r--r-- | mail/em-folder-browser.c | 2 |
2 files changed, 8 insertions, 1 deletions
diff --git a/mail/ChangeLog b/mail/ChangeLog index fd1ac0b4d5..34686abb67 100644 --- a/mail/ChangeLog +++ b/mail/ChangeLog @@ -1,3 +1,10 @@ +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. + 2008-09-25 Sankar P <psankar@novell.com> License Changes 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); |