/* TODO: connect to the msg-sent in order to know when
the mail operation is finished */
- tny_send_queue_add (send_queue, msg, &(priv->error));
+/* tny_send_queue_add (send_queue, msg, &(priv->error)); */
+ modest_tny_send_queue_add (MODEST_TNY_SEND_QUEUE(send_queue),
+ msg,
+ &(priv->error));
/* TODO: we're setting always success, do the check in
the handler */
/* This is not a GDK lock because we are a Tinymail callback and
* Tinymail already acquires the Gdk lock */
-
- /* no gdk_threads_enter (), CHECKED */
helper->user_callback (self, folder, helper->user_data);
- /* no gdk_threads_leave (), CHECKED */
}
out:
/* This is not a GDK lock because we are a Tinymail callback and
* Tinymail already acquires the Gdk lock */
-
- /* no gdk_threads_enter (), CHECKED */
-
g_signal_emit (G_OBJECT (self), signals[PROGRESS_CHANGED_SIGNAL], 0, state, NULL);
- /* no gdk_threads_leave (), CHECKED */
-
g_slice_free (ModestMailOperationState, state);
}