static CamelIMAPXIdleStopResult
imapx_stop_idle (CamelIMAPXServer *is,
CamelIMAPXStream *stream,
- GCancellable *cancellable,
GError **error);
static gboolean camel_imapx_server_idle (CamelIMAPXServer *is,
CamelFolder *folder,
stream = camel_imapx_server_ref_stream (is);
if (stream != NULL) {
- stop_result = imapx_stop_idle (
- is, stream, cancellable, error);
+ stop_result =
+ imapx_stop_idle (is, stream, error);
g_object_unref (stream);
}
if (count < is->priv->context->id) {
CamelIMAPXIdleStopResult stop_result;
- stop_result = imapx_stop_idle (
- is, stream, cancellable, error);
+ stop_result =
+ imapx_stop_idle (is, stream, error);
success = (stop_result != IMAPX_IDLE_STOP_ERROR);
}
}
static CamelIMAPXIdleStopResult
imapx_stop_idle (CamelIMAPXServer *is,
CamelIMAPXStream *stream,
- GCancellable *cancellable,
GError **error)
{
CamelIMAPXIdleStopResult result = IMAPX_IDLE_STOP_NOOP;