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



commit 6dcc1de024301665271d1d05e59baa6f65eabf8a
Author: Matthew Barnes <mbarnes redhat com>
Date:   Wed Aug 14 07:36:54 2013 -0400

    imapx_select: Remove the GCancellable parameter.
    
    No longer needed.

 camel/camel-imapx-server.c |    7 ++-----
 1 files changed, 2 insertions(+), 5 deletions(-)
---
diff --git a/camel/camel-imapx-server.c b/camel/camel-imapx-server.c
index 2fdefda..96a934b 100644
--- a/camel/camel-imapx-server.c
+++ b/camel/camel-imapx-server.c
@@ -531,7 +531,6 @@ enum {
 static gboolean        imapx_select                    (CamelIMAPXServer *is,
                                                 CamelFolder *folder,
                                                 gboolean force,
-                                                GCancellable *cancellable,
                                                 GError **error);
 
 G_DEFINE_TYPE (CamelIMAPXServer, camel_imapx_server, CAMEL_TYPE_OBJECT)
@@ -1183,7 +1182,7 @@ imapx_command_start_next (CamelIMAPXServer *is,
                        is->tagprefix, "Selecting folder '%s' for command '%s'(%p)\n",
                        camel_folder_get_full_name (first_ic->select),
                        first_ic->name, first_ic);
-               imapx_select (is, first_ic->select, FALSE, cancellable, error);
+               imapx_select (is, first_ic->select, FALSE, error);
        } else {
                GQueue start = G_QUEUE_INIT;
                GList *head, *link;
@@ -3614,7 +3613,6 @@ static gboolean
 imapx_select (CamelIMAPXServer *is,
               CamelFolder *folder,
               gboolean forced,
-              GCancellable *cancellable,
               GError **error)
 {
        CamelIMAPXCommand *ic;
@@ -5749,8 +5747,7 @@ imapx_job_refresh_info_start (CamelIMAPXJob *job,
                                        if (!imapx_stop_idle (is, error))
                                                goto done;
                                /* This doesn't work -- this is an immediate command, not queued */
-                               if (!imapx_select (
-                                       is, folder, TRUE, cancellable, error))
+                               if (!imapx_select (is, folder, TRUE, error))
                                        goto done;
                        } else {
                                /* Or maybe just NOOP, unless we're in IDLE in which case do nothing */


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