X-Git-Url: http://git.maemo.org/git/?a=blobdiff_plain;f=src%2Fmodest-mail-operation-queue.c;h=18937686b571397fd7c75c693c64d429ee2b1307;hb=47b9de7a73030206f0f366ec60164e8f1e549916;hp=5ae570775535dafe04e7aedcfb432268b6d04c92;hpb=cc36ea20ffc9bc9dbd884f511db9bae55f4d97ca;p=modest diff --git a/src/modest-mail-operation-queue.c b/src/modest-mail-operation-queue.c index 5ae5707..1893768 100644 --- a/src/modest-mail-operation-queue.c +++ b/src/modest-mail-operation-queue.c @@ -194,9 +194,12 @@ modest_mail_operation_queue_remove (ModestMailOperationQueue *self, g_queue_remove (priv->op_queue, mail_op); g_mutex_unlock (priv->queue_lock); - /* HACK see the documentation of the function. Remove this - call when tinymail provides accurate progress values */ - _modest_mail_operation_notify_end (mail_op); + { + const GError *err; + err = modest_mail_operation_get_error (mail_op); + if (err) + g_printerr ("Error in %s: %s", __FUNCTION__, err->message); + } /* Notify observers */ g_signal_emit (self, signals[QUEUE_CHANGED_SIGNAL], 0,