[network-manager-applet/bg/wifi-check-permissions: 2/4] fixup! applet: Check the user has permission to modify before showing dialog



commit d3619301cf20bb3a8b97a98a4f55ea6ea0fc2685
Author: Beniamino Galvani <bgalvani redhat com>
Date:   Tue Mar 14 14:17:29 2017 +0100

    fixup! applet: Check the user has permission to modify before showing dialog

 src/applet-device-wifi.c |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)
---
diff --git a/src/applet-device-wifi.c b/src/applet-device-wifi.c
index ccf8bb2..4bc819d 100644
--- a/src/applet-device-wifi.c
+++ b/src/applet-device-wifi.c
@@ -605,7 +605,7 @@ _do_new_auto_connection (NMApplet *applet,
                        const char *err_text = _("Insufficient privileges.");
                        g_warning ("%s: %s", text, err_text);
                        utils_show_error_dialog (_("Connection failure"), text, err_text, FALSE, NULL);
-                        g_clear_object (&connection);
+                       g_clear_object (&connection);
                        return;
                }
                more_info = g_malloc0 (sizeof (*more_info));


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