summary |
shortlog |
log |
commit | commitdiff |
tree
raw |
patch |
inline | side by side (from parent 1:
80c0cf4)
* (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
/* Cancel the mail operation. We need to wrap it between this
start/stop operations to allow following calls to the
account */
/* 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);