projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
1f6b130
)
fixed crash:modest-mail-operation.c:on_refresh_folder:priv==NULL
author
Peter Csaszar
<pcsaszar@blumsoft.eu>
Fri, 3 Aug 2007 08:00:02 +0000
(08:00 +0000)
committer
Peter Csaszar
<pcsaszar@blumsoft.eu>
Fri, 3 Aug 2007 08:00:02 +0000
(08:00 +0000)
pmo-trunk-r2917
src/modest-mail-operation.c
patch
|
blob
|
history
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
f904a19
..
0589964
100644
(file)
--- a/
src/modest-mail-operation.c
+++ b/
src/modest-mail-operation.c
@@
-2547,6
+2547,8
@@
on_refresh_folder (TnyFolder *folder,
self = helper->mail_op;
priv = MODEST_MAIL_OPERATION_GET_PRIVATE(self);
self = helper->mail_op;
priv = MODEST_MAIL_OPERATION_GET_PRIVATE(self);
+ g_return_if_fail(priv!=NULL);
+
if (*error) {
priv->error = g_error_copy (*error);
priv->status = MODEST_MAIL_OPERATION_STATUS_FAILED;
if (*error) {
priv->error = g_error_copy (*error);
priv->status = MODEST_MAIL_OPERATION_STATUS_FAILED;