projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
cf96b90
)
Fixes NB#137624, crash when creating a new folder in offline mode
author
Sergio Villar Senin
<svillar@igalia.com>
Tue, 8 Sep 2009 07:25:24 +0000
(09:25 +0200)
committer
Sergio Villar Senin
<svillar@igalia.com>
Fri, 11 Sep 2009 08:28:22 +0000
(10:28 +0200)
src/modest-ui-actions.c
patch
|
blob
|
history
diff --git
a/src/modest-ui-actions.c
b/src/modest-ui-actions.c
index
214dfdc
..
8e4185b
100644
(file)
--- a/
src/modest-ui-actions.c
+++ b/
src/modest-ui-actions.c
@@
-3489,7
+3489,7
@@
do_create_folder_performer (gboolean canceled,
/* This happens if we have selected the outbox folder
as the parent */
/* This happens if we have selected the outbox folder
as the parent */
- if (err->code == TNY_SERVICE_ERROR_UNKNOWN &&
+ if (err && err->code == TNY_SERVICE_ERROR_UNKNOWN &&
TNY_IS_MERGE_FOLDER (helper->parent)) {
/* Show an error and retry */
modest_platform_information_banner ((GtkWidget *) parent_window,
TNY_IS_MERGE_FOLDER (helper->parent)) {
/* Show an error and retry */
modest_platform_information_banner ((GtkWidget *) parent_window,