[network-manager-applet/lr/wifi-dialog-fixes: 5/6] wireless-security/peap: (trivial) rename a poorly named variable



commit e6d6490a32c8d9a3c92b4e7534bea14982b6fea4
Author: Lubomir Rintel <lkundrak v3 sk>
Date:   Wed Oct 24 18:49:02 2018 +0200

    wireless-security/peap: (trivial) rename a poorly named variable
    
    It's not actually ignored.

 src/wireless-security/eap-method-peap.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
---
diff --git a/src/wireless-security/eap-method-peap.c b/src/wireless-security/eap-method-peap.c
index e74b4f24..a3b30068 100644
--- a/src/wireless-security/eap-method-peap.c
+++ b/src/wireless-security/eap-method-peap.c
@@ -79,12 +79,12 @@ validate (EAPMethod *parent, GError **error)
 }
 
 static void
-ca_cert_not_required_toggled (GtkWidget *ignored, gpointer user_data)
+ca_cert_not_required_toggled (GtkWidget *button, gpointer user_data)
 {
        EAPMethodPEAP *method = (EAPMethodPEAP *) user_data;
 
        gtk_widget_set_sensitive (method->ca_cert_chooser,
-                                 !gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (ignored)));
+                                 !gtk_toggle_button_get_active (GTK_TOGGLE_BUTTON (button)));
 }
 
 static void


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