projects
/
modest
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
80c0cf4
)
* src/modest-mail-operation.c:
author
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 26 Jul 2007 07:52:11 +0000
(07:52 +0000)
committer
Jose Dapena Paz
<jdapena@igalia.com>
Thu, 26 Jul 2007 07:52:11 +0000
(07:52 +0000)
* (modest_mail_operation_cancel): a mail operation without an
account is a not expected status, so we show a warning for
this.
pmo-trunk-r2799
src/modest-mail-operation.c
patch
|
blob
|
history
diff --git
a/src/modest-mail-operation.c
b/src/modest-mail-operation.c
index
9780168
..
47eae74
100644
(file)
--- a/
src/modest-mail-operation.c
+++ b/
src/modest-mail-operation.c
@@
-417,8
+417,8
@@
modest_mail_operation_cancel (ModestMailOperation *self)
/* Cancel the mail operation. We need to wrap it between this
start/stop operations to allow following calls to the
account */
- if (priv->account)
- tny_account_cancel (priv->account);
+ g_return_val_if_fail (priv->account, FALSE);
+ tny_account_cancel (priv->account);
return canceled;
}