diff options
author | Jeffrey Stedfast <fejj@ximian.com> | 2004-03-13 06:03:28 +0800 |
---|---|---|
committer | Jeffrey Stedfast <fejj@src.gnome.org> | 2004-03-13 06:03:28 +0800 |
commit | dadf1e0950e6f1bb809d46588957319630cc3686 (patch) | |
tree | 3828880e3c8c4239e7039f1730497aafc6e38a79 /mail/em-folder-browser.c | |
parent | b4900461b95140b9fbe6afe8fd5df4e8eab1ca47 (diff) | |
download | gsoc2013-evolution-dadf1e0950e6f1bb809d46588957319630cc3686.tar.gz gsoc2013-evolution-dadf1e0950e6f1bb809d46588957319630cc3686.tar.zst gsoc2013-evolution-dadf1e0950e6f1bb809d46588957319630cc3686.zip |
No-op if emfv->folder is NULL (this means we are looking at a store
2004-03-12 Jeffrey Stedfast <fejj@ximian.com>
* em-folder-browser.c (emfb_search_search_activated): No-op if
emfv->folder is NULL (this means we are looking at a store folder?
or else the folder hasn't loaded yet). Fixes bug #55293.
svn path=/trunk/; revision=25052
Diffstat (limited to 'mail/em-folder-browser.c')
-rw-r--r-- | mail/em-folder-browser.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/mail/em-folder-browser.c b/mail/em-folder-browser.c index 4711787565..c33d7c50be 100644 --- a/mail/em-folder-browser.c +++ b/mail/em-folder-browser.c @@ -420,7 +420,7 @@ emfb_search_search_activated(ESearchBar *esb, EMFolderBrowser *emfb) EMFolderView *emfv = (EMFolderView *) emfb; char *search_word, *search_state; - if (emfv->list == NULL) + if (emfv->list == NULL || emfv->folder == NULL) return; g_object_get (esb, "query", &search_word, NULL); |