From 1d1b5de8ffbf60e8d854148880ee81860fa0b6a9 Mon Sep 17 00:00:00 2001 From: Stef Walter Date: Fri, 21 Sep 2012 09:25:58 +0200 Subject: [PATCH] gcr: Remove the waiting field in the system prompt CallClosure * This field wasn't being used for anything. https://bugzilla.gnome.org/show_bug.cgi?id=678611 --- gcr/gcr-system-prompt.c | 4 ---- 1 file changed, 4 deletions(-) diff --git a/gcr/gcr-system-prompt.c b/gcr/gcr-system-prompt.c index 36c4500..b66e30e 100644 --- a/gcr/gcr-system-prompt.c +++ b/gcr/gcr-system-prompt.c @@ -145,7 +145,6 @@ typedef struct { GSource *timeout; GMainContext *context; GCancellable *cancellable; - gboolean waiting; } CallClosure; static void @@ -947,7 +946,6 @@ on_perform_prompt_complete (GObject *source, { GSimpleAsyncResult *res = G_SIMPLE_ASYNC_RESULT (user_data); GcrSystemPrompt *self = GCR_SYSTEM_PROMPT (g_async_result_get_source_object (user_data)); - CallClosure *closure = g_simple_async_result_get_op_res_gpointer (res); GError *error = NULL; GVariant *retval; @@ -955,8 +953,6 @@ on_perform_prompt_complete (GObject *source, if (error != NULL) { g_simple_async_result_take_error (res, error); g_simple_async_result_complete_in_idle (res); - } else { - closure->waiting = TRUE; } if (retval) -- 2.7.4