[gcr] gcr: Remove the waiting field in the system prompt CallClosure



commit 1d1b5de8ffbf60e8d854148880ee81860fa0b6a9
Author: Stef Walter <stefw gnome org>
Date:   Fri Sep 21 09:25:58 2012 +0200

    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 files changed, 0 insertions(+), 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)



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