[evolution-data-server] imapx_stop_idle: Remove the GCancellable parameter.



commit 011b42ebe53d7eb7ad20c7742ee50b575193693d
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Aug 14 07:53:48 2013 -0400

    imapx_stop_idle: Remove the GCancellable parameter.
    
    No longer needed.

 camel/camel-imapx-server.c |   10 ++++------
 1 files changed, 4 insertions(+), 6 deletions(-)
---
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index 0ec2c59..a9a65da 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -511,7 +511,6 @@ static void imapx_init_idle                 (CamelIMAPXServer *is);
 static CamelIMAPXIdleStopResult
                imapx_stop_idle                 (CamelIMAPXServer *is,
                                                 CamelIMAPXStream *stream,
-                                                GCancellable *cancellable,
                                                 GError **error);
 static gboolean        camel_imapx_server_idle         (CamelIMAPXServer *is,
                                                 CamelFolder *folder,
@@ -1047,8 +1046,8 @@ imapx_command_start_next (CamelIMAPXServer *is,
                        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);
                        }
 
@@ -1667,8 +1666,8 @@ imapx_untagged_exists (CamelIMAPXServer *is,
                        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);
                        }
                }
@@ -3315,7 +3314,6 @@ imapx_idle_thread (gpointer data)
 static CamelIMAPXIdleStopResult
 imapx_stop_idle (CamelIMAPXServer *is,
                  CamelIMAPXStream *stream,
-                 GCancellable *cancellable,
                  GError **error)
 {
        CamelIMAPXIdleStopResult result = IMAPX_IDLE_STOP_NOOP;


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]