summary refs log tree commit diff
path: root/src/nmtui
diff options
context:
space:
mode:
Diffstat (limited to 'src/nmtui')
-rw-r--r--src/nmtui/nm-editor-bindings.c200
-rw-r--r--src/nmtui/nm-editor-bindings.h68
-rw-r--r--src/nmtui/nm-editor-utils.c44
-rw-r--r--src/nmtui/nm-editor-utils.h2
-rw-r--r--src/nmtui/nmt-address-list.c20
-rw-r--r--src/nmtui/nmt-connect-connection-list.c86
-rw-r--r--src/nmtui/nmt-connect-connection-list.h18
-rw-r--r--src/nmtui/nmt-device-entry.c48
-rw-r--r--src/nmtui/nmt-device-entry.h4
-rw-r--r--src/nmtui/nmt-edit-connection-list.c42
-rw-r--r--src/nmtui/nmt-edit-connection-list.h2
-rw-r--r--src/nmtui/nmt-editor-grid.c50
-rw-r--r--src/nmtui/nmt-editor-grid.h6
-rw-r--r--src/nmtui/nmt-editor-page-device.c8
-rw-r--r--src/nmtui/nmt-editor-page.c2
-rw-r--r--src/nmtui/nmt-editor-section.c8
-rw-r--r--src/nmtui/nmt-editor-section.h2
-rw-r--r--src/nmtui/nmt-editor.c44
-rw-r--r--src/nmtui/nmt-ip-entry.c2
-rw-r--r--src/nmtui/nmt-mac-entry.c2
-rw-r--r--src/nmtui/nmt-mtu-entry.c8
-rw-r--r--src/nmtui/nmt-page-bond-port.c10
-rw-r--r--src/nmtui/nmt-page-bond.c58
-rw-r--r--src/nmtui/nmt-page-bridge-port.c10
-rw-r--r--src/nmtui/nmt-page-bridge.c14
-rw-r--r--src/nmtui/nmt-page-dsl.c16
-rw-r--r--src/nmtui/nmt-page-ethernet.c12
-rw-r--r--src/nmtui/nmt-page-infiniband.c12
-rw-r--r--src/nmtui/nmt-page-ip-tunnel.c18
-rw-r--r--src/nmtui/nmt-page-ip4.c18
-rw-r--r--src/nmtui/nmt-page-ip6.c18
-rw-r--r--src/nmtui/nmt-page-ppp.c32
-rw-r--r--src/nmtui/nmt-page-team-port.c18
-rw-r--r--src/nmtui/nmt-page-team.c26
-rw-r--r--src/nmtui/nmt-page-vlan.c12
-rw-r--r--src/nmtui/nmt-page-wifi.c44
-rw-r--r--src/nmtui/nmt-page-wireguard.c12
-rw-r--r--src/nmtui/nmt-password-dialog.c18
-rw-r--r--src/nmtui/nmt-password-dialog.h4
-rw-r--r--src/nmtui/nmt-password-fields.c12
-rw-r--r--src/nmtui/nmt-route-editor.c12
-rw-r--r--src/nmtui/nmt-route-entry.c10
-rw-r--r--src/nmtui/nmt-route-table.c32
-rw-r--r--src/nmtui/nmt-slave-list.c12
-rw-r--r--src/nmtui/nmt-slave-list.h2
-rw-r--r--src/nmtui/nmt-utils.c2
-rw-r--r--src/nmtui/nmt-widget-list.c8
-rw-r--r--src/nmtui/nmt-widget-list.h2
-rw-r--r--src/nmtui/nmt-wireguard-peer-editor.c22
-rw-r--r--src/nmtui/nmt-wireguard-peer-list.c34
-rw-r--r--src/nmtui/nmtui-connect.c64
-rw-r--r--src/nmtui/nmtui-edit.c48
-rw-r--r--src/nmtui/nmtui-edit.h6
-rw-r--r--src/nmtui/nmtui-hostname.c14
-rw-r--r--src/nmtui/nmtui.c26
55 files changed, 662 insertions, 662 deletions
diff --git a/src/nmtui/nm-editor-bindings.c b/src/nmtui/nm-editor-bindings.c
index 59474fba..22ffdfd5 100644
--- a/src/nmtui/nm-editor-bindings.c
+++ b/src/nmtui/nm-editor-bindings.c
@@ -55,16 +55,16 @@ nm_editor_bindings_init(void)
 }
 
 static gboolean
-ip_addresses_with_prefix_to_strv(GBinding *    binding,
+ip_addresses_with_prefix_to_strv(GBinding     *binding,
                                  const GValue *source_value,
-                                 GValue *      target_value,
+                                 GValue       *target_value,
                                  gpointer      user_data)
 {
-    GPtrArray *  addrs;
+    GPtrArray   *addrs;
     NMIPAddress *addr;
-    const char * addrstr;
+    const char  *addrstr;
     guint32      prefix;
-    char **      strings;
+    char       **strings;
     int          i;
 
     addrs   = g_value_get_boxed(source_value);
@@ -86,16 +86,16 @@ ip_addresses_with_prefix_to_strv(GBinding *    binding,
 }
 
 static gboolean
-ip_addresses_with_prefix_from_strv(GBinding *    binding,
+ip_addresses_with_prefix_from_strv(GBinding     *binding,
                                    const GValue *source_value,
-                                   GValue *      target_value,
+                                   GValue       *target_value,
                                    gpointer      user_data)
 {
     int          addr_family = GPOINTER_TO_INT(user_data);
-    char **      strings;
-    GPtrArray *  addrs;
+    char       **strings;
+    GPtrArray   *addrs;
     NMIPAddress *addr;
-    char *       addrstr;
+    char        *addrstr;
     int          prefix;
     int          i;
 
@@ -165,9 +165,9 @@ ip_addresses_with_prefix_from_strv(GBinding *    binding,
 void
 nm_editor_bind_ip_addresses_with_prefix_to_strv(int           addr_family,
                                                 gpointer      source,
-                                                const char *  source_property,
+                                                const char   *source_property,
                                                 gpointer      target,
-                                                const char *  target_property,
+                                                const char   *target_property,
                                                 GBindingFlags flags)
 {
     g_object_bind_property_full(source,
@@ -182,9 +182,9 @@ nm_editor_bind_ip_addresses_with_prefix_to_strv(int           addr_family,
 }
 
 static gboolean
-ip_addresses_check_and_copy(GBinding *    binding,
+ip_addresses_check_and_copy(GBinding     *binding,
                             const GValue *source_value,
-                            GValue *      target_value,
+                            GValue       *target_value,
                             gpointer      user_data)
 {
     int    addr_family = GPOINTER_TO_INT(user_data);
@@ -220,9 +220,9 @@ ip_addresses_check_and_copy(GBinding *    binding,
 void
 nm_editor_bind_ip_addresses_to_strv(int           addr_family,
                                     gpointer      source,
-                                    const char *  source_property,
+                                    const char   *source_property,
                                     gpointer      target,
-                                    const char *  target_property,
+                                    const char   *target_property,
                                     GBindingFlags flags)
 {
     g_object_bind_property_full(source,
@@ -237,9 +237,9 @@ nm_editor_bind_ip_addresses_to_strv(int           addr_family,
 }
 
 static gboolean
-ip_gateway_to_string(GBinding *    binding,
+ip_gateway_to_string(GBinding     *binding,
                      const GValue *source_value,
-                     GValue *      target_value,
+                     GValue       *target_value,
                      gpointer      user_data)
 {
     g_value_set_string(target_value, g_value_get_string(source_value));
@@ -247,9 +247,9 @@ ip_gateway_to_string(GBinding *    binding,
 }
 
 static gboolean
-ip_gateway_from_string(GBinding *    binding,
+ip_gateway_from_string(GBinding     *binding,
                        const GValue *source_value,
-                       GValue *      target_value,
+                       GValue       *target_value,
                        gpointer      user_data)
 {
     int         addr_family = GPOINTER_TO_INT(user_data);
@@ -264,9 +264,9 @@ ip_gateway_from_string(GBinding *    binding,
 }
 
 static gboolean
-ip_addresses_to_gateway(GBinding *    binding,
+ip_addresses_to_gateway(GBinding     *binding,
                         const GValue *source_value,
-                        GValue *      target_value,
+                        GValue       *target_value,
                         gpointer      user_data)
 {
     GPtrArray *addrs;
@@ -280,9 +280,9 @@ ip_addresses_to_gateway(GBinding *    binding,
 }
 
 static gboolean
-ip_addresses_to_sensitivity(GBinding *    binding,
+ip_addresses_to_sensitivity(GBinding     *binding,
                             const GValue *source_value,
-                            GValue *      target_value,
+                            GValue       *target_value,
                             gpointer      user_data)
 {
     GPtrArray *addrs;
@@ -319,8 +319,8 @@ void
 nm_editor_bind_ip_gateway_to_string(int                addr_family,
                                     NMSettingIPConfig *source,
                                     gpointer           target,
-                                    const char *       target_property,
-                                    const char *       target_sensitive_property,
+                                    const char        *target_property,
+                                    const char        *target_sensitive_property,
                                     GBindingFlags      flags)
 {
     g_object_bind_property_full(source,
@@ -353,14 +353,14 @@ nm_editor_bind_ip_gateway_to_string(int                addr_family,
 }
 
 static gboolean
-ip_route_transform_to_dest_string(GBinding *    binding,
+ip_route_transform_to_dest_string(GBinding     *binding,
                                   const GValue *source_value,
-                                  GValue *      target_value,
+                                  GValue       *target_value,
                                   gpointer      user_data)
 {
-    NMIPRoute * route;
+    NMIPRoute  *route;
     const char *addrstr;
-    char *      string;
+    char       *string;
 
     route = g_value_get_boxed(source_value);
     if (route)
@@ -377,12 +377,12 @@ ip_route_transform_to_dest_string(GBinding *    binding,
 }
 
 static gboolean
-ip_route_transform_to_next_hop_string(GBinding *    binding,
+ip_route_transform_to_next_hop_string(GBinding     *binding,
                                       const GValue *source_value,
-                                      GValue *      target_value,
+                                      GValue       *target_value,
                                       gpointer      user_data)
 {
-    NMIPRoute * route;
+    NMIPRoute  *route;
     const char *addrstr;
 
     route = g_value_get_boxed(source_value);
@@ -398,13 +398,13 @@ ip_route_transform_to_next_hop_string(GBinding *    binding,
 }
 
 static gboolean
-ip_route_transform_to_metric_string(GBinding *    binding,
+ip_route_transform_to_metric_string(GBinding     *binding,
                                     const GValue *source_value,
-                                    GValue *      target_value,
+                                    GValue       *target_value,
                                     gpointer      user_data)
 {
     NMIPRoute *route;
-    char *     string;
+    char      *string;
 
     route = g_value_get_boxed(source_value);
     if (route && nm_ip_route_get_dest(route) && nm_ip_route_get_metric(route) != -1) {
@@ -416,15 +416,15 @@ ip_route_transform_to_metric_string(GBinding *    binding,
 }
 
 static gboolean
-ip_route_transform_from_dest_string(GBinding *    binding,
+ip_route_transform_from_dest_string(GBinding     *binding,
                                     const GValue *source_value,
-                                    GValue *      target_value,
+                                    GValue       *target_value,
                                     gpointer      user_data)
 {
     int         addr_family = GPOINTER_TO_INT(user_data);
-    NMIPRoute * route;
+    NMIPRoute  *route;
     const char *text;
-    char *      addrstr;
+    char       *addrstr;
     int         prefix;
 
     text = g_value_get_string(source_value);
@@ -461,13 +461,13 @@ ip_route_transform_from_dest_string(GBinding *    binding,
 }
 
 static gboolean
-ip_route_transform_from_next_hop_string(GBinding *    binding,
+ip_route_transform_from_next_hop_string(GBinding     *binding,
                                         const GValue *source_value,
-                                        GValue *      target_value,
+                                        GValue       *target_value,
                                         gpointer      user_data)
 {
     int         addr_family = GPOINTER_TO_INT(user_data);
-    NMIPRoute * route;
+    NMIPRoute  *route;
     const char *text;
 
     text = g_value_get_string(source_value);
@@ -490,12 +490,12 @@ ip_route_transform_from_next_hop_string(GBinding *    binding,
 }
 
 static gboolean
-ip_route_transform_from_metric_string(GBinding *    binding,
+ip_route_transform_from_metric_string(GBinding     *binding,
                                       const GValue *source_value,
-                                      GValue *      target_value,
+                                      GValue       *target_value,
                                       gpointer      user_data)
 {
-    NMIPRoute * route;
+    NMIPRoute  *route;
     const char *text;
     gint64      metric;
 
@@ -538,13 +538,13 @@ ip_route_transform_from_metric_string(GBinding *    binding,
 void
 nm_editor_bind_ip_route_to_strings(int           addr_family,
                                    gpointer      source,
-                                   const char *  source_property,
+                                   const char   *source_property,
                                    gpointer      dest_target,
-                                   const char *  dest_target_property,
+                                   const char   *dest_target_property,
                                    gpointer      next_hop_target,
-                                   const char *  next_hop_target_property,
+                                   const char   *next_hop_target_property,
                                    gpointer      metric_target,
-                                   const char *  metric_target_property,
+                                   const char   *metric_target_property,
                                    GBindingFlags flags)
 {
     g_object_bind_property_full(source,
@@ -577,13 +577,13 @@ nm_editor_bind_ip_route_to_strings(int           addr_family,
 }
 
 gboolean
-peer_transform_to_public_key_string(GBinding *    binding,
+peer_transform_to_public_key_string(GBinding     *binding,
                                     const GValue *source_value,
-                                    GValue *      target_value,
+                                    GValue       *target_value,
                                     gpointer      user_data)
 {
     NMWireGuardPeer *peer;
-    char *           string;
+    char            *string;
 
     peer = g_value_get_boxed(source_value);
     if (peer && nm_wireguard_peer_get_public_key(peer)) {
@@ -595,13 +595,13 @@ peer_transform_to_public_key_string(GBinding *    binding,
 }
 
 gboolean
-peer_transform_to_allowed_ips_string(GBinding *    binding,
+peer_transform_to_allowed_ips_string(GBinding     *binding,
                                      const GValue *source_value,
-                                     GValue *      target_value,
+                                     GValue       *target_value,
                                      gpointer      user_data)
 {
     NMWireGuardPeer *peer;
-    GString *        string = NULL;
+    GString         *string = NULL;
     guint            i, len;
 
     peer = g_value_get_boxed(source_value);
@@ -623,13 +623,13 @@ peer_transform_to_allowed_ips_string(GBinding *    binding,
 }
 
 gboolean
-peer_transform_to_endpoint_string(GBinding *    binding,
+peer_transform_to_endpoint_string(GBinding     *binding,
                                   const GValue *source_value,
-                                  GValue *      target_value,
+                                  GValue       *target_value,
                                   gpointer      user_data)
 {
     NMWireGuardPeer *peer;
-    char *           string;
+    char            *string;
 
     peer = g_value_get_boxed(source_value);
     if (peer && nm_wireguard_peer_get_endpoint(peer)) {
@@ -641,13 +641,13 @@ peer_transform_to_endpoint_string(GBinding *    binding,
 }
 
 gboolean
-peer_transform_to_preshared_key_string(GBinding *    binding,
+peer_transform_to_preshared_key_string(GBinding     *binding,
                                        const GValue *source_value,
-                                       GValue *      target_value,
+                                       GValue       *target_value,
                                        gpointer      user_data)
 {
     NMWireGuardPeer *peer;
-    char *           string;
+    char            *string;
 
     peer = g_value_get_boxed(source_value);
     if (peer && nm_wireguard_peer_get_preshared_key(peer)) {
@@ -659,13 +659,13 @@ peer_transform_to_preshared_key_string(GBinding *    binding,
 }
 
 gboolean
-peer_transform_to_persistent_keepalive_string(GBinding *    binding,
+peer_transform_to_persistent_keepalive_string(GBinding     *binding,
                                               const GValue *source_value,
-                                              GValue *      target_value,
+                                              GValue       *target_value,
                                               gpointer      user_data)
 {
     NMWireGuardPeer *peer;
-    char *           string;
+    char            *string;
 
     peer = g_value_get_boxed(source_value);
     if (peer && nm_wireguard_peer_get_persistent_keepalive(peer)) {
@@ -677,13 +677,13 @@ peer_transform_to_persistent_keepalive_string(GBinding *    binding,
 }
 
 gboolean
-peer_transform_from_public_key_string(GBinding *    binding,
+peer_transform_from_public_key_string(GBinding     *binding,
                                       const GValue *source_value,
-                                      GValue *      target_value,
+                                      GValue       *target_value,
                                       gpointer      user_data)
 {
     NMWireGuardPeer *peer;
-    const char *     text;
+    const char      *text;
 
     text = g_value_get_string(source_value);
 
@@ -700,14 +700,14 @@ peer_transform_from_public_key_string(GBinding *    binding,
 }
 
 gboolean
-peer_transform_from_allowed_ips_string(GBinding *    binding,
+peer_transform_from_allowed_ips_string(GBinding     *binding,
                                        const GValue *source_value,
-                                       GValue *      target_value,
+                                       GValue       *target_value,
                                        gpointer      user_data)
 {
     NMWireGuardPeer *peer;
-    const char *     text;
-    char **          strv;
+    const char      *text;
+    char           **strv;
     guint            i;
 
     text = g_value_get_string(source_value);
@@ -730,13 +730,13 @@ peer_transform_from_allowed_ips_string(GBinding *    binding,
 }
 
 gboolean
-peer_transform_from_endpoint_string(GBinding *    binding,
+peer_transform_from_endpoint_string(GBinding     *binding,
                                     const GValue *source_value,
-                                    GValue *      target_value,
+                                    GValue       *target_value,
                                     gpointer      user_data)
 {
     NMWireGuardPeer *peer;
-    const char *     text;
+    const char      *text;
 
     text = g_value_get_string(source_value);
 
@@ -753,13 +753,13 @@ peer_transform_from_endpoint_string(GBinding *    binding,
 }
 
 gboolean
-peer_transform_from_preshared_key_string(GBinding *    binding,
+peer_transform_from_preshared_key_string(GBinding     *binding,
                                          const GValue *source_value,
-                                         GValue *      target_value,
+                                         GValue       *target_value,
                                          gpointer      user_data)
 {
     NMWireGuardPeer *peer;
-    const char *     text;
+    const char      *text;
 
     text = g_value_get_string(source_value);
 
@@ -777,13 +777,13 @@ peer_transform_from_preshared_key_string(GBinding *    binding,
 }
 
 gboolean
-peer_transform_from_persistent_keepalive_string(GBinding *    binding,
+peer_transform_from_persistent_keepalive_string(GBinding     *binding,
                                                 const GValue *source_value,
-                                                GValue *      target_value,
+                                                GValue       *target_value,
                                                 gpointer      user_data)
 {
     NMWireGuardPeer *peer;
-    const char *     text;
+    const char      *text;
 
     text = g_value_get_string(source_value);
 
@@ -801,12 +801,12 @@ peer_transform_from_persistent_keepalive_string(GBinding *    binding,
 
 /* Wireless security method binding */
 typedef struct {
-    NMConnection *             connection;
+    NMConnection              *connection;
     NMSettingWirelessSecurity *s_wsec;
     gboolean                   s_wsec_in_use;
 
     GObject *target;
-    char *   target_property;
+    char    *target_property;
 
     gboolean updating;
 } NMEditorWirelessSecurityMethodBinding;
@@ -873,7 +873,7 @@ static void
 wireless_connection_changed(NMConnection *connection, gpointer user_data)
 {
     NMEditorWirelessSecurityMethodBinding *binding = user_data;
-    NMSettingWirelessSecurity *            s_wsec;
+    NMSettingWirelessSecurity             *s_wsec;
 
     if (binding->updating)
         return;
@@ -890,7 +890,7 @@ static void
 wireless_security_target_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
     NMEditorWirelessSecurityMethodBinding *binding = user_data;
-    char *                                 method;
+    char                                  *method;
 
     if (binding->updating)
         return;
@@ -1029,14 +1029,14 @@ wireless_security_target_destroyed(gpointer user_data, GObject *ex_target)
  * changes.
  */
 void
-nm_editor_bind_wireless_security_method(NMConnection *             connection,
+nm_editor_bind_wireless_security_method(NMConnection              *connection,
                                         NMSettingWirelessSecurity *s_wsec,
                                         gpointer                   target,
-                                        const char *               target_property,
+                                        const char                *target_property,
                                         GBindingFlags              flags)
 {
     NMEditorWirelessSecurityMethodBinding *binding;
-    char *                                 notify;
+    char                                  *notify;
 
     binding = g_slice_new0(NMEditorWirelessSecurityMethodBinding);
 
@@ -1078,8 +1078,8 @@ nm_editor_bind_wireless_security_method(NMConnection *             connection,
 
 typedef struct {
     NMSettingWirelessSecurity *s_wsec;
-    GObject *                  entry, *key_selector;
-    char *                     entry_property, *key_selector_property;
+    GObject                   *entry, *key_selector;
+    char                      *entry_property, *key_selector_property;
 
     gboolean updating;
 } NMEditorWepKeyBinding;
@@ -1088,7 +1088,7 @@ static void
 wep_key_setting_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
     NMEditorWepKeyBinding *binding = user_data;
-    const char *           key;
+    const char            *key;
     int                    index;
 
     if (binding->updating)
@@ -1107,7 +1107,7 @@ static void
 wep_key_ui_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
     NMEditorWepKeyBinding *binding = user_data;
-    char *                 key;
+    char                  *key;
     int                    index;
 
     if (binding->updating)
@@ -1180,13 +1180,13 @@ wep_key_target_destroyed(gpointer user_data, GObject *ex_target)
 void
 nm_editor_bind_wireless_security_wep_key(NMSettingWirelessSecurity *s_wsec,
                                          gpointer                   entry,
-                                         const char *               entry_property,
+                                         const char                *entry_property,
                                          gpointer                   key_selector,
-                                         const char *               key_selector_property,
+                                         const char                *key_selector_property,
                                          GBindingFlags              flags)
 {
     NMEditorWepKeyBinding *binding;
-    char *                 notify;
+    char                  *notify;
 
     binding                        = g_slice_new0(NMEditorWepKeyBinding);
     binding->s_wsec                = g_object_ref(s_wsec);
@@ -1237,7 +1237,7 @@ nm_editor_bind_wireless_security_wep_key(NMSettingWirelessSecurity *s_wsec,
 /* VLAN binding */
 
 typedef struct {
-    NMSettingVlan *      s_vlan;
+    NMSettingVlan       *s_vlan;
     NMSettingConnection *s_con;
 
     char *last_ifname_parent;
@@ -1250,7 +1250,7 @@ static gboolean
 parse_interface_name(const char *ifname, char **parent_ifname, int *id)
 {
     const char *ifname_end;
-    char *      end;
+    char       *end;
 
     if (!ifname || !*ifname)
         return FALSE;
@@ -1280,8 +1280,8 @@ static void
 vlan_settings_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
     NMEditorVlanWidgetBinding *binding = user_data;
-    const char *               ifname, *parent;
-    char *                     ifname_parent;
+    const char                *ifname, *parent;
+    char                      *ifname_parent;
     int                        ifname_id, id;
 
     if (binding->updating)
@@ -1341,7 +1341,7 @@ void
 nm_editor_bind_vlan_name(NMSettingVlan *s_vlan, NMSettingConnection *s_con)
 {
     NMEditorVlanWidgetBinding *binding;
-    const char *               ifname;
+    const char                *ifname;
 
     binding         = g_slice_new0(NMEditorVlanWidgetBinding);
     binding->s_vlan = s_vlan;
diff --git a/src/nmtui/nm-editor-bindings.h b/src/nmtui/nm-editor-bindings.h
index a9bf51ed..ef2f36f2 100644
--- a/src/nmtui/nm-editor-bindings.h
+++ b/src/nmtui/nm-editor-bindings.h
@@ -10,97 +10,97 @@ void nm_editor_bindings_init(void);
 
 void nm_editor_bind_ip_addresses_with_prefix_to_strv(int           family,
                                                      gpointer      source,
-                                                     const char *  source_property,
+                                                     const char   *source_property,
                                                      gpointer      target,
-                                                     const char *  target_property,
+                                                     const char   *target_property,
                                                      GBindingFlags flags);
 void nm_editor_bind_ip_addresses_to_strv(int           family,
                                          gpointer      source,
-                                         const char *  source_property,
+                                         const char   *source_property,
                                          gpointer      target,
-                                         const char *  target_property,
+                                         const char   *target_property,
                                          GBindingFlags flags);
 
 void nm_editor_bind_ip_gateway_to_string(int                family,
                                          NMSettingIPConfig *source,
                                          gpointer           target,
-                                         const char *       target_property,
-                                         const char *       target_sensitive_property,
+                                         const char        *target_property,
+                                         const char        *target_sensitive_property,
                                          GBindingFlags      flags);
 
 void nm_editor_bind_ip_route_to_strings(int           family,
                                         gpointer      source,
-                                        const char *  source_property,
+                                        const char   *source_property,
                                         gpointer      dest_target,
-                                        const char *  dest_target_property,
+                                        const char   *dest_target_property,
                                         gpointer      next_hop_target,
-                                        const char *  next_hop_target_property,
+                                        const char   *next_hop_target_property,
                                         gpointer      metric_target,
-                                        const char *  metric_target_property,
+                                        const char   *metric_target_property,
                                         GBindingFlags flags);
 
-void nm_editor_bind_wireless_security_method(NMConnection *             connection,
+void nm_editor_bind_wireless_security_method(NMConnection              *connection,
                                              NMSettingWirelessSecurity *s_wsec,
                                              gpointer                   target,
-                                             const char *               target_property,
+                                             const char                *target_property,
                                              GBindingFlags              flags);
 void nm_editor_bind_wireless_security_wep_key(NMSettingWirelessSecurity *s_wsec,
                                               gpointer                   entry,
-                                              const char *               entry_property,
+                                              const char                *entry_property,
                                               gpointer                   key_selector,
-                                              const char *               key_selector_property,
+                                              const char                *key_selector_property,
                                               GBindingFlags              flags);
 
 void nm_editor_bind_vlan_name(NMSettingVlan *s_vlan, NMSettingConnection *s_con);
 
-gboolean peer_transform_to_public_key_string(GBinding *    binding,
+gboolean peer_transform_to_public_key_string(GBinding     *binding,
                                              const GValue *source_value,
-                                             GValue *      target_value,
+                                             GValue       *target_value,
                                              gpointer      user_data);
 
-gboolean peer_transform_to_allowed_ips_string(GBinding *    binding,
+gboolean peer_transform_to_allowed_ips_string(GBinding     *binding,
                                               const GValue *source_value,
-                                              GValue *      target_value,
+                                              GValue       *target_value,
                                               gpointer      user_data);
 
-gboolean peer_transform_to_endpoint_string(GBinding *    binding,
+gboolean peer_transform_to_endpoint_string(GBinding     *binding,
                                            const GValue *source_value,
-                                           GValue *      target_value,
+                                           GValue       *target_value,
                                            gpointer      user_data);
 
-gboolean peer_transform_to_preshared_key_string(GBinding *    binding,
+gboolean peer_transform_to_preshared_key_string(GBinding     *binding,
                                                 const GValue *source_value,
-                                                GValue *      target_value,
+                                                GValue       *target_value,
                                                 gpointer      user_data);
 
-gboolean peer_transform_to_persistent_keepalive_string(GBinding *    binding,
+gboolean peer_transform_to_persistent_keepalive_string(GBinding     *binding,
                                                        const GValue *source_value,
-                                                       GValue *      target_value,
+                                                       GValue       *target_value,
                                                        gpointer      user_data);
 
-gboolean peer_transform_from_public_key_string(GBinding *    binding,
+gboolean peer_transform_from_public_key_string(GBinding     *binding,
                                                const GValue *source_value,
-                                               GValue *      target_value,
+                                               GValue       *target_value,
                                                gpointer      user_data);
 
-gboolean peer_transform_from_allowed_ips_string(GBinding *    binding,
+gboolean peer_transform_from_allowed_ips_string(GBinding     *binding,
                                                 const GValue *source_value,
-                                                GValue *      target_value,
+                                                GValue       *target_value,
                                                 gpointer      user_data);
 
-gboolean peer_transform_from_endpoint_string(GBinding *    binding,
+gboolean peer_transform_from_endpoint_string(GBinding     *binding,
                                              const GValue *source_value,
-                                             GValue *      target_value,
+                                             GValue       *target_value,
                                              gpointer      user_data);
 
-gboolean peer_transform_from_preshared_key_string(GBinding *    binding,
+gboolean peer_transform_from_preshared_key_string(GBinding     *binding,
                                                   const GValue *source_value,
-                                                  GValue *      target_value,
+                                                  GValue       *target_value,
                                                   gpointer      user_data);
 
-gboolean peer_transform_from_persistent_keepalive_string(GBinding *    binding,
+gboolean peer_transform_from_persistent_keepalive_string(GBinding     *binding,
                                                          const GValue *source_value,
-                                                         GValue *      target_value,
+                                                         GValue       *target_value,
                                                          gpointer      user_data);
 
 #endif /* NM_EDITOR_BINDINGS_H */
diff --git a/src/nmtui/nm-editor-utils.c b/src/nmtui/nm-editor-utils.c
index 2b6acbbe..a3ee7a75 100644
--- a/src/nmtui/nm-editor-utils.c
+++ b/src/nmtui/nm-editor-utils.c
@@ -49,9 +49,9 @@ wifi_connection_setup_func(NMConnection *connection, NMSettingConnection *s_con,
 static void
 bond_connection_setup_func(NMConnection *connection, NMSettingConnection *s_con, NMSetting *s_hw)
 {
-    NMSettingBond *          s_bond = NM_SETTING_BOND(s_hw);
+    NMSettingBond           *s_bond = NM_SETTING_BOND(s_hw);
     guint                    i;
-    const char *             value;
+    const char              *value;
     static const char *const options[] = {
         NM_SETTING_BOND_OPTION_MODE,
         NM_SETTING_BOND_OPTION_MIIMON,
@@ -67,9 +67,9 @@ bond_connection_setup_func(NMConnection *connection, NMSettingConnection *s_con,
 }
 
 static void
-wireguard_connection_setup_func(NMConnection *       connection,
+wireguard_connection_setup_func(NMConnection        *connection,
                                 NMSettingConnection *s_con,
-                                NMSetting *          s_hw)
+                                NMSetting           *s_hw)
 {
     NMSettingIPConfig *s_ip;
 
@@ -82,14 +82,14 @@ wireguard_connection_setup_func(NMConnection *       connection,
     nm_connection_add_setting(connection, (NMSetting *) s_ip);
 }
 
-typedef void (*NMEditorNewConnectionSetupFunc)(NMConnection *       connection,
+typedef void (*NMEditorNewConnectionSetupFunc)(NMConnection        *connection,
                                                NMSettingConnection *s_con,
-                                               NMSetting *          s_hw);
+                                               NMSetting           *s_hw);
 
 typedef struct {
     NMEditorConnectionTypeData data;
 
-    const char *                   id_format;
+    const char                    *id_format;
     NMEditorNewConnectionSetupFunc connection_setup_func;
     gboolean                       no_autoconnect;
 } NMEditorConnectionTypeDataReal;
@@ -127,8 +127,8 @@ sort_types(gconstpointer a, gconstpointer b)
 NMEditorConnectionTypeData **
 nm_editor_utils_get_connection_type_list(void)
 {
-    GPtrArray *                         array;
-    NMEditorConnectionTypeDataReal *    item;
+    GPtrArray                          *array;
+    NMEditorConnectionTypeDataReal     *item;
     static NMEditorConnectionTypeData **list;
 #if 0
     GHashTable *vpn_plugins_hash;
@@ -291,8 +291,8 @@ static char *
 get_available_connection_name(const char *format, NMClient *client)
 {
     const GPtrArray *conns;
-    GSList *         names = NULL, *iter;
-    char *           cname = NULL;
+    GSList          *names = NULL, *iter;
+    char            *cname = NULL;
     int              i     = 0;
 
     nm_assert(_assert_format_int(format));
@@ -308,7 +308,7 @@ get_available_connection_name(const char *format, NMClient *client)
 
     /* Find the next available unique connection name */
     for (i = 1; !cname && i < 10000; i++) {
-        char *   temp;
+        char    *temp;
         gboolean found = FALSE;
 
         NM_PRAGMA_WARNING_DISABLE("-Wformat-nonliteral")
@@ -334,11 +334,11 @@ static char *
 get_available_iface_name(const char *try_name, NMClient *client)
 {
     const GPtrArray *connections;
-    NMConnection *   connection;
-    char *           new_name;
+    NMConnection    *connection;
+    char            *new_name;
     unsigned         num    = 1;
     int              i      = 0;
-    const char *     ifname = NULL;
+    const char      *ifname = NULL;
 
     connections = nm_client_get_connections(client);
 
@@ -374,14 +374,14 @@ get_available_iface_name(const char *try_name, NMClient *client)
 NMConnection *
 nm_editor_utils_create_connection(GType type, NMConnection *master, NMClient *client)
 {
-    NMEditorConnectionTypeData **   types;
+    NMEditorConnectionTypeData    **types;
     NMEditorConnectionTypeDataReal *type_data           = NULL;
-    const char *                    master_setting_type = NULL, *master_uuid = NULL;
+    const char                     *master_setting_type = NULL, *master_uuid = NULL;
     GType                master_type = G_TYPE_INVALID, slave_setting_type = G_TYPE_INVALID;
-    NMConnection *       connection;
+    NMConnection        *connection;
     NMSettingConnection *s_con;
-    NMSetting *          s_hw, *s_slave;
-    char *               uuid, *id, *ifname;
+    NMSetting           *s_hw, *s_slave;
+    char                *uuid, *id, *ifname;
     int                  i;
 
     if (master) {
@@ -469,8 +469,8 @@ nm_editor_utils_create_connection(GType type, NMConnection *master, NMClient *cl
 NMEditorConnectionTypeData *
 nm_editor_utils_get_connection_type_data(NMConnection *conn)
 {
-    NMSettingConnection *        s_con;
-    const char *                 conn_type;
+    NMSettingConnection         *s_con;
+    const char                  *conn_type;
     GType                        conn_gtype;
     NMEditorConnectionTypeData **types;
     int                          i;
diff --git a/src/nmtui/nm-editor-utils.h b/src/nmtui/nm-editor-utils.h
index 5b624f93..decbc271 100644
--- a/src/nmtui/nm-editor-utils.h
+++ b/src/nmtui/nm-editor-utils.h
@@ -15,7 +15,7 @@ typedef struct {
 } NMEditorConnectionTypeData;
 
 NMEditorConnectionTypeData **nm_editor_utils_get_connection_type_list(void);
-NMEditorConnectionTypeData * nm_editor_utils_get_connection_type_data(NMConnection *conn);
+NMEditorConnectionTypeData  *nm_editor_utils_get_connection_type_data(NMConnection *conn);
 
 NMConnection *nm_editor_utils_create_connection(GType type, NMConnection *master, NMClient *client);
 
diff --git a/src/nmtui/nmt-address-list.c b/src/nmtui/nmt-address-list.c
index 265457d6..1678f33f 100644
--- a/src/nmtui/nmt-address-list.c
+++ b/src/nmtui/nmt-address-list.c
@@ -32,7 +32,7 @@ G_DEFINE_TYPE(NmtAddressList, nmt_address_list, NMT_TYPE_WIDGET_LIST)
 
 typedef struct {
     NmtAddressListType list_type;
-    char **            strings;
+    char             **strings;
 } NmtAddressListPrivate;
 
 enum {
@@ -73,9 +73,9 @@ nmt_address_list_init(NmtAddressList *list)
 {}
 
 static gboolean
-strings_transform_to_entry(GBinding *    binding,
+strings_transform_to_entry(GBinding     *binding,
                            const GValue *source_value,
-                           GValue *      target_value,
+                           GValue       *target_value,
                            gpointer      user_data)
 {
     int    n = GPOINTER_TO_INT(user_data);
@@ -90,12 +90,12 @@ strings_transform_to_entry(GBinding *    binding,
 }
 
 static gboolean
-strings_transform_from_entry(GBinding *    binding,
+strings_transform_from_entry(GBinding     *binding,
                              const GValue *source_value,
-                             GValue *      target_value,
+                             GValue       *target_value,
                              gpointer      user_data)
 {
-    NmtAddressList *       list = NMT_ADDRESS_LIST(g_binding_get_source(binding));
+    NmtAddressList        *list = NMT_ADDRESS_LIST(g_binding_get_source(binding));
     NmtAddressListPrivate *priv = NMT_ADDRESS_LIST_GET_PRIVATE(list);
     int                    n    = GPOINTER_TO_INT(user_data);
 
@@ -119,7 +119,7 @@ static NmtNewtWidget *
 nmt_address_list_create_widget(NmtWidgetList *list, int num)
 {
     NmtAddressListPrivate *priv = NMT_ADDRESS_LIST_GET_PRIVATE(list);
-    NmtNewtWidget *        entry;
+    NmtNewtWidget         *entry;
 
     if (priv->list_type == NMT_ADDRESS_LIST_IP4_WITH_PREFIX)
         entry = nmt_ip_entry_new(25, AF_INET, TRUE, FALSE);
@@ -178,10 +178,10 @@ nmt_address_list_remove_clicked(NmtWidgetList *list, int num)
 }
 
 static void
-nmt_address_list_set_property(GObject *     object,
+nmt_address_list_set_property(GObject      *object,
                               guint         prop_id,
                               const GValue *value,
-                              GParamSpec *  pspec)
+                              GParamSpec   *pspec)
 {
     NmtAddressListPrivate *priv = NMT_ADDRESS_LIST_GET_PRIVATE(object);
 
@@ -223,7 +223,7 @@ nmt_address_list_get_property(GObject *object, guint prop_id, GValue *value, GPa
 static void
 nmt_address_list_class_init(NmtAddressListClass *list_class)
 {
-    GObjectClass *      object_class      = G_OBJECT_CLASS(list_class);
+    GObjectClass       *object_class      = G_OBJECT_CLASS(list_class);
     NmtWidgetListClass *widget_list_class = NMT_WIDGET_LIST_CLASS(list_class);
 
     g_type_class_add_private(list_class, sizeof(NmtAddressListPrivate));
diff --git a/src/nmtui/nmt-connect-connection-list.c b/src/nmtui/nmt-connect-connection-list.c
index 486e1400..535cf8fd 100644
--- a/src/nmtui/nmt-connect-connection-list.c
+++ b/src/nmtui/nmt-connect-connection-list.c
@@ -27,7 +27,7 @@ G_DEFINE_TYPE(NmtConnectConnectionList, nmt_connect_connection_list, NMT_TYPE_NE
                                  NmtConnectConnectionListPrivate))
 
 typedef struct {
-    char *    name;
+    char     *name;
     NMDevice *device;
 
     int sort_order;
@@ -37,11 +37,11 @@ typedef struct {
 
 typedef struct {
     const char *name;
-    char *      ssid;
+    char       *ssid;
 
-    NMConnection *      conn;
-    NMAccessPoint *     ap;
-    NMDevice *          device;
+    NMConnection       *conn;
+    NMAccessPoint      *ap;
+    NMDevice           *device;
     NMActiveConnection *active;
 } NmtConnectConnection;
 
@@ -124,7 +124,7 @@ static int
 get_sort_order_for_connection(NMConnection *conn)
 {
     NMSettingConnection *s_con;
-    const char *         type;
+    const char          *type;
     int                  i;
 
     s_con = nm_connection_get_setting_connection(conn);
@@ -178,7 +178,7 @@ add_connections_for_device(NmtConnectDevice *nmtdev, const GPtrArray *connection
     int i;
 
     for (i = 0; i < connections->len; i++) {
-        NMConnection *       conn = connections->pdata[i];
+        NMConnection        *conn = connections->pdata[i];
         NMSettingConnection *s_con;
 
         s_con = nm_connection_get_setting_connection(conn);
@@ -201,7 +201,7 @@ static char *
 hash_ap(NMAccessPoint *ap)
 {
     unsigned char input[66];
-    GBytes *      ssid;
+    GBytes       *ssid;
     NM80211Mode   mode;
     guint32       flags;
     guint32       wpa_flags;
@@ -246,12 +246,12 @@ static void
 add_connections_for_aps(NmtConnectDevice *nmtdev, const GPtrArray *connections)
 {
     NmtConnectConnection *nmtconn;
-    NMConnection *        conn;
-    NMAccessPoint *       ap;
-    const GPtrArray *     aps;
-    GHashTable *          seen_ssids;
-    GBytes *              ssid;
-    char *                ap_hash;
+    NMConnection         *conn;
+    NMAccessPoint        *ap;
+    const GPtrArray      *aps;
+    GHashTable           *seen_ssids;
+    GBytes               *ssid;
+    char                 *ap_hash;
     int                   i, c;
 
     aps = nm_device_wifi_get_access_points(NM_DEVICE_WIFI(nmtdev->device));
@@ -301,13 +301,13 @@ add_connections_for_aps(NmtConnectDevice *nmtdev, const GPtrArray *connections)
 }
 
 static GSList *
-append_nmt_devices_for_devices(GSList *         nmt_devices,
+append_nmt_devices_for_devices(GSList          *nmt_devices,
                                const GPtrArray *devices,
-                               char **          names,
+                               char           **names,
                                const GPtrArray *connections)
 {
     NmtConnectDevice *nmtdev;
-    NMDevice *        device;
+    NMDevice         *device;
     int               i, sort_order;
 
     for (i = 0; i < devices->len; i++) {
@@ -337,11 +337,11 @@ append_nmt_devices_for_devices(GSList *         nmt_devices,
 static GSList *
 append_nmt_devices_for_virtual_devices(GSList *nmt_devices, const GPtrArray *connections)
 {
-    NmtConnectDevice *    nmtdev = NULL;
+    NmtConnectDevice     *nmtdev = NULL;
     int                   i;
-    GHashTable *          devices_by_name;
-    char *                name;
-    NMConnection *        conn;
+    GHashTable           *devices_by_name;
+    char                 *name;
+    NMConnection         *conn;
     NmtConnectConnection *nmtconn;
     int                   sort_order;
 
@@ -381,9 +381,9 @@ append_nmt_devices_for_virtual_devices(GSList *nmt_devices, const GPtrArray *con
 static GSList *
 append_nmt_devices_for_vpns(GSList *nmt_devices, const GPtrArray *connections)
 {
-    NmtConnectDevice *    nmtdev;
+    NmtConnectDevice     *nmtdev;
     int                   i;
-    NMConnection *        conn;
+    NMConnection         *conn;
     NmtConnectConnection *nmtconn;
 
     nmtdev             = g_slice_new0(NmtConnectDevice);
@@ -444,14 +444,14 @@ static void
 nmt_connect_connection_list_rebuild(NmtConnectConnectionList *list)
 {
     NmtConnectConnectionListPrivate *priv    = NMT_CONNECT_CONNECTION_LIST_GET_PRIVATE(list);
-    NmtNewtListbox *                 listbox = NMT_NEWT_LISTBOX(list);
-    const GPtrArray *                devices, *acs, *connections;
+    NmtNewtListbox                  *listbox = NMT_NEWT_LISTBOX(list);
+    const GPtrArray                 *devices, *acs, *connections;
     int                              max_width;
-    char **                          names, *row, active_col;
-    const char *                     strength_col;
-    GSList *                         nmt_devices, *diter, *citer;
-    NmtConnectDevice *               nmtdev;
-    NmtConnectConnection *           nmtconn;
+    char                           **names, *row, active_col;
+    const char                      *strength_col;
+    GSList                          *nmt_devices, *diter, *citer;
+    NmtConnectDevice                *nmtdev;
+    NmtConnectConnection            *nmtconn;
 
     g_slist_free_full(priv->nmt_devices, (GDestroyNotify) nmt_connect_device_free);
     priv->nmt_devices = NULL;
@@ -599,17 +599,17 @@ nmt_connect_connection_list_class_init(NmtConnectConnectionListClass *list_class
  */
 gboolean
 nmt_connect_connection_list_get_connection(NmtConnectConnectionList *list,
-                                           const char *              identifier,
-                                           NMConnection **           connection,
-                                           NMDevice **               device,
-                                           NMObject **               specific_object,
-                                           NMActiveConnection **     active)
+                                           const char               *identifier,
+                                           NMConnection            **connection,
+                                           NMDevice                **device,
+                                           NMObject                **specific_object,
+                                           NMActiveConnection      **active)
 {
     NmtConnectConnectionListPrivate *priv = NMT_CONNECT_CONNECTION_LIST_GET_PRIVATE(list);
-    GSList *                         diter, *citer;
-    NmtConnectDevice *               nmtdev;
-    NmtConnectConnection *           nmtconn = NULL;
-    NMConnection *                   conn    = NULL;
+    GSList                          *diter, *citer;
+    NmtConnectDevice                *nmtdev;
+    NmtConnectConnection            *nmtconn = NULL;
+    NMConnection                    *conn    = NULL;
 
     g_return_val_if_fail(identifier, FALSE);
 
@@ -669,10 +669,10 @@ found:
  */
 gboolean
 nmt_connect_connection_list_get_selection(NmtConnectConnectionList *list,
-                                          NMConnection **           connection,
-                                          NMDevice **               device,
-                                          NMObject **               specific_object,
-                                          NMActiveConnection **     active)
+                                          NMConnection            **connection,
+                                          NMDevice                **device,
+                                          NMObject                **specific_object,
+                                          NMActiveConnection      **active)
 {
     NmtConnectConnection *nmtconn;
 
diff --git a/src/nmtui/nmt-connect-connection-list.h b/src/nmtui/nmt-connect-connection-list.h
index 15a319b1..1eea4d04 100644
--- a/src/nmtui/nmt-connect-connection-list.h
+++ b/src/nmtui/nmt-connect-connection-list.h
@@ -39,15 +39,15 @@ GType nmt_connect_connection_list_get_type(void);
 NmtNewtWidget *nmt_connect_connection_list_new(void);
 
 gboolean nmt_connect_connection_list_get_connection(NmtConnectConnectionList *list,
-                                                    const char *              identifier,
-                                                    NMConnection **           connection,
-                                                    NMDevice **               device,
-                                                    NMObject **               specific_object,
-                                                    NMActiveConnection **     active);
+                                                    const char               *identifier,
+                                                    NMConnection            **connection,
+                                                    NMDevice                **device,
+                                                    NMObject                **specific_object,
+                                                    NMActiveConnection      **active);
 gboolean nmt_connect_connection_list_get_selection(NmtConnectConnectionList *list,
-                                                   NMConnection **           connection,
-                                                   NMDevice **               device,
-                                                   NMObject **               specific_object,
-                                                   NMActiveConnection **     active);
+                                                   NMConnection            **connection,
+                                                   NMDevice                **device,
+                                                   NMObject                **specific_object,
+                                                   NMActiveConnection      **active);
 
 #endif /* NMT_CONNECT_CONNECTION_LIST_H */
diff --git a/src/nmtui/nmt-device-entry.c b/src/nmtui/nmt-device-entry.c
index e831f4e4..7f312bd1 100644
--- a/src/nmtui/nmt-device-entry.c
+++ b/src/nmtui/nmt-device-entry.c
@@ -44,8 +44,8 @@ typedef struct {
     char *interface_name;
     char *mac_address;
 
-    char *         label;
-    NmtNewtEntry * entry;
+    char          *label;
+    NmtNewtEntry  *entry;
     NmtNewtWidget *button;
 
     gboolean updating;
@@ -91,13 +91,13 @@ nmt_device_entry_new(const char *label, int width, GType hardware_type)
 
 static gboolean
 device_entry_parse(NmtDeviceEntry *deventry,
-                   const char *    text,
-                   char **         interface_name,
-                   char **         mac_address)
+                   const char     *text,
+                   char          **interface_name,
+                   char          **mac_address)
 {
     NmtDeviceEntryPrivate *priv = NMT_DEVICE_ENTRY_GET_PRIVATE(deventry);
     guint8                 buf[NM_UTILS_HWADDR_LEN_MAX];
-    char **                words;
+    char                 **words;
     int                    len;
 
     *interface_name = *mac_address = NULL;
@@ -151,7 +151,7 @@ static gboolean
 device_entry_validate(NmtNewtEntry *entry, const char *text, gpointer user_data)
 {
     NmtDeviceEntry *deventry = user_data;
-    char *          ifname, *mac;
+    char           *ifname, *mac;
 
     if (!device_entry_parse(deventry, text, &ifname, &mac))
         return FALSE;
@@ -165,8 +165,8 @@ static NMDevice *
 find_device_by_interface_name(NmtDeviceEntry *deventry, const char *interface_name)
 {
     NmtDeviceEntryPrivate *priv = NMT_DEVICE_ENTRY_GET_PRIVATE(deventry);
-    const GPtrArray *      devices;
-    NMDevice *             device = NULL;
+    const GPtrArray       *devices;
+    NMDevice              *device = NULL;
     int                    i;
 
     devices = nm_client_get_devices(nm_client);
@@ -192,14 +192,14 @@ static NMDevice *
 find_device_by_mac_address(NmtDeviceEntry *deventry, const char *mac_address)
 {
     NmtDeviceEntryPrivate *priv = NMT_DEVICE_ENTRY_GET_PRIVATE(deventry);
-    const GPtrArray *      devices;
-    NMDevice *             device = NULL;
+    const GPtrArray       *devices;
+    NMDevice              *device = NULL;
     int                    i;
 
     devices = nm_client_get_devices(nm_client);
     for (i = 0; i < devices->len && !device; i++) {
         NMDevice *candidate = devices->pdata[i];
-        char *    hwaddr;
+        char     *hwaddr;
 
         if (priv->hardware_type != G_TYPE_NONE
             && !G_TYPE_CHECK_INSTANCE_TYPE(candidate, priv->hardware_type))
@@ -222,9 +222,9 @@ static void
 update_entry(NmtDeviceEntry *deventry)
 {
     NmtDeviceEntryPrivate *priv = NMT_DEVICE_ENTRY_GET_PRIVATE(deventry);
-    const char *           ifname;
-    char *                 mac, *text;
-    NMDevice *             ifname_device, *mac_device;
+    const char            *ifname;
+    char                  *mac, *text;
+    NMDevice              *ifname_device, *mac_device;
 
     if (priv->interface_name) {
         ifname        = priv->interface_name;
@@ -314,8 +314,8 @@ static void
 entry_text_changed(GObject *object, GParamSpec *pspec, gpointer deventry)
 {
     NmtDeviceEntryPrivate *priv = NMT_DEVICE_ENTRY_GET_PRIVATE(deventry);
-    const char *           text;
-    char *                 ifname, *mac;
+    const char            *text;
+    char                  *ifname, *mac;
 
     if (priv->updating)
         return;
@@ -335,7 +335,7 @@ static void
 nmt_device_entry_init(NmtDeviceEntry *deventry)
 {
     NmtDeviceEntryPrivate *priv = NMT_DEVICE_ENTRY_GET_PRIVATE(deventry);
-    NmtNewtWidget *        entry;
+    NmtNewtWidget         *entry;
 
     priv->hardware_type = G_TYPE_NONE;
 
@@ -401,7 +401,7 @@ nmt_device_entry_finalize(GObject *object)
  * accepted by the filter will be allowed.
  */
 void
-nmt_device_entry_set_device_filter(NmtDeviceEntry *           deventry,
+nmt_device_entry_set_device_filter(NmtDeviceEntry            *deventry,
                                    NmtDeviceEntryDeviceFilter filter,
                                    gpointer                   user_data)
 {
@@ -412,15 +412,15 @@ nmt_device_entry_set_device_filter(NmtDeviceEntry *           deventry,
 }
 
 static void
-nmt_device_entry_set_property(GObject *     object,
+nmt_device_entry_set_property(GObject      *object,
                               guint         prop_id,
                               const GValue *value,
-                              GParamSpec *  pspec)
+                              GParamSpec   *pspec)
 {
-    NmtDeviceEntry *       deventry = NMT_DEVICE_ENTRY(object);
+    NmtDeviceEntry        *deventry = NMT_DEVICE_ENTRY(object);
     NmtDeviceEntryPrivate *priv     = NMT_DEVICE_ENTRY_GET_PRIVATE(deventry);
-    const char *           interface_name;
-    const char *           mac_address;
+    const char            *interface_name;
+    const char            *mac_address;
 
     switch (prop_id) {
     case PROP_LABEL:
diff --git a/src/nmtui/nmt-device-entry.h b/src/nmtui/nmt-device-entry.h
index 13f82bc8..f66c3d8d 100644
--- a/src/nmtui/nmt-device-entry.h
+++ b/src/nmtui/nmt-device-entry.h
@@ -33,9 +33,9 @@ GType nmt_device_entry_get_type(void);
 NmtNewtWidget *nmt_device_entry_new(const char *label, int width, GType hardware_type);
 
 typedef gboolean (*NmtDeviceEntryDeviceFilter)(NmtDeviceEntry *deventry,
-                                               NMDevice *      device,
+                                               NMDevice       *device,
                                                gpointer        user_data);
-void nmt_device_entry_set_device_filter(NmtDeviceEntry *           deventry,
+void nmt_device_entry_set_device_filter(NmtDeviceEntry            *deventry,
                                         NmtDeviceEntryDeviceFilter filter,
                                         gpointer                   user_data);
 
diff --git a/src/nmtui/nmt-edit-connection-list.c b/src/nmtui/nmt-edit-connection-list.c
index 9b31e06f..aec669c8 100644
--- a/src/nmtui/nmt-edit-connection-list.c
+++ b/src/nmtui/nmt-edit-connection-list.c
@@ -32,7 +32,7 @@ typedef struct {
     NmtEditConnectionListFilter connection_filter;
     gpointer                    connection_filter_data;
 
-    NmtNewtListbox *  listbox;
+    NmtNewtListbox   *listbox;
     NmtNewtButtonBox *buttons;
 
     NmtNewtWidget *add;
@@ -73,8 +73,8 @@ static void
 nmt_edit_connection_list_init(NmtEditConnectionList *list)
 {
     NmtEditConnectionListPrivate *priv = NMT_EDIT_CONNECTION_LIST_GET_PRIVATE(list);
-    NmtNewtWidget *               listbox, *buttons;
-    NmtNewtGrid *                 grid = NMT_NEWT_GRID(list);
+    NmtNewtWidget                *listbox, *buttons;
+    NmtNewtGrid                  *grid = NMT_NEWT_GRID(list);
 
     listbox       = g_object_new(NMT_TYPE_NEWT_LISTBOX,
                            "flags",
@@ -135,8 +135,8 @@ static void
 free_connections(NmtEditConnectionList *list)
 {
     NmtEditConnectionListPrivate *priv = NMT_EDIT_CONNECTION_LIST_GET_PRIVATE(list);
-    NMConnection *                conn;
-    GSList *                      iter;
+    NMConnection                 *conn;
+    GSList                       *iter;
 
     for (iter = priv->connections; iter; iter = iter->next) {
         conn = iter->data;
@@ -152,11 +152,11 @@ static void
 nmt_edit_connection_list_rebuild(NmtEditConnectionList *list)
 {
     NmtEditConnectionListPrivate *priv = NMT_EDIT_CONNECTION_LIST_GET_PRIVATE(list);
-    const GPtrArray *             connections;
-    GSList *                      iter;
+    const GPtrArray              *connections;
+    GSList                       *iter;
     gboolean                      did_header = FALSE, did_vpn = FALSE;
-    NMEditorConnectionTypeData ** types;
-    NMConnection *                conn, *selected_conn;
+    NMEditorConnectionTypeData  **types;
+    NMConnection                 *conn, *selected_conn;
     int                           i, row, selected_row;
 
     selected_row  = nmt_newt_listbox_get_active(priv->listbox);
@@ -213,7 +213,7 @@ nmt_edit_connection_list_rebuild(NmtEditConnectionList *list)
 
         for (iter = priv->connections; iter; iter = iter->next) {
             NMSetting *setting;
-            char *     indented;
+            char      *indented;
 
             conn    = iter->data;
             setting = nm_connection_get_setting(conn, types[i]->setting_type);
@@ -254,7 +254,7 @@ rebuild_on_connections_changed(GObject *object, GParamSpec *pspec, gpointer list
 static void
 nmt_edit_connection_list_constructed(GObject *object)
 {
-    NmtEditConnectionList *       list = NMT_EDIT_CONNECTION_LIST(object);
+    NmtEditConnectionList        *list = NMT_EDIT_CONNECTION_LIST(object);
     NmtEditConnectionListPrivate *priv = NMT_EDIT_CONNECTION_LIST_GET_PRIVATE(list);
 
     if (priv->extra)
@@ -280,7 +280,7 @@ static void
 edit_clicked(NmtNewtButton *button, gpointer list)
 {
     NmtEditConnectionListPrivate *priv = NMT_EDIT_CONNECTION_LIST_GET_PRIVATE(list);
-    NMConnection *                connection;
+    NMConnection                 *connection;
 
     connection = nmt_newt_listbox_get_active_key(priv->listbox);
     g_return_if_fail(connection != NULL);
@@ -292,7 +292,7 @@ static void
 delete_clicked(NmtNewtButton *button, gpointer list)
 {
     NmtEditConnectionListPrivate *priv = NMT_EDIT_CONNECTION_LIST_GET_PRIVATE(list);
-    NMRemoteConnection *          connection;
+    NMRemoteConnection           *connection;
 
     connection = nmt_newt_listbox_get_active_key(priv->listbox);
     g_return_if_fail(connection != NULL);
@@ -318,8 +318,8 @@ void
 nmt_edit_connection_list_recommit(NmtEditConnectionList *list)
 {
     NmtEditConnectionListPrivate *priv = NMT_EDIT_CONNECTION_LIST_GET_PRIVATE(list);
-    NMConnection *                conn;
-    GSList *                      iter;
+    NMConnection                 *conn;
+    GSList                       *iter;
 
     for (iter = priv->connections; iter; iter = iter->next) {
         conn = iter->data;
@@ -346,10 +346,10 @@ nmt_edit_connection_list_finalize(GObject *object)
 }
 
 static void
-nmt_edit_connection_list_set_property(GObject *     object,
+nmt_edit_connection_list_set_property(GObject      *object,
                                       guint         prop_id,
                                       const GValue *value,
-                                      GParamSpec *  pspec)
+                                      GParamSpec   *pspec)
 {
     NmtEditConnectionListPrivate *priv = NMT_EDIT_CONNECTION_LIST_GET_PRIVATE(object);
 
@@ -375,14 +375,14 @@ nmt_edit_connection_list_set_property(GObject *     object,
 }
 
 static void
-nmt_edit_connection_list_get_property(GObject *   object,
+nmt_edit_connection_list_get_property(GObject    *object,
                                       guint       prop_id,
-                                      GValue *    value,
+                                      GValue     *value,
                                       GParamSpec *pspec)
 {
     NmtEditConnectionListPrivate *priv = NMT_EDIT_CONNECTION_LIST_GET_PRIVATE(object);
-    GPtrArray *                   connections;
-    GSList *                      iter;
+    GPtrArray                    *connections;
+    GSList                       *iter;
 
     switch (prop_id) {
     case PROP_GROUPED:
diff --git a/src/nmtui/nmt-edit-connection-list.h b/src/nmtui/nmt-edit-connection-list.h
index 824f767a..a5375be4 100644
--- a/src/nmtui/nmt-edit-connection-list.h
+++ b/src/nmtui/nmt-edit-connection-list.h
@@ -37,7 +37,7 @@ typedef struct {
 GType nmt_edit_connection_list_get_type(void);
 
 typedef gboolean (*NmtEditConnectionListFilter)(NmtEditConnectionList *list,
-                                                NMConnection *         connection,
+                                                NMConnection          *connection,
                                                 gpointer               user_data);
 
 void nmt_edit_connection_list_recommit(NmtEditConnectionList *list);
diff --git a/src/nmtui/nmt-editor-grid.c b/src/nmtui/nmt-editor-grid.c
index 8c79e8d9..bb257805 100644
--- a/src/nmtui/nmt-editor-grid.c
+++ b/src/nmtui/nmt-editor-grid.c
@@ -35,14 +35,14 @@ G_DEFINE_TYPE(NmtEditorGrid, nmt_editor_grid, NMT_TYPE_NEWT_CONTAINER)
 
 typedef struct {
     GArray *rows;
-    int *   row_heights;
+    int    *row_heights;
     int     indent;
 } NmtEditorGridPrivate;
 
 typedef struct {
-    NmtNewtWidget *       label;
-    NmtNewtWidget *       widget;
-    NmtNewtWidget *       extra;
+    NmtNewtWidget        *label;
+    NmtNewtWidget        *widget;
+    NmtNewtWidget        *extra;
     NmtEditorGridRowFlags flags;
 } NmtEditorGridRow;
 
@@ -102,13 +102,13 @@ nmt_editor_grid_finalize(GObject *object)
  */
 void
 nmt_editor_grid_append(NmtEditorGrid *grid,
-                       const char *   label,
+                       const char    *label,
                        NmtNewtWidget *widget,
                        NmtNewtWidget *extra)
 {
-    NmtEditorGridPrivate * priv         = NMT_EDITOR_GRID_GET_PRIVATE(grid);
+    NmtEditorGridPrivate  *priv         = NMT_EDITOR_GRID_GET_PRIVATE(grid);
     NmtNewtContainerClass *parent_class = NMT_NEWT_CONTAINER_CLASS(nmt_editor_grid_parent_class);
-    NmtNewtContainer *     container    = NMT_NEWT_CONTAINER(grid);
+    NmtNewtContainer      *container    = NMT_NEWT_CONTAINER(grid);
     NmtEditorGridRow       row;
 
     g_return_if_fail(label != NULL || widget != NULL);
@@ -147,7 +147,7 @@ static int
 nmt_editor_grid_find_widget(NmtEditorGrid *grid, NmtNewtWidget *widget)
 {
     NmtEditorGridPrivate *priv = NMT_EDITOR_GRID_GET_PRIVATE(grid);
-    NmtEditorGridRow *    rows = (NmtEditorGridRow *) priv->rows->data;
+    NmtEditorGridRow     *rows = (NmtEditorGridRow *) priv->rows->data;
     int                   i;
 
     for (i = 0; i < priv->rows->len; i++) {
@@ -177,12 +177,12 @@ nmt_editor_grid_find_widget(NmtEditorGrid *grid, NmtNewtWidget *widget)
  * Sets flags to adjust the layout of @widget's row in @grid.
  */
 void
-nmt_editor_grid_set_row_flags(NmtEditorGrid *       grid,
-                              NmtNewtWidget *       widget,
+nmt_editor_grid_set_row_flags(NmtEditorGrid        *grid,
+                              NmtNewtWidget        *widget,
                               NmtEditorGridRowFlags flags)
 {
     NmtEditorGridPrivate *priv = NMT_EDITOR_GRID_GET_PRIVATE(grid);
-    NmtEditorGridRow *    rows = (NmtEditorGridRow *) priv->rows->data;
+    NmtEditorGridRow     *rows = (NmtEditorGridRow *) priv->rows->data;
     int                   i;
 
     i = nmt_editor_grid_find_widget(grid, widget);
@@ -193,10 +193,10 @@ nmt_editor_grid_set_row_flags(NmtEditorGrid *       grid,
 static void
 nmt_editor_grid_remove(NmtNewtContainer *container, NmtNewtWidget *widget)
 {
-    NmtEditorGrid *        grid         = NMT_EDITOR_GRID(container);
-    NmtEditorGridPrivate * priv         = NMT_EDITOR_GRID_GET_PRIVATE(grid);
+    NmtEditorGrid         *grid         = NMT_EDITOR_GRID(container);
+    NmtEditorGridPrivate  *priv         = NMT_EDITOR_GRID_GET_PRIVATE(grid);
     NmtNewtContainerClass *parent_class = NMT_NEWT_CONTAINER_CLASS(nmt_editor_grid_parent_class);
-    NmtEditorGridRow *     rows         = (NmtEditorGridRow *) priv->rows->data;
+    NmtEditorGridRow      *rows         = (NmtEditorGridRow *) priv->rows->data;
     int                    i;
 
     i = nmt_editor_grid_find_widget(grid, widget);
@@ -219,9 +219,9 @@ static newtComponent *
 nmt_editor_grid_get_components(NmtNewtWidget *widget)
 {
     NmtEditorGridPrivate *priv = NMT_EDITOR_GRID_GET_PRIVATE(widget);
-    NmtEditorGridRow *    rows = (NmtEditorGridRow *) priv->rows->data;
-    newtComponent *       child_cos;
-    GPtrArray *           cos;
+    NmtEditorGridRow     *rows = (NmtEditorGridRow *) priv->rows->data;
+    newtComponent        *child_cos;
+    GPtrArray            *cos;
     int                   i, c;
 
     cos = g_ptr_array_new();
@@ -257,7 +257,7 @@ nmt_editor_grid_get_components(NmtNewtWidget *widget)
 static NmtEditorGridFormState *
 get_form_state(NmtNewtWidget *widget)
 {
-    NmtNewtForm *           form = nmt_newt_widget_get_form(widget);
+    NmtNewtForm            *form = nmt_newt_widget_get_form(widget);
     NmtEditorGridFormState *state;
 
     if (!form)
@@ -276,7 +276,7 @@ static void
 nmt_editor_grid_realize(NmtNewtWidget *widget)
 {
     NmtEditorGridPrivate *priv = NMT_EDITOR_GRID_GET_PRIVATE(widget);
-    NmtNewtWidget *       parent;
+    NmtNewtWidget        *parent;
 
     NMT_NEWT_WIDGET_CLASS(nmt_editor_grid_parent_class)->realize(widget);
 
@@ -307,8 +307,8 @@ nmt_editor_grid_unrealize(NmtNewtWidget *widget)
 static void
 nmt_editor_grid_size_request(NmtNewtWidget *widget, int *width, int *height)
 {
-    NmtEditorGridPrivate *  priv        = NMT_EDITOR_GRID_GET_PRIVATE(widget);
-    NmtEditorGridRow *      rows        = (NmtEditorGridRow *) priv->rows->data;
+    NmtEditorGridPrivate   *priv        = NMT_EDITOR_GRID_GET_PRIVATE(widget);
+    NmtEditorGridRow       *rows        = (NmtEditorGridRow *) priv->rows->data;
     NmtEditorGridFormState *state       = get_form_state(widget);
     gboolean                add_padding = FALSE;
     int                     i;
@@ -355,8 +355,8 @@ nmt_editor_grid_size_request(NmtNewtWidget *widget, int *width, int *height)
 static void
 nmt_editor_grid_size_allocate(NmtNewtWidget *widget, int x, int y, int width, int height)
 {
-    NmtEditorGridPrivate *  priv  = NMT_EDITOR_GRID_GET_PRIVATE(widget);
-    NmtEditorGridRow *      rows  = (NmtEditorGridRow *) priv->rows->data;
+    NmtEditorGridPrivate   *priv  = NMT_EDITOR_GRID_GET_PRIVATE(widget);
+    NmtEditorGridRow       *rows  = (NmtEditorGridRow *) priv->rows->data;
     NmtEditorGridFormState *state = get_form_state(widget);
     int                     col0_width, col1_width, col2_width;
     int                     i, row;
@@ -422,8 +422,8 @@ nmt_editor_grid_size_allocate(NmtNewtWidget *widget, int x, int y, int width, in
 static void
 nmt_editor_grid_class_init(NmtEditorGridClass *grid_class)
 {
-    GObjectClass *         object_class    = G_OBJECT_CLASS(grid_class);
-    NmtNewtWidgetClass *   widget_class    = NMT_NEWT_WIDGET_CLASS(grid_class);
+    GObjectClass          *object_class    = G_OBJECT_CLASS(grid_class);
+    NmtNewtWidgetClass    *widget_class    = NMT_NEWT_WIDGET_CLASS(grid_class);
     NmtNewtContainerClass *container_class = NMT_NEWT_CONTAINER_CLASS(grid_class);
 
     g_type_class_add_private(grid_class, sizeof(NmtEditorGridPrivate));
diff --git a/src/nmtui/nmt-editor-grid.h b/src/nmtui/nmt-editor-grid.h
index 39a86067..3a917536 100644
--- a/src/nmtui/nmt-editor-grid.h
+++ b/src/nmtui/nmt-editor-grid.h
@@ -38,11 +38,11 @@ typedef enum {
 NmtNewtWidget *nmt_editor_grid_new(void);
 
 void nmt_editor_grid_append(NmtEditorGrid *grid,
-                            const char *   label,
+                            const char    *label,
                             NmtNewtWidget *widget,
                             NmtNewtWidget *extra);
-void nmt_editor_grid_set_row_flags(NmtEditorGrid *       grid,
-                                   NmtNewtWidget *       widget,
+void nmt_editor_grid_set_row_flags(NmtEditorGrid        *grid,
+                                   NmtNewtWidget        *widget,
                                    NmtEditorGridRowFlags flags);
 
 #endif /* NMT_EDITOR_GRID_H */
diff --git a/src/nmtui/nmt-editor-page-device.c b/src/nmtui/nmt-editor-page-device.c
index 950f4db1..57503f47 100644
--- a/src/nmtui/nmt-editor-page-device.c
+++ b/src/nmtui/nmt-editor-page-device.c
@@ -60,10 +60,10 @@ nmt_editor_page_device_get_device_entry(NmtEditorPageDevice *page)
 }
 
 static void
-nmt_editor_page_device_set_property(GObject *     object,
+nmt_editor_page_device_set_property(GObject      *object,
                                     guint         prop_id,
                                     const GValue *value,
-                                    GParamSpec *  pspec)
+                                    GParamSpec   *pspec)
 {
     NmtEditorPageDevicePrivate *priv = NMT_EDITOR_PAGE_DEVICE_GET_PRIVATE(object);
 
@@ -78,9 +78,9 @@ nmt_editor_page_device_set_property(GObject *     object,
 }
 
 static void
-nmt_editor_page_device_get_property(GObject *   object,
+nmt_editor_page_device_get_property(GObject    *object,
                                     guint       prop_id,
-                                    GValue *    value,
+                                    GValue     *value,
                                     GParamSpec *pspec)
 {
     NmtEditorPageDevicePrivate *priv = NMT_EDITOR_PAGE_DEVICE_GET_PRIVATE(object);
diff --git a/src/nmtui/nmt-editor-page.c b/src/nmtui/nmt-editor-page.c
index 6d90d71e..d94b1f0f 100644
--- a/src/nmtui/nmt-editor-page.c
+++ b/src/nmtui/nmt-editor-page.c
@@ -22,7 +22,7 @@ G_DEFINE_ABSTRACT_TYPE(NmtEditorPage, nmt_editor_page, G_TYPE_OBJECT)
 
 typedef struct {
     NMConnection *connection;
-    GSList *      sections;
+    GSList       *sections;
 
 } NmtEditorPagePrivate;
 
diff --git a/src/nmtui/nmt-editor-section.c b/src/nmtui/nmt-editor-section.c
index 3fbfe7a3..462d1f89 100644
--- a/src/nmtui/nmt-editor-section.c
+++ b/src/nmtui/nmt-editor-section.c
@@ -22,7 +22,7 @@ G_DEFINE_TYPE(NmtEditorSection, nmt_editor_section, NMT_TYPE_NEWT_SECTION)
 
 typedef struct {
     NmtEditorGrid *header, *body;
-    char *         title;
+    char          *title;
     NmtNewtWidget *header_widget;
     NmtNewtWidget *toggle;
 
@@ -156,12 +156,12 @@ nmt_editor_section_get_title(NmtEditorSection *section)
 }
 
 static void
-nmt_editor_section_set_property(GObject *     object,
+nmt_editor_section_set_property(GObject      *object,
                                 guint         prop_id,
                                 const GValue *value,
-                                GParamSpec *  pspec)
+                                GParamSpec   *pspec)
 {
-    NmtEditorSection *       section = NMT_EDITOR_SECTION(object);
+    NmtEditorSection        *section = NMT_EDITOR_SECTION(object);
     NmtEditorSectionPrivate *priv    = NMT_EDITOR_SECTION_GET_PRIVATE(section);
 
     switch (prop_id) {
diff --git a/src/nmtui/nmt-editor-section.h b/src/nmtui/nmt-editor-section.h
index b7baf821..43e6852b 100644
--- a/src/nmtui/nmt-editor-section.h
+++ b/src/nmtui/nmt-editor-section.h
@@ -35,7 +35,7 @@ GType nmt_editor_section_get_type(void);
 NmtEditorSection *
 nmt_editor_section_new(const char *title, NmtNewtWidget *header_widget, gboolean show_by_default);
 
-const char *   nmt_editor_section_get_title(NmtEditorSection *section);
+const char    *nmt_editor_section_get_title(NmtEditorSection *section);
 NmtNewtWidget *nmt_editor_section_get_header_widget(NmtEditorSection *section);
 NmtEditorGrid *nmt_editor_section_get_body(NmtEditorSection *section);
 
diff --git a/src/nmtui/nmt-editor.c b/src/nmtui/nmt-editor.c
index 94e9b7a8..8e6a760c 100644
--- a/src/nmtui/nmt-editor.c
+++ b/src/nmtui/nmt-editor.c
@@ -55,7 +55,7 @@ typedef struct {
 
     NMEditorConnectionTypeData *type_data;
 
-    GSList *       pages;
+    GSList        *pages;
     NmtNewtWidget *ok, *cancel;
     gboolean       running;
 } NmtEditorPrivate;
@@ -128,7 +128,7 @@ static void
 connection_added(GObject *client, GAsyncResult *result, gpointer op)
 {
     NMRemoteConnection *connection;
-    GError *            error = NULL;
+    GError             *error = NULL;
 
     connection = nm_client_add_connection_finish(NM_CLIENT(client), result, &error);
     nmt_sync_op_complete_boolean(op, error == NULL, error);
@@ -147,10 +147,10 @@ page_saved(gpointer data, gpointer user_data)
 static void
 save_connection_and_exit(NmtNewtButton *button, gpointer user_data)
 {
-    NmtEditor *       editor = user_data;
+    NmtEditor        *editor = user_data;
     NmtEditorPrivate *priv   = NMT_EDITOR_GET_PRIVATE(editor);
     NmtSyncOp         op;
-    GError *          error = NULL;
+    GError           *error = NULL;
 
     nm_connection_replace_settings_from_connection(priv->orig_connection, priv->edit_connection);
 
@@ -195,7 +195,7 @@ static void
 got_secrets(GObject *object, GAsyncResult *result, gpointer op)
 {
     GVariant *secrets;
-    GError *  error = NULL;
+    GError   *error = NULL;
 
     secrets = nm_remote_connection_get_secrets_finish(NM_REMOTE_CONNECTION(object), result, &error);
     if (secrets)
@@ -208,9 +208,9 @@ static NMConnection *
 build_edit_connection(NMConnection *orig_connection)
 {
     NMConnection *edit_connection;
-    GVariant *    settings, *secrets;
+    GVariant     *settings, *secrets;
     GVariantIter  iter;
-    const char *  setting_name;
+    const char   *setting_name;
     NmtSyncOp     op;
 
     edit_connection = nm_simple_connection_new_clone(orig_connection);
@@ -243,9 +243,9 @@ build_edit_connection(NMConnection *orig_connection)
 }
 
 static gboolean
-permissions_transform_to_allusers(GBinding *    binding,
+permissions_transform_to_allusers(GBinding     *binding,
                                   const GValue *source_value,
-                                  GValue *      target_value,
+                                  GValue       *target_value,
                                   gpointer      user_data)
 {
     char **perms = g_value_get_boxed(source_value);
@@ -255,13 +255,13 @@ permissions_transform_to_allusers(GBinding *    binding,
 }
 
 static gboolean
-permissions_transform_from_allusers(GBinding *    binding,
+permissions_transform_from_allusers(GBinding     *binding,
                                     const GValue *source_value,
-                                    GValue *      target_value,
+                                    GValue       *target_value,
                                     gpointer      user_data)
 {
     gboolean allusers = g_value_get_boolean(source_value);
-    char **  perms    = NULL;
+    char   **perms    = NULL;
 
     if (!allusers) {
         perms = g_new(char *, 2);
@@ -277,8 +277,8 @@ static NmtNewtWidget *
 add_sections_for_page(NmtEditor *editor, NmtEditorGrid *grid, NmtEditorPage *page)
 {
     NmtEditorPrivate *priv          = NMT_EDITOR_GET_PRIVATE(editor);
-    NmtNewtWidget *   first_section = NULL;
-    const GSList *    sections, *iter;
+    NmtNewtWidget    *first_section = NULL;
+    const GSList     *sections, *iter;
 
     g_return_val_if_fail(NMT_IS_EDITOR_PAGE(page), NULL);
 
@@ -297,16 +297,16 @@ add_sections_for_page(NmtEditor *editor, NmtEditorGrid *grid, NmtEditorPage *pag
 static void
 nmt_editor_constructed(GObject *object)
 {
-    NmtEditor *          editor = NMT_EDITOR(object);
-    NmtEditorPrivate *   priv   = NMT_EDITOR_GET_PRIVATE(editor);
+    NmtEditor           *editor = NMT_EDITOR(object);
+    NmtEditorPrivate    *priv   = NMT_EDITOR_GET_PRIVATE(editor);
     NMSettingConnection *s_con;
-    NmtNewtWidget *      vbox, *widget, *buttons;
-    NmtEditorGrid *      grid;
-    const char *         deventry_label;
-    NmtDeviceEntry *     deventry;
+    NmtNewtWidget       *vbox, *widget, *buttons;
+    NmtEditorGrid       *grid;
+    const char          *deventry_label;
+    NmtDeviceEntry      *deventry;
     GType                hardware_type;
-    const char *         slave_type;
-    NmtEditorPage *      page;
+    const char          *slave_type;
+    NmtEditorPage       *page;
 
     if (G_OBJECT_CLASS(nmt_editor_parent_class)->constructed)
         G_OBJECT_CLASS(nmt_editor_parent_class)->constructed(object);
diff --git a/src/nmtui/nmt-ip-entry.c b/src/nmtui/nmt-ip-entry.c
index b801eec4..9bd0f12d 100644
--- a/src/nmtui/nmt-ip-entry.c
+++ b/src/nmtui/nmt-ip-entry.c
@@ -76,7 +76,7 @@ static gboolean
 ip_entry_filter(NmtNewtEntry *entry, const char *text, int ch, int position, gpointer user_data)
 {
     NmtIPEntryPrivate *priv = NMT_IP_ENTRY_GET_PRIVATE(entry);
-    const char *       slash;
+    const char        *slash;
     gboolean           inaddr;
 
     if (g_ascii_isdigit(ch))
diff --git a/src/nmtui/nmt-mac-entry.c b/src/nmtui/nmt-mac-entry.c
index 3f71f4c9..11ceecf9 100644
--- a/src/nmtui/nmt-mac-entry.c
+++ b/src/nmtui/nmt-mac-entry.c
@@ -85,7 +85,7 @@ static gboolean
 mac_validator(NmtNewtEntry *entry, const char *text, gpointer user_data)
 {
     NmtMacEntryPrivate *priv = NMT_MAC_ENTRY_GET_PRIVATE(entry);
-    const char *        p;
+    const char         *p;
 
     if (!*text)
         return TRUE;
diff --git a/src/nmtui/nmt-mtu-entry.c b/src/nmtui/nmt-mtu-entry.c
index eab25a23..664ee88f 100644
--- a/src/nmtui/nmt-mtu-entry.c
+++ b/src/nmtui/nmt-mtu-entry.c
@@ -75,9 +75,9 @@ mtu_validator(NmtNewtEntry *entry, const char *text, gpointer user_data)
 }
 
 static gboolean
-mtu_transform_to_text(GBinding *    binding,
+mtu_transform_to_text(GBinding     *binding,
                       const GValue *source_value,
-                      GValue *      target_value,
+                      GValue       *target_value,
                       gpointer      user_data)
 {
     int mtu = g_value_get_int(source_value);
@@ -93,8 +93,8 @@ static void
 nmt_mtu_entry_init(NmtMtuEntry *entry)
 {
     NmtMtuEntryPrivate *priv = NMT_MTU_ENTRY_GET_PRIVATE(entry);
-    NmtNewtGrid *       grid = NMT_NEWT_GRID(entry);
-    NmtNewtWidget *     real_entry, *label;
+    NmtNewtGrid        *grid = NMT_NEWT_GRID(entry);
+    NmtNewtWidget      *real_entry, *label;
 
     real_entry  = nmt_newt_entry_numeric_new(10, 0, 65535);
     priv->entry = NMT_NEWT_ENTRY(real_entry);
diff --git a/src/nmtui/nmt-page-bond-port.c b/src/nmtui/nmt-page-bond-port.c
index 156553c2..bed8a0f6 100644
--- a/src/nmtui/nmt-page-bond-port.c
+++ b/src/nmtui/nmt-page-bond-port.c
@@ -29,12 +29,12 @@ nmt_page_bond_port_new(NMConnection *conn)
 static void
 nmt_page_bond_port_constructed(GObject *object)
 {
-    NmtPageBondPort *  bond = NMT_PAGE_BOND_PORT(object);
-    NmtEditorSection * section;
-    NmtEditorGrid *    grid;
+    NmtPageBondPort   *bond = NMT_PAGE_BOND_PORT(object);
+    NmtEditorSection  *section;
+    NmtEditorGrid     *grid;
     NMSettingBondPort *s_port;
-    NmtNewtWidget *    widget;
-    NMConnection *     conn;
+    NmtNewtWidget     *widget;
+    NMConnection      *conn;
 
     conn   = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(bond));
     s_port = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_BOND_PORT);
diff --git a/src/nmtui/nmt-page-bond.c b/src/nmtui/nmt-page-bond.c
index aea7949e..edcf681e 100644
--- a/src/nmtui/nmt-page-bond.c
+++ b/src/nmtui/nmt-page-bond.c
@@ -41,13 +41,13 @@ typedef struct {
     /* Note: when adding new options to the UI also ensure they are
      * initialized in bond_connection_setup_func()
      */
-    NmtNewtPopup *  mode;
-    NmtNewtEntry *  primary;
-    NmtNewtPopup *  monitoring;
-    NmtNewtEntry *  miimon;
-    NmtNewtEntry *  updelay;
-    NmtNewtEntry *  downdelay;
-    NmtNewtEntry *  arp_interval;
+    NmtNewtPopup   *mode;
+    NmtNewtEntry   *primary;
+    NmtNewtPopup   *monitoring;
+    NmtNewtEntry   *miimon;
+    NmtNewtEntry   *updelay;
+    NmtNewtEntry   *downdelay;
+    NmtNewtEntry   *arp_interval;
     NmtAddressList *arp_ip_target;
 
     NmtPageBondMonitoringMode monitoring_mode;
@@ -96,11 +96,11 @@ static NmtNewtPopupEntry bond_monitoring[] = {{N_("MII (recommended)"), "mii"},
 static void
 bond_options_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
-    NMSettingBond *      s_bond = NM_SETTING_BOND(object);
-    NmtPageBond *        bond   = NMT_PAGE_BOND(user_data);
-    NmtPageBondPrivate * priv   = NMT_PAGE_BOND_GET_PRIVATE(bond);
+    NMSettingBond       *s_bond = NM_SETTING_BOND(object);
+    NmtPageBond         *bond   = NMT_PAGE_BOND(user_data);
+    NmtPageBondPrivate  *priv   = NMT_PAGE_BOND_GET_PRIVATE(bond);
     gs_free const char **ips    = NULL;
-    const char *         val;
+    const char          *val;
     gboolean             visible_mii;
     NMBondMode           mode;
 
@@ -161,9 +161,9 @@ bond_options_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 static void
 slaves_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
-    NmtPageBond *       bond = NMT_PAGE_BOND(user_data);
+    NmtPageBond        *bond = NMT_PAGE_BOND(user_data);
     NmtPageBondPrivate *priv = NMT_PAGE_BOND_GET_PRIVATE(bond);
-    GPtrArray *         slaves;
+    GPtrArray          *slaves;
 
     g_object_get(object, "connections", &slaves, NULL);
     if (slaves->len == 0) {
@@ -207,9 +207,9 @@ _bond_add_option(NMSettingBond *s_bond, const char *option, const char *value)
 #define WIDGET_CHANGED_FUNC(widget, func, option, dflt)                                         \
     static void widget##_widget_changed(GObject *object, GParamSpec *pspec, gpointer user_data) \
     {                                                                                           \
-        NmtPageBond *       bond = NMT_PAGE_BOND(user_data);                                    \
+        NmtPageBond        *bond = NMT_PAGE_BOND(user_data);                                    \
         NmtPageBondPrivate *priv = NMT_PAGE_BOND_GET_PRIVATE(bond);                             \
-        const char *        v;                                                                  \
+        const char         *v;                                                                  \
                                                                                                 \
         if (priv->updating)                                                                     \
             return;                                                                             \
@@ -229,9 +229,9 @@ WIDGET_CHANGED_FUNC(arp_interval, nmt_newt_entry_get_text, NM_SETTING_BOND_OPTIO
 static void
 mode_widget_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
-    NmtPageBond *       bond = NMT_PAGE_BOND(user_data);
+    NmtPageBond        *bond = NMT_PAGE_BOND(user_data);
     NmtPageBondPrivate *priv = NMT_PAGE_BOND_GET_PRIVATE(bond);
-    const char *        mode;
+    const char         *mode;
 
     if (priv->updating)
         return;
@@ -261,7 +261,7 @@ mode_widget_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 static void
 monitoring_widget_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
-    NmtPageBond *       bond = NMT_PAGE_BOND(user_data);
+    NmtPageBond        *bond = NMT_PAGE_BOND(user_data);
     NmtPageBondPrivate *priv = NMT_PAGE_BOND_GET_PRIVATE(bond);
     gboolean            visible_mii;
 
@@ -290,9 +290,9 @@ monitoring_widget_changed(GObject *object, GParamSpec *pspec, gpointer user_data
 static void
 arp_ip_target_widget_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
-    NmtPageBond *       bond = NMT_PAGE_BOND(user_data);
+    NmtPageBond        *bond = NMT_PAGE_BOND(user_data);
     NmtPageBondPrivate *priv = NMT_PAGE_BOND_GET_PRIVATE(bond);
-    char **             ips, *target;
+    char              **ips, *target;
 
     if (priv->updating)
         return;
@@ -311,7 +311,7 @@ arp_ip_target_widget_changed(GObject *object, GParamSpec *pspec, gpointer user_d
 static gboolean
 bond_connection_type_filter(GType connection_type, gpointer user_data)
 {
-    NmtPageBond *       bond = user_data;
+    NmtPageBond        *bond = user_data;
     NmtPageBondPrivate *priv = NMT_PAGE_BOND_GET_PRIVATE(bond);
 
     if (priv->slave_type != NM_TYPE_SETTING_WIRED && connection_type == NM_TYPE_SETTING_INFINIBAND)
@@ -325,14 +325,14 @@ bond_connection_type_filter(GType connection_type, gpointer user_data)
 static void
 nmt_page_bond_constructed(GObject *object)
 {
-    NmtPageBond *       bond = NMT_PAGE_BOND(object);
+    NmtPageBond        *bond = NMT_PAGE_BOND(object);
     NmtPageBondPrivate *priv = NMT_PAGE_BOND_GET_PRIVATE(bond);
-    NmtEditorSection *  section;
-    NmtEditorGrid *     grid;
-    NMSettingWired *    s_wired;
-    NMSettingBond *     s_bond;
-    NmtNewtWidget *     widget, *label;
-    NMConnection *      conn;
+    NmtEditorSection   *section;
+    NmtEditorGrid      *grid;
+    NMSettingWired     *s_wired;
+    NMSettingBond      *s_bond;
+    NmtNewtWidget      *widget, *label;
+    NMConnection       *conn;
 
     conn         = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(bond));
     s_bond       = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_BOND);
@@ -426,7 +426,7 @@ nmt_page_bond_saved(NmtEditorPage *editor_page)
 static void
 nmt_page_bond_class_init(NmtPageBondClass *bond_class)
 {
-    GObjectClass *      object_class      = G_OBJECT_CLASS(bond_class);
+    GObjectClass       *object_class      = G_OBJECT_CLASS(bond_class);
     NmtEditorPageClass *editor_page_class = NMT_EDITOR_PAGE_CLASS(bond_class);
 
     g_type_class_add_private(bond_class, sizeof(NmtPageBondPrivate));
diff --git a/src/nmtui/nmt-page-bridge-port.c b/src/nmtui/nmt-page-bridge-port.c
index f6c18d7c..e39d15e2 100644
--- a/src/nmtui/nmt-page-bridge-port.c
+++ b/src/nmtui/nmt-page-bridge-port.c
@@ -29,12 +29,12 @@ nmt_page_bridge_port_init(NmtPageBridgePort *bridge)
 static void
 nmt_page_bridge_port_constructed(GObject *object)
 {
-    NmtPageBridgePort *  bridge = NMT_PAGE_BRIDGE_PORT(object);
-    NmtEditorSection *   section;
-    NmtEditorGrid *      grid;
+    NmtPageBridgePort   *bridge = NMT_PAGE_BRIDGE_PORT(object);
+    NmtEditorSection    *section;
+    NmtEditorGrid       *grid;
     NMSettingBridgePort *s_port;
-    NmtNewtWidget *      widget;
-    NMConnection *       conn;
+    NmtNewtWidget       *widget;
+    NMConnection        *conn;
 
     conn   = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(bridge));
     s_port = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_BRIDGE_PORT);
diff --git a/src/nmtui/nmt-page-bridge.c b/src/nmtui/nmt-page-bridge.c
index 684b17bd..bc32e2a2 100644
--- a/src/nmtui/nmt-page-bridge.c
+++ b/src/nmtui/nmt-page-bridge.c
@@ -45,13 +45,13 @@ bridge_connection_type_filter(GType connection_type, gpointer user_data)
 static void
 nmt_page_bridge_constructed(GObject *object)
 {
-    NmtPageBridge *       bridge = NMT_PAGE_BRIDGE(object);
+    NmtPageBridge        *bridge = NMT_PAGE_BRIDGE(object);
     NmtPageBridgePrivate *priv   = NMT_PAGE_BRIDGE_GET_PRIVATE(bridge);
-    NmtEditorSection *    section;
-    NmtEditorGrid *       grid;
-    NMSettingBridge *     s_bridge;
-    NmtNewtWidget *       widget, *label, *stp;
-    NMConnection *        conn;
+    NmtEditorSection     *section;
+    NmtEditorGrid        *grid;
+    NMSettingBridge      *s_bridge;
+    NmtNewtWidget        *widget, *label, *stp;
+    NMConnection         *conn;
 
     conn     = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(bridge));
     s_bridge = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_BRIDGE);
@@ -171,7 +171,7 @@ nmt_page_bridge_saved(NmtEditorPage *editor_page)
 static void
 nmt_page_bridge_class_init(NmtPageBridgeClass *bridge_class)
 {
-    GObjectClass *      object_class      = G_OBJECT_CLASS(bridge_class);
+    GObjectClass       *object_class      = G_OBJECT_CLASS(bridge_class);
     NmtEditorPageClass *editor_page_class = NMT_EDITOR_PAGE_CLASS(bridge_class);
 
     object_class->constructed = nmt_page_bridge_constructed;
diff --git a/src/nmtui/nmt-page-dsl.c b/src/nmtui/nmt-page-dsl.c
index a0d8cdf4..5fa756cc 100644
--- a/src/nmtui/nmt-page-dsl.c
+++ b/src/nmtui/nmt-page-dsl.c
@@ -41,8 +41,8 @@ static NmtEditorSection *
 build_dsl_section(NmtPageDsl *dsl, NMSettingPppoe *s_pppoe)
 {
     NmtEditorSection *section;
-    NmtEditorGrid *   grid;
-    NmtNewtWidget *   widget;
+    NmtEditorGrid    *grid;
+    NmtNewtWidget    *widget;
 
     section = nmt_editor_section_new(_("DSL"), NULL, TRUE);
     grid    = nmt_editor_section_get_body(section);
@@ -77,12 +77,12 @@ build_dsl_section(NmtPageDsl *dsl, NMSettingPppoe *s_pppoe)
 static void
 nmt_page_dsl_constructed(GObject *object)
 {
-    NmtPageDsl *       dsl  = NMT_PAGE_DSL(object);
+    NmtPageDsl        *dsl  = NMT_PAGE_DSL(object);
     NmtPageDslPrivate *priv = NMT_PAGE_DSL_GET_PRIVATE(dsl);
-    NMConnection *     conn;
-    NMSettingPppoe *   s_pppoe;
-    NmtEditorSection * section;
-    const GSList *     sections, *iter;
+    NMConnection      *conn;
+    NMSettingPppoe    *s_pppoe;
+    NmtEditorSection  *section;
+    const GSList      *sections, *iter;
 
     conn    = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(dsl));
     s_pppoe = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_PPPOE);
@@ -108,7 +108,7 @@ nmt_page_dsl_constructed(GObject *object)
 static void
 nmt_page_dsl_finalize(GObject *object)
 {
-    NmtPageDsl *       dsl  = NMT_PAGE_DSL(object);
+    NmtPageDsl        *dsl  = NMT_PAGE_DSL(object);
     NmtPageDslPrivate *priv = NMT_PAGE_DSL_GET_PRIVATE(dsl);
 
     g_clear_object(&priv->ethernet_page);
diff --git a/src/nmtui/nmt-page-ethernet.c b/src/nmtui/nmt-page-ethernet.c
index addbd3f3..89026d0f 100644
--- a/src/nmtui/nmt-page-ethernet.c
+++ b/src/nmtui/nmt-page-ethernet.c
@@ -34,13 +34,13 @@ nmt_page_ethernet_init(NmtPageEthernet *ethernet)
 static void
 nmt_page_ethernet_constructed(GObject *object)
 {
-    NmtPageEthernet * ethernet = NMT_PAGE_ETHERNET(object);
-    NmtDeviceEntry *  deventry;
+    NmtPageEthernet  *ethernet = NMT_PAGE_ETHERNET(object);
+    NmtDeviceEntry   *deventry;
     NmtEditorSection *section;
-    NmtEditorGrid *   grid;
-    NMSettingWired *  s_wired;
-    NmtNewtWidget *   widget;
-    NMConnection *    conn;
+    NmtEditorGrid    *grid;
+    NMSettingWired   *s_wired;
+    NmtNewtWidget    *widget;
+    NMConnection     *conn;
 
     conn    = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(ethernet));
     s_wired = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_WIRED);
diff --git a/src/nmtui/nmt-page-infiniband.c b/src/nmtui/nmt-page-infiniband.c
index 1216208f..b292c751 100644
--- a/src/nmtui/nmt-page-infiniband.c
+++ b/src/nmtui/nmt-page-infiniband.c
@@ -39,13 +39,13 @@ static NmtNewtPopupEntry transport_mode[] = {{N_("Datagram"), "datagram"},
 static void
 nmt_page_infiniband_constructed(GObject *object)
 {
-    NmtPageInfiniband *  infiniband = NMT_PAGE_INFINIBAND(object);
-    NmtDeviceEntry *     deventry;
-    NmtEditorSection *   section;
-    NmtEditorGrid *      grid;
+    NmtPageInfiniband   *infiniband = NMT_PAGE_INFINIBAND(object);
+    NmtDeviceEntry      *deventry;
+    NmtEditorSection    *section;
+    NmtEditorGrid       *grid;
     NMSettingInfiniband *s_ib;
-    NmtNewtWidget *      widget;
-    NMConnection *       conn;
+    NmtNewtWidget       *widget;
+    NMConnection        *conn;
 
     conn = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(infiniband));
     s_ib = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_INFINIBAND);
diff --git a/src/nmtui/nmt-page-ip-tunnel.c b/src/nmtui/nmt-page-ip-tunnel.c
index 96864919..c74037b6 100644
--- a/src/nmtui/nmt-page-ip-tunnel.c
+++ b/src/nmtui/nmt-page-ip-tunnel.c
@@ -43,8 +43,8 @@ nmt_page_ip_tunnel_init(NmtPageIPTunnel *ip_tunnel)
 static void
 mode_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
-    NMSettingIPTunnel *     s_ip_tunnel = NM_SETTING_IP_TUNNEL(object);
-    NmtPageIPTunnel *       ip_tunnel   = NMT_PAGE_IP_TUNNEL(user_data);
+    NMSettingIPTunnel      *s_ip_tunnel = NM_SETTING_IP_TUNNEL(object);
+    NmtPageIPTunnel        *ip_tunnel   = NMT_PAGE_IP_TUNNEL(user_data);
     NmtPageIPTunnelPrivate *priv        = NMT_PAGE_IP_TUNNEL_GET_PRIVATE(ip_tunnel);
     NMIPTunnelMode          mode;
     gboolean                enable_keys;
@@ -93,14 +93,14 @@ add_offset(GBinding *binding, const GValue *from_value, GValue *to_value, gpoint
 static void
 nmt_page_ip_tunnel_constructed(GObject *object)
 {
-    NmtPageIPTunnel *       ip_tunnel = NMT_PAGE_IP_TUNNEL(object);
+    NmtPageIPTunnel        *ip_tunnel = NMT_PAGE_IP_TUNNEL(object);
     NmtPageIPTunnelPrivate *priv      = NMT_PAGE_IP_TUNNEL_GET_PRIVATE(ip_tunnel);
-    NmtEditorSection *      section;
-    NmtEditorGrid *         grid;
-    NMSettingIPTunnel *     s_ip_tunnel;
-    NmtNewtWidget *         widget, *parent;
-    NMConnection *          conn;
-    GClosure *              s2w, *w2s;
+    NmtEditorSection       *section;
+    NmtEditorGrid          *grid;
+    NMSettingIPTunnel      *s_ip_tunnel;
+    NmtNewtWidget          *widget, *parent;
+    NMConnection           *conn;
+    GClosure               *s2w, *w2s;
 
     conn        = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(ip_tunnel));
     s_ip_tunnel = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_IP_TUNNEL);
diff --git a/src/nmtui/nmt-page-ip4.c b/src/nmtui/nmt-page-ip4.c
index a7e4bdae..4d01b356 100644
--- a/src/nmtui/nmt-page-ip4.c
+++ b/src/nmtui/nmt-page-ip4.c
@@ -44,7 +44,7 @@ nmt_page_ip4_init(NmtPageIP4 *ip4)
 static void
 edit_routes(NmtNewtButton *button, gpointer user_data)
 {
-    NMSetting *  s_ip4 = user_data;
+    NMSetting   *s_ip4 = user_data;
     NmtNewtForm *form;
 
     form = nmt_route_editor_new(s_ip4);
@@ -53,13 +53,13 @@ edit_routes(NmtNewtButton *button, gpointer user_data)
 }
 
 static gboolean
-ip4_routes_transform_to_description(GBinding *    binding,
+ip4_routes_transform_to_description(GBinding     *binding,
                                     const GValue *source_value,
-                                    GValue *      target_value,
+                                    GValue       *target_value,
                                     gpointer      user_data)
 {
     GPtrArray *routes;
-    char *     text;
+    char      *text;
 
     routes = g_value_get_boxed(source_value);
     if (!routes || !routes->len)
@@ -77,13 +77,13 @@ ip4_routes_transform_to_description(GBinding *    binding,
 static void
 nmt_page_ip4_constructed(GObject *object)
 {
-    NmtPageIP4 *       ip4 = NMT_PAGE_IP4(object);
+    NmtPageIP4        *ip4 = NMT_PAGE_IP4(object);
     gboolean           show_by_default;
-    NmtEditorSection * section;
-    NmtEditorGrid *    grid;
+    NmtEditorSection  *section;
+    NmtEditorGrid     *grid;
     NMSettingIPConfig *s_ip4;
-    NmtNewtWidget *    widget, *button;
-    NMConnection *     conn;
+    NmtNewtWidget     *widget, *button;
+    NMConnection      *conn;
 
     conn  = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(ip4));
     s_ip4 = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_IP4_CONFIG);
diff --git a/src/nmtui/nmt-page-ip6.c b/src/nmtui/nmt-page-ip6.c
index 0d4de65a..7e7a48c5 100644
--- a/src/nmtui/nmt-page-ip6.c
+++ b/src/nmtui/nmt-page-ip6.c
@@ -45,7 +45,7 @@ nmt_page_ip6_init(NmtPageIP6 *ip6)
 static void
 edit_routes(NmtNewtButton *button, gpointer user_data)
 {
-    NMSetting *  s_ip6 = user_data;
+    NMSetting   *s_ip6 = user_data;
     NmtNewtForm *form;
 
     form = nmt_route_editor_new(s_ip6);
@@ -54,13 +54,13 @@ edit_routes(NmtNewtButton *button, gpointer user_data)
 }
 
 static gboolean
-ip6_routes_transform_to_description(GBinding *    binding,
+ip6_routes_transform_to_description(GBinding     *binding,
                                     const GValue *source_value,
-                                    GValue *      target_value,
+                                    GValue       *target_value,
                                     gpointer      user_data)
 {
     GPtrArray *routes;
-    char *     text;
+    char      *text;
 
     routes = g_value_get_boxed(source_value);
     if (!routes || !routes->len)
@@ -78,13 +78,13 @@ ip6_routes_transform_to_description(GBinding *    binding,
 static void
 nmt_page_ip6_constructed(GObject *object)
 {
-    NmtPageIP6 *       ip6 = NMT_PAGE_IP6(object);
+    NmtPageIP6        *ip6 = NMT_PAGE_IP6(object);
     gboolean           show_by_default;
-    NmtEditorSection * section;
-    NmtEditorGrid *    grid;
+    NmtEditorSection  *section;
+    NmtEditorGrid     *grid;
     NMSettingIPConfig *s_ip6;
-    NmtNewtWidget *    widget, *button;
-    NMConnection *     conn;
+    NmtNewtWidget     *widget, *button;
+    NMConnection      *conn;
 
     conn  = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(ip6));
     s_ip6 = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_IP6_CONFIG);
diff --git a/src/nmtui/nmt-page-ppp.c b/src/nmtui/nmt-page-ppp.c
index ffa1a8b2..6f844fd6 100644
--- a/src/nmtui/nmt-page-ppp.c
+++ b/src/nmtui/nmt-page-ppp.c
@@ -37,9 +37,9 @@ nmt_page_ppp_init(NmtPagePpp *ppp)
 {}
 
 static gboolean
-transform_lcp_echo_properties_to_checkbox(GBinding *    binding,
+transform_lcp_echo_properties_to_checkbox(GBinding     *binding,
                                           const GValue *from_value,
-                                          GValue *      to_value,
+                                          GValue       *to_value,
                                           gpointer      user_data)
 {
     NMSettingPpp *s_ppp = NM_SETTING_PPP(g_binding_get_source(binding));
@@ -54,12 +54,12 @@ transform_lcp_echo_properties_to_checkbox(GBinding *    binding,
 }
 
 static gboolean
-transform_checkbox_to_lcp_echo_interval(GBinding *    binding,
+transform_checkbox_to_lcp_echo_interval(GBinding     *binding,
                                         const GValue *from_value,
-                                        GValue *      to_value,
+                                        GValue       *to_value,
                                         gpointer      user_data)
 {
-    NmtPagePpp *       ppp  = user_data;
+    NmtPagePpp        *ppp  = user_data;
     NmtPagePppPrivate *priv = NMT_PAGE_PPP_GET_PRIVATE(ppp);
 
     if (g_value_get_boolean(from_value))
@@ -71,12 +71,12 @@ transform_checkbox_to_lcp_echo_interval(GBinding *    binding,
 }
 
 static gboolean
-transform_checkbox_to_lcp_echo_failure(GBinding *    binding,
+transform_checkbox_to_lcp_echo_failure(GBinding     *binding,
                                        const GValue *from_value,
-                                       GValue *      to_value,
+                                       GValue       *to_value,
                                        gpointer      user_data)
 {
-    NmtPagePpp *       ppp  = user_data;
+    NmtPagePpp        *ppp  = user_data;
     NmtPagePppPrivate *priv = NMT_PAGE_PPP_GET_PRIVATE(ppp);
 
     if (g_value_get_boolean(from_value))
@@ -90,15 +90,15 @@ transform_checkbox_to_lcp_echo_failure(GBinding *    binding,
 static void
 nmt_page_ppp_constructed(GObject *object)
 {
-    NmtPagePpp *       ppp  = NMT_PAGE_PPP(object);
+    NmtPagePpp        *ppp  = NMT_PAGE_PPP(object);
     NmtPagePppPrivate *priv = NMT_PAGE_PPP_GET_PRIVATE(ppp);
-    NmtEditorSection * section;
-    NmtEditorGrid *    grid;
-    NMSettingPpp *     s_ppp;
-    NmtNewtWidget *    widget, *use_mppe;
-    NmtNewtGrid *      auth_grid, *mppe_grid;
-    NmtNewtSection *   auth_section, *mppe_section;
-    NMConnection *     conn;
+    NmtEditorSection  *section;
+    NmtEditorGrid     *grid;
+    NMSettingPpp      *s_ppp;
+    NmtNewtWidget     *widget, *use_mppe;
+    NmtNewtGrid       *auth_grid, *mppe_grid;
+    NmtNewtSection    *auth_section, *mppe_section;
+    NMConnection      *conn;
 
     conn  = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(ppp));
     s_ppp = nm_connection_get_setting_ppp(conn);
diff --git a/src/nmtui/nmt-page-team-port.c b/src/nmtui/nmt-page-team-port.c
index c1f3cbc6..af401fa6 100644
--- a/src/nmtui/nmt-page-team-port.c
+++ b/src/nmtui/nmt-page-team-port.c
@@ -37,10 +37,10 @@ nmt_page_team_port_init(NmtPageTeamPort *team)
 static void
 edit_clicked(NmtNewtButton *button, gpointer user_data)
 {
-    NmtPageTeamPort *       team = user_data;
+    NmtPageTeamPort        *team = user_data;
     NmtPageTeamPortPrivate *priv = NMT_PAGE_TEAM_PORT_GET_PRIVATE(team);
-    const char *            config;
-    char *                  new_config;
+    const char             *config;
+    char                   *new_config;
 
     config = nm_setting_team_port_get_config(priv->s_port);
     if (!config)
@@ -57,13 +57,13 @@ edit_clicked(NmtNewtButton *button, gpointer user_data)
 static void
 nmt_page_team_port_constructed(GObject *object)
 {
-    NmtPageTeamPort *       team = NMT_PAGE_TEAM_PORT(object);
+    NmtPageTeamPort        *team = NMT_PAGE_TEAM_PORT(object);
     NmtPageTeamPortPrivate *priv = NMT_PAGE_TEAM_PORT_GET_PRIVATE(team);
-    NmtEditorSection *      section;
-    NmtNewtGrid *           grid;
-    NMSettingTeamPort *     s_port;
-    NmtNewtWidget *         widget;
-    NMConnection *          conn;
+    NmtEditorSection       *section;
+    NmtNewtGrid            *grid;
+    NMSettingTeamPort      *s_port;
+    NmtNewtWidget          *widget;
+    NMConnection           *conn;
 
     conn         = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(team));
     s_port       = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_TEAM_PORT);
diff --git a/src/nmtui/nmt-page-team.c b/src/nmtui/nmt-page-team.c
index d61c06c5..1a554aad 100644
--- a/src/nmtui/nmt-page-team.c
+++ b/src/nmtui/nmt-page-team.c
@@ -45,9 +45,9 @@ nmt_page_team_init(NmtPageTeam *team)
 static void
 slaves_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 {
-    NmtPageTeam *       team = NMT_PAGE_TEAM(user_data);
+    NmtPageTeam        *team = NMT_PAGE_TEAM(user_data);
     NmtPageTeamPrivate *priv = NMT_PAGE_TEAM_GET_PRIVATE(team);
-    GPtrArray *         slaves;
+    GPtrArray          *slaves;
 
     g_object_get(object, "connections", &slaves, NULL);
     if (slaves->len == 0) {
@@ -65,7 +65,7 @@ slaves_changed(GObject *object, GParamSpec *pspec, gpointer user_data)
 static gboolean
 team_connection_type_filter(GType connection_type, gpointer user_data)
 {
-    NmtPageTeam *       team = user_data;
+    NmtPageTeam        *team = user_data;
     NmtPageTeamPrivate *priv = NMT_PAGE_TEAM_GET_PRIVATE(team);
 
     if (priv->slave_type != NM_TYPE_SETTING_WIRED) {
@@ -84,10 +84,10 @@ team_connection_type_filter(GType connection_type, gpointer user_data)
 static void
 edit_clicked(NmtNewtButton *button, gpointer user_data)
 {
-    NmtPageTeam *       team = user_data;
+    NmtPageTeam        *team = user_data;
     NmtPageTeamPrivate *priv = NMT_PAGE_TEAM_GET_PRIVATE(team);
-    const char *        config;
-    char *              new_config;
+    const char         *config;
+    char               *new_config;
 
     config = nm_setting_team_get_config(priv->s_team);
     if (!config)
@@ -104,13 +104,13 @@ edit_clicked(NmtNewtButton *button, gpointer user_data)
 static void
 nmt_page_team_constructed(GObject *object)
 {
-    NmtPageTeam *       team = NMT_PAGE_TEAM(object);
+    NmtPageTeam        *team = NMT_PAGE_TEAM(object);
     NmtPageTeamPrivate *priv = NMT_PAGE_TEAM_GET_PRIVATE(team);
-    NmtEditorSection *  section;
-    NmtNewtGrid *       grid;
-    NMSettingTeam *     s_team;
-    NmtNewtWidget *     widget;
-    NMConnection *      conn;
+    NmtEditorSection   *section;
+    NmtNewtGrid        *grid;
+    NMSettingTeam      *s_team;
+    NmtNewtWidget      *widget;
+    NMConnection       *conn;
 
     conn         = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(team));
     s_team       = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_TEAM);
@@ -162,7 +162,7 @@ nmt_page_team_saved(NmtEditorPage *editor_page)
 static void
 nmt_page_team_class_init(NmtPageTeamClass *team_class)
 {
-    GObjectClass *      object_class      = G_OBJECT_CLASS(team_class);
+    GObjectClass       *object_class      = G_OBJECT_CLASS(team_class);
     NmtEditorPageClass *editor_page_class = NMT_EDITOR_PAGE_CLASS(team_class);
 
     g_type_class_add_private(team_class, sizeof(NmtPageTeamPrivate));
diff --git a/src/nmtui/nmt-page-vlan.c b/src/nmtui/nmt-page-vlan.c
index 5baf9756..1956d3d6 100644
--- a/src/nmtui/nmt-page-vlan.c
+++ b/src/nmtui/nmt-page-vlan.c
@@ -42,13 +42,13 @@ vlan_device_filter(NmtDeviceEntry *deventry, NMDevice *device, gpointer user_dat
 static void
 nmt_page_vlan_constructed(GObject *object)
 {
-    NmtPageVlan *     vlan = NMT_PAGE_VLAN(object);
+    NmtPageVlan      *vlan = NMT_PAGE_VLAN(object);
     NmtEditorSection *section;
-    NmtEditorGrid *   grid;
-    NMSettingWired *  s_wired;
-    NMSettingVlan *   s_vlan;
-    NmtNewtWidget *   widget, *parent, *id_entry;
-    NMConnection *    conn;
+    NmtEditorGrid    *grid;
+    NMSettingWired   *s_wired;
+    NMSettingVlan    *s_vlan;
+    NmtNewtWidget    *widget, *parent, *id_entry;
+    NMConnection     *conn;
 
     conn    = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(vlan));
     s_vlan  = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_VLAN);
diff --git a/src/nmtui/nmt-page-wifi.c b/src/nmtui/nmt-page-wifi.c
index 1a476b02..60960e64 100644
--- a/src/nmtui/nmt-page-wifi.c
+++ b/src/nmtui/nmt-page-wifi.c
@@ -80,9 +80,9 @@ static NmtNewtPopupEntry wep_auth[] = {{N_("Open System"), "open"},
                                        {NULL, NULL}};
 
 static gboolean
-mode_transform_to_band_visibility(GBinding *    binding,
+mode_transform_to_band_visibility(GBinding     *binding,
                                   const GValue *source_value,
-                                  GValue *      target_value,
+                                  GValue       *target_value,
                                   gpointer      user_data)
 {
     if (!g_strcmp0(g_value_get_string(source_value), NM_SETTING_WIRELESS_MODE_INFRA))
@@ -93,9 +93,9 @@ mode_transform_to_band_visibility(GBinding *    binding,
 }
 
 static gboolean
-band_transform_to_channel_visibility(GBinding *    binding,
+band_transform_to_channel_visibility(GBinding     *binding,
                                      const GValue *source_value,
-                                     GValue *      target_value,
+                                     GValue       *target_value,
                                      gpointer      user_data)
 {
     g_value_set_boolean(target_value, g_value_get_string(source_value) != NULL);
@@ -103,13 +103,13 @@ band_transform_to_channel_visibility(GBinding *    binding,
 }
 
 static gboolean
-ssid_transform_to_entry(GBinding *    binding,
+ssid_transform_to_entry(GBinding     *binding,
                         const GValue *source_value,
-                        GValue *      target_value,
+                        GValue       *target_value,
                         gpointer      user_data)
 {
     GBytes *ssid;
-    char *  utf8;
+    char   *utf8;
 
     ssid = g_value_get_boxed(source_value);
     if (ssid)
@@ -121,15 +121,15 @@ ssid_transform_to_entry(GBinding *    binding,
 }
 
 static gboolean
-ssid_transform_from_entry(GBinding *    binding,
+ssid_transform_from_entry(GBinding     *binding,
                           const GValue *source_value,
-                          GValue *      target_value,
+                          GValue       *target_value,
                           gpointer      user_data)
 {
     NMSettingWireless *s_wireless = user_data;
-    const char *       text;
-    GBytes *           old_ssid, *ssid;
-    char *             utf8;
+    const char        *text;
+    GBytes            *old_ssid, *ssid;
+    char              *utf8;
 
     text = g_value_get_string(source_value);
 
@@ -153,17 +153,17 @@ ssid_transform_from_entry(GBinding *    binding,
 static void
 nmt_page_wifi_constructed(GObject *object)
 {
-    NmtPageWifiPrivate *       priv = NMT_PAGE_WIFI_GET_PRIVATE(object);
-    NmtPageWifi *              wifi = NMT_PAGE_WIFI(object);
-    NmtDeviceEntry *           deventry;
-    NmtEditorSection *         section;
-    NmtEditorGrid *            grid;
-    NMSettingWireless *        s_wireless;
+    NmtPageWifiPrivate        *priv = NMT_PAGE_WIFI_GET_PRIVATE(object);
+    NmtPageWifi               *wifi = NMT_PAGE_WIFI(object);
+    NmtDeviceEntry            *deventry;
+    NmtEditorSection          *section;
+    NmtEditorGrid             *grid;
+    NMSettingWireless         *s_wireless;
     NMSettingWirelessSecurity *s_wsec;
-    NmtNewtWidget *            widget, *hbox, *subgrid;
-    NmtNewtWidget *            mode, *band, *security, *entry;
-    NmtNewtStack *             stack;
-    NMConnection *             conn;
+    NmtNewtWidget             *widget, *hbox, *subgrid;
+    NmtNewtWidget             *mode, *band, *security, *entry;
+    NmtNewtStack              *stack;
+    NMConnection              *conn;
 
     conn       = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(wifi));
     s_wireless = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_WIRELESS);
diff --git a/src/nmtui/nmt-page-wireguard.c b/src/nmtui/nmt-page-wireguard.c
index 30a984e0..77e327b8 100644
--- a/src/nmtui/nmt-page-wireguard.c
+++ b/src/nmtui/nmt-page-wireguard.c
@@ -43,13 +43,13 @@ nmt_page_wireguard_init(NmtPageWireGuard *wireguard)
 static void
 nmt_page_wireguard_constructed(GObject *object)
 {
-    NmtPageWireGuard *       wireguard = NMT_PAGE_WIREGUARD(object);
+    NmtPageWireGuard        *wireguard = NMT_PAGE_WIREGUARD(object);
     NmtPageWireGuardPrivate *priv      = NMT_PAGE_WIREGUARD_GET_PRIVATE(wireguard);
-    NmtEditorSection *       section;
-    NmtEditorGrid *          grid;
-    NMSettingWireGuard *     s_wireguard;
-    NmtNewtWidget *          widget;
-    NMConnection *           conn;
+    NmtEditorSection        *section;
+    NmtEditorGrid           *grid;
+    NMSettingWireGuard      *s_wireguard;
+    NmtNewtWidget           *widget;
+    NMConnection            *conn;
 
     conn        = nmt_editor_page_get_connection(NMT_EDITOR_PAGE(wireguard));
     s_wireguard = _nm_connection_ensure_setting(conn, NM_TYPE_SETTING_WIREGUARD);
diff --git a/src/nmtui/nmt-password-dialog.c b/src/nmtui/nmt-password-dialog.c
index 99b9b3f7..6189997f 100644
--- a/src/nmtui/nmt-password-dialog.c
+++ b/src/nmtui/nmt-password-dialog.c
@@ -23,8 +23,8 @@ G_DEFINE_TYPE(NmtPasswordDialog, nmt_password_dialog, NMT_TYPE_NEWT_FORM)
     (G_TYPE_INSTANCE_GET_PRIVATE((o), NMT_TYPE_PASSWORD_DIALOG, NmtPasswordDialogPrivate))
 
 typedef struct {
-    char *     request_id;
-    char *     prompt;
+    char      *request_id;
+    char      *prompt;
     GPtrArray *secrets;
     GPtrArray *entries;
 
@@ -60,7 +60,7 @@ NmtNewtForm *
 nmt_password_dialog_new(const char *request_id,
                         const char *title,
                         const char *prompt,
-                        GPtrArray * secrets)
+                        GPtrArray  *secrets)
 {
     return g_object_new(NMT_TYPE_PASSWORD_DIALOG,
                         "request-id",
@@ -111,11 +111,11 @@ maybe_save_input_and_exit(NmtNewtWidget *widget, gpointer dialog)
 static void
 nmt_password_dialog_constructed(GObject *object)
 {
-    NmtPasswordDialog *       dialog = NMT_PASSWORD_DIALOG(object);
+    NmtPasswordDialog        *dialog = NMT_PASSWORD_DIALOG(object);
     NmtPasswordDialogPrivate *priv   = NMT_PASSWORD_DIALOG_GET_PRIVATE(dialog);
-    NmtNewtWidget *           widget;
-    NmtNewtGrid *             grid, *secret_grid;
-    NmtNewtButtonBox *        bbox;
+    NmtNewtWidget            *widget;
+    NmtNewtGrid              *grid, *secret_grid;
+    NmtNewtButtonBox         *bbox;
     int                       i;
 
     widget = nmt_newt_grid_new();
@@ -187,10 +187,10 @@ nmt_password_dialog_finalize(GObject *object)
 }
 
 static void
-nmt_password_dialog_set_property(GObject *     object,
+nmt_password_dialog_set_property(GObject      *object,
                                  guint         prop_id,
                                  const GValue *value,
-                                 GParamSpec *  pspec)
+                                 GParamSpec   *pspec)
 {
     NmtPasswordDialogPrivate *priv = NMT_PASSWORD_DIALOG_GET_PRIVATE(object);
 
diff --git a/src/nmtui/nmt-password-dialog.h b/src/nmtui/nmt-password-dialog.h
index 77e8f292..4c60e33d 100644
--- a/src/nmtui/nmt-password-dialog.h
+++ b/src/nmtui/nmt-password-dialog.h
@@ -34,11 +34,11 @@ GType nmt_password_dialog_get_type(void);
 NmtNewtForm *nmt_password_dialog_new(const char *request_id,
                                      const char *title,
                                      const char *prompt,
-                                     GPtrArray * secrets);
+                                     GPtrArray  *secrets);
 
 gboolean nmt_password_dialog_succeeded(NmtPasswordDialog *dialog);
 
 const char *nmt_password_dialog_get_request_id(NmtPasswordDialog *dialog);
-GPtrArray * nmt_password_dialog_get_secrets(NmtPasswordDialog *dialog);
+GPtrArray  *nmt_password_dialog_get_secrets(NmtPasswordDialog *dialog);
 
 #endif /* NMT_PASSWORD_DIALOG_H */
diff --git a/src/nmtui/nmt-password-fields.c b/src/nmtui/nmt-password-fields.c
index 45073c7e..09573c72 100644
--- a/src/nmtui/nmt-password-fields.c
+++ b/src/nmtui/nmt-password-fields.c
@@ -24,7 +24,7 @@ G_DEFINE_TYPE(NmtPasswordFields, nmt_password_fields, NMT_TYPE_NEWT_GRID)
 typedef struct {
     NmtPasswordFieldsExtras extras;
 
-    NmtNewtEntry *   entry;
+    NmtNewtEntry    *entry;
     NmtNewtCheckbox *always_ask;
     NmtNewtCheckbox *show_password;
 
@@ -113,7 +113,7 @@ static void
 nmt_password_fields_constructed(GObject *object)
 {
     NmtPasswordFieldsPrivate *priv = NMT_PASSWORD_FIELDS_GET_PRIVATE(object);
-    NmtNewtGrid *             grid = NMT_NEWT_GRID(object);
+    NmtNewtGrid              *grid = NMT_NEWT_GRID(object);
 
     nmt_newt_grid_add(grid, NMT_NEWT_WIDGET(priv->entry), 0, 0);
 
@@ -169,12 +169,12 @@ nmt_password_fields_finalize(GObject *object)
 }
 
 static void
-nmt_password_fields_set_property(GObject *     object,
+nmt_password_fields_set_property(GObject      *object,
                                  guint         prop_id,
                                  const GValue *value,
-                                 GParamSpec *  pspec)
+                                 GParamSpec   *pspec)
 {
-    NmtPasswordFields *       fields = NMT_PASSWORD_FIELDS(object);
+    NmtPasswordFields        *fields = NMT_PASSWORD_FIELDS(object);
     NmtPasswordFieldsPrivate *priv   = NMT_PASSWORD_FIELDS_GET_PRIVATE(fields);
 
     switch (prop_id) {
@@ -205,7 +205,7 @@ nmt_password_fields_set_property(GObject *     object,
 static void
 nmt_password_fields_get_property(GObject *object, guint prop_id, GValue *value, GParamSpec *pspec)
 {
-    NmtPasswordFields *       entry = NMT_PASSWORD_FIELDS(object);
+    NmtPasswordFields        *entry = NMT_PASSWORD_FIELDS(object);
     NmtPasswordFieldsPrivate *priv  = NMT_PASSWORD_FIELDS_GET_PRIVATE(entry);
 
     switch (prop_id) {
diff --git a/src/nmtui/nmt-route-editor.c b/src/nmtui/nmt-route-editor.c
index ffccf38d..52272310 100644
--- a/src/nmtui/nmt-route-editor.c
+++ b/src/nmtui/nmt-route-editor.c
@@ -56,9 +56,9 @@ nmt_route_editor_init(NmtRouteEditor *entry)
 static void
 save_routes_and_exit(NmtNewtButton *button, gpointer user_data)
 {
-    NmtRouteEditor *       editor = user_data;
+    NmtRouteEditor        *editor = user_data;
     NmtRouteEditorPrivate *priv   = NMT_ROUTE_EDITOR_GET_PRIVATE(editor);
-    GPtrArray *            routes;
+    GPtrArray             *routes;
 
     g_object_get(priv->edit_setting, NM_SETTING_IP_CONFIG_ROUTES, &routes, NULL);
     g_object_set(priv->orig_setting, NM_SETTING_IP_CONFIG_ROUTES, routes, NULL);
@@ -70,9 +70,9 @@ save_routes_and_exit(NmtNewtButton *button, gpointer user_data)
 static void
 nmt_route_editor_constructed(GObject *object)
 {
-    NmtRouteEditor *       editor = NMT_ROUTE_EDITOR(object);
+    NmtRouteEditor        *editor = NMT_ROUTE_EDITOR(object);
     NmtRouteEditorPrivate *priv   = NMT_ROUTE_EDITOR_GET_PRIVATE(editor);
-    NmtNewtWidget *        vbox, *routes, *buttons, *ok, *cancel;
+    NmtNewtWidget         *vbox, *routes, *buttons, *ok, *cancel;
 
     if (G_OBJECT_CLASS(nmt_route_editor_parent_class)->constructed)
         G_OBJECT_CLASS(nmt_route_editor_parent_class)->constructed(object);
@@ -123,10 +123,10 @@ nmt_route_editor_finalize(GObject *object)
 }
 
 static void
-nmt_route_editor_set_property(GObject *     object,
+nmt_route_editor_set_property(GObject      *object,
                               guint         prop_id,
                               const GValue *value,
-                              GParamSpec *  pspec)
+                              GParamSpec   *pspec)
 {
     NmtRouteEditorPrivate *priv = NMT_ROUTE_EDITOR_GET_PRIVATE(object);
 
diff --git a/src/nmtui/nmt-route-entry.c b/src/nmtui/nmt-route-entry.c
index 5cd150b0..e186fff2 100644
--- a/src/nmtui/nmt-route-entry.c
+++ b/src/nmtui/nmt-route-entry.c
@@ -75,9 +75,9 @@ nmt_route_entry_init(NmtRouteEntry *entry)
 {}
 
 static gboolean
-entry_validity_transform_to_warning_label(GBinding *    binding,
+entry_validity_transform_to_warning_label(GBinding     *binding,
                                           const GValue *source_value,
-                                          GValue *      target_value,
+                                          GValue       *target_value,
                                           gpointer      user_data)
 {
     if (g_value_get_boolean(source_value))
@@ -109,8 +109,8 @@ static void
 nmt_route_entry_constructed(GObject *object)
 {
     NmtRouteEntryPrivate *priv = NMT_ROUTE_ENTRY_GET_PRIVATE(object);
-    NmtNewtGrid *         grid = NMT_NEWT_GRID(object);
-    NmtNewtWidget *       warning_label;
+    NmtNewtGrid          *grid = NMT_NEWT_GRID(object);
+    NmtNewtWidget        *warning_label;
 
     priv->dest     = nmt_ip_entry_new(priv->ip_entry_width, priv->family, TRUE, FALSE);
     priv->next_hop = nmt_ip_entry_new(priv->ip_entry_width, priv->family, FALSE, TRUE);
@@ -213,7 +213,7 @@ nmt_route_entry_get_property(GObject *object, guint prop_id, GValue *value, GPar
 static void
 nmt_route_entry_class_init(NmtRouteEntryClass *entry_class)
 {
-    GObjectClass *      object_class = G_OBJECT_CLASS(entry_class);
+    GObjectClass       *object_class = G_OBJECT_CLASS(entry_class);
     NmtNewtWidgetClass *widget_class = NMT_NEWT_WIDGET_CLASS(entry_class);
 
     g_type_class_add_private(entry_class, sizeof(NmtRouteEntryPrivate));
diff --git a/src/nmtui/nmt-route-table.c b/src/nmtui/nmt-route-table.c
index fcb14e6a..4dc28d7c 100644
--- a/src/nmtui/nmt-route-table.c
+++ b/src/nmtui/nmt-route-table.c
@@ -32,7 +32,7 @@ typedef struct {
     int ip_entry_width;
     int metric_entry_width;
 
-    GPtrArray *    routes;
+    GPtrArray     *routes;
     NmtNewtWidget *list;
 } NmtRouteTablePrivate;
 
@@ -59,15 +59,15 @@ nmt_route_table_new(int family)
 }
 
 static gboolean
-route_list_transform_to_route(GBinding *    binding,
+route_list_transform_to_route(GBinding     *binding,
                               const GValue *source_value,
-                              GValue *      target_value,
+                              GValue       *target_value,
                               gpointer      user_data)
 {
-    NmtRouteTable *       table = NMT_ROUTE_TABLE(g_binding_get_source(binding));
+    NmtRouteTable        *table = NMT_ROUTE_TABLE(g_binding_get_source(binding));
     NmtRouteTablePrivate *priv  = NMT_ROUTE_TABLE_GET_PRIVATE(table);
     int                   n     = GPOINTER_TO_INT(user_data);
-    NMIPRoute *           route;
+    NMIPRoute            *route;
 
     if (n >= priv->routes->len)
         return FALSE;
@@ -78,16 +78,16 @@ route_list_transform_to_route(GBinding *    binding,
 }
 
 static gboolean
-route_list_transform_from_route(GBinding *    binding,
+route_list_transform_from_route(GBinding     *binding,
                                 const GValue *source_value,
-                                GValue *      target_value,
+                                GValue       *target_value,
                                 gpointer      user_data)
 {
-    NmtRouteTable *       table = NMT_ROUTE_TABLE(g_binding_get_source(binding));
+    NmtRouteTable        *table = NMT_ROUTE_TABLE(g_binding_get_source(binding));
     NmtRouteTablePrivate *priv  = NMT_ROUTE_TABLE_GET_PRIVATE(table);
     int                   n     = GPOINTER_TO_INT(user_data);
-    GPtrArray *           routes;
-    NMIPRoute *           route;
+    GPtrArray            *routes;
+    NMIPRoute            *route;
 
     if (n >= priv->routes->len)
         return FALSE;
@@ -108,7 +108,7 @@ static NmtNewtWidget *
 create_route_entry(NmtWidgetList *list, int num, gpointer table)
 {
     NmtRouteTablePrivate *priv = NMT_ROUTE_TABLE_GET_PRIVATE(table);
-    NmtNewtWidget *       entry;
+    NmtNewtWidget        *entry;
 
     entry = nmt_route_entry_new(priv->family, priv->ip_entry_width, priv->metric_entry_width);
 
@@ -128,7 +128,7 @@ static void
 add_route(NmtWidgetList *list, gpointer table)
 {
     NmtRouteTablePrivate *priv = NMT_ROUTE_TABLE_GET_PRIVATE(table);
-    NMIPRoute *           route;
+    NMIPRoute            *route;
 
     if (priv->family == AF_INET)
         route = nm_ip_route_new(AF_INET, "0.0.0.0", 32, NULL, -1, NULL);
@@ -157,10 +157,10 @@ static void
 nmt_route_table_init(NmtRouteTable *table)
 {
     NmtRouteTablePrivate *priv = NMT_ROUTE_TABLE_GET_PRIVATE(table);
-    NmtNewtWidget *       header, *empty;
-    NmtNewtWidget *       dest_prefix_label, *next_hop_label, *metric_label;
+    NmtNewtWidget        *header, *empty;
+    NmtNewtWidget        *dest_prefix_label, *next_hop_label, *metric_label;
     int                   dest_prefix_width, next_hop_width, metric_width;
-    char *                text;
+    char                 *text;
 
     priv->routes = g_ptr_array_new_with_free_func((GDestroyNotify) nm_ip_route_unref);
 
@@ -219,7 +219,7 @@ static void
 nmt_route_table_set_property(GObject *object, guint prop_id, const GValue *value, GParamSpec *pspec)
 {
     NmtRouteTablePrivate *priv = NMT_ROUTE_TABLE_GET_PRIVATE(object);
-    GPtrArray *           array;
+    GPtrArray            *array;
     int                   i;
 
     switch (prop_id) {
diff --git a/src/nmtui/nmt-slave-list.c b/src/nmtui/nmt-slave-list.c
index a6ce554d..b3ba8dc4 100644
--- a/src/nmtui/nmt-slave-list.c
+++ b/src/nmtui/nmt-slave-list.c
@@ -22,7 +22,7 @@ G_DEFINE_TYPE(NmtSlaveList, nmt_slave_list, NMT_TYPE_EDIT_CONNECTION_LIST)
 
 typedef struct {
     NMConnection *master;
-    const char *  master_type, *master_uuid;
+    const char   *master_type, *master_uuid;
 
     NmtAddConnectionTypeFilter type_filter;
     gpointer                   type_filter_data;
@@ -38,7 +38,7 @@ enum {
 };
 
 static gboolean nmt_slave_list_connection_filter(NmtEditConnectionList *list,
-                                                 NMConnection *         connection,
+                                                 NMConnection          *connection,
                                                  gpointer               user_data);
 
 /**
@@ -59,7 +59,7 @@ static gboolean nmt_slave_list_connection_filter(NmtEditConnectionList *list,
  * Returns: a new #NmtSlaveList.
  */
 NmtNewtWidget *
-nmt_slave_list_new(NMConnection *             master,
+nmt_slave_list_new(NMConnection              *master,
                    NmtAddConnectionTypeFilter type_filter,
                    gpointer                   type_filter_data)
 {
@@ -93,12 +93,12 @@ nmt_slave_list_finalize(GObject *object)
 
 static gboolean
 nmt_slave_list_connection_filter(NmtEditConnectionList *list,
-                                 NMConnection *         connection,
+                                 NMConnection          *connection,
                                  gpointer               user_data)
 {
     NmtSlaveListPrivate *priv = NMT_SLAVE_LIST_GET_PRIVATE(list);
     NMSettingConnection *s_con;
-    const char *         master, *master_ifname, *slave_type;
+    const char          *master, *master_ifname, *slave_type;
 
     s_con = nm_connection_get_setting_connection(connection);
     g_return_val_if_fail(s_con != NULL, FALSE);
@@ -193,7 +193,7 @@ nmt_slave_list_get_property(GObject *object, guint prop_id, GValue *value, GPara
 static void
 nmt_slave_list_class_init(NmtSlaveListClass *list_class)
 {
-    GObjectClass *              object_class          = G_OBJECT_CLASS(list_class);
+    GObjectClass               *object_class          = G_OBJECT_CLASS(list_class);
     NmtEditConnectionListClass *connection_list_class = NMT_EDIT_CONNECTION_LIST_CLASS(list_class);
 
     g_type_class_add_private(list_class, sizeof(NmtSlaveListPrivate));
diff --git a/src/nmtui/nmt-slave-list.h b/src/nmtui/nmt-slave-list.h
index f220fc12..ab7de7b7 100644
--- a/src/nmtui/nmt-slave-list.h
+++ b/src/nmtui/nmt-slave-list.h
@@ -30,7 +30,7 @@ typedef struct {
 
 GType nmt_slave_list_get_type(void);
 
-NmtNewtWidget *nmt_slave_list_new(NMConnection *             master,
+NmtNewtWidget *nmt_slave_list_new(NMConnection              *master,
                                   NmtAddConnectionTypeFilter type_filter,
                                   gpointer                   type_filter_data);
 
diff --git a/src/nmtui/nmt-utils.c b/src/nmtui/nmt-utils.c
index bac763f6..84d9e9bb 100644
--- a/src/nmtui/nmt-utils.c
+++ b/src/nmtui/nmt-utils.c
@@ -42,7 +42,7 @@
 
 typedef struct {
     gpointer result;
-    GError * error;
+    GError  *error;
     gpointer complete;
 } NmtSyncOpReal;
 
diff --git a/src/nmtui/nmt-widget-list.c b/src/nmtui/nmt-widget-list.c
index cd0c6c3c..18d4d16e 100644
--- a/src/nmtui/nmt-widget-list.c
+++ b/src/nmtui/nmt-widget-list.c
@@ -45,7 +45,7 @@ typedef struct {
     GPtrArray *remove_buttons;
 
     NmtNewtWidget *add_button;
-    GBinding *     add_sensitivity;
+    GBinding      *add_sensitivity;
 } NmtWidgetListPrivate;
 
 enum {
@@ -106,7 +106,7 @@ NmtNewtWidget *
 nmt_widget_list_new(NmtWidgetListCallback create_callback,
                     gpointer              user_data,
                     GDestroyNotify        destroy_notify,
-                    NmtNewtWidget *       empty_widget)
+                    NmtNewtWidget        *empty_widget)
 {
     return g_object_new(NMT_TYPE_WIDGET_LIST,
                         "create-callback",
@@ -166,9 +166,9 @@ static void
 ensure_widgets(NmtWidgetList *list)
 {
     NmtWidgetListPrivate *priv = NMT_WIDGET_LIST_GET_PRIVATE(list);
-    NmtNewtWidget *       widget, *button, *focus;
+    NmtNewtWidget        *widget, *button, *focus;
     gboolean              was_empty;
-    NmtNewtForm *         form;
+    NmtNewtForm          *form;
     int                   i;
 
     was_empty = priv->widgets->len == 0;
diff --git a/src/nmtui/nmt-widget-list.h b/src/nmtui/nmt-widget-list.h
index 1825c884..f6ed8c4d 100644
--- a/src/nmtui/nmt-widget-list.h
+++ b/src/nmtui/nmt-widget-list.h
@@ -42,7 +42,7 @@ typedef NmtNewtWidget *(*NmtWidgetListCallback)(NmtWidgetList *list, int n, gpoi
 NmtNewtWidget *nmt_widget_list_new(NmtWidgetListCallback create_callback,
                                    gpointer              user_data,
                                    GDestroyNotify        destroy_notify,
-                                   NmtNewtWidget *       empty_widget);
+                                   NmtNewtWidget        *empty_widget);
 
 int  nmt_widget_list_get_length(NmtWidgetList *list);
 void nmt_widget_list_set_length(NmtWidgetList *list, int length);
diff --git a/src/nmtui/nmt-wireguard-peer-editor.c b/src/nmtui/nmt-wireguard-peer-editor.c
index 810bdf69..a78cfdf0 100644
--- a/src/nmtui/nmt-wireguard-peer-editor.c
+++ b/src/nmtui/nmt-wireguard-peer-editor.c
@@ -28,8 +28,8 @@ G_DEFINE_TYPE(NmtWireguardPeerEditor, nmt_wireguard_peer_editor, NMT_TYPE_NEWT_F
 typedef struct {
     NMSettingWireGuard *orig_setting;
     NMSettingWireGuard *edit_setting;
-    NMWireGuardPeer *   peer;
-    NmtNewtEntry *      private_key;
+    NMWireGuardPeer    *peer;
+    NmtNewtEntry       *private_key;
 } NmtWireguardPeerEditorPrivate;
 
 enum {
@@ -55,7 +55,7 @@ nmt_wireguard_peer_editor_init(NmtWireguardPeerEditor *peer)
 static void
 save_peer_and_exit(NmtNewtButton *button, gpointer user_data)
 {
-    NmtWireguardPeerEditor *       editor = user_data;
+    NmtWireguardPeerEditor        *editor = user_data;
     NmtWireguardPeerEditorPrivate *priv   = NMT_WIREGUARD_PEER_EDITOR_GET_PRIVATE(editor);
 
     nm_setting_wireguard_append_peer(priv->orig_setting, priv->peer);
@@ -67,10 +67,10 @@ static void
 nmt_wireguard_peer_editor_constructed(GObject *object)
 {
     NmtWireguardPeerEditor *peer = NMT_WIREGUARD_PEER_EDITOR(object);
-    NmtEditorSection *      section;
-    NmtEditorGrid *         grid;
-    NmtNewtWidget *         widget, *label;
-    NmtNewtWidget *         buttons, *ok, *cancel;
+    NmtEditorSection       *section;
+    NmtEditorGrid          *grid;
+    NmtNewtWidget          *widget, *label;
+    NmtNewtWidget          *buttons, *ok, *cancel;
 
     if (G_OBJECT_CLASS(nmt_wireguard_peer_editor_parent_class)->constructed)
         G_OBJECT_CLASS(nmt_wireguard_peer_editor_parent_class)->constructed(object);
@@ -161,10 +161,10 @@ nmt_wireguard_peer_editor_constructed(GObject *object)
 }
 
 static void
-nmt_wireguard_peer_editor_set_property(GObject *     object,
+nmt_wireguard_peer_editor_set_property(GObject      *object,
                                        guint         prop_id,
                                        const GValue *value,
-                                       GParamSpec *  pspec)
+                                       GParamSpec   *pspec)
 {
     NmtWireguardPeerEditorPrivate *priv = NMT_WIREGUARD_PEER_EDITOR_GET_PRIVATE(object);
 
@@ -184,9 +184,9 @@ nmt_wireguard_peer_editor_set_property(GObject *     object,
 }
 
 static void
-nmt_wireguard_peer_editor_get_property(GObject *   object,
+nmt_wireguard_peer_editor_get_property(GObject    *object,
                                        guint       prop_id,
-                                       GValue *    value,
+                                       GValue     *value,
                                        GParamSpec *pspec)
 {
     NmtWireguardPeerEditorPrivate *priv = NMT_WIREGUARD_PEER_EDITOR_GET_PRIVATE(object);
diff --git a/src/nmtui/nmt-wireguard-peer-list.c b/src/nmtui/nmt-wireguard-peer-list.c
index 03f3ef9a..3ac8a88c 100644
--- a/src/nmtui/nmt-wireguard-peer-list.c
+++ b/src/nmtui/nmt-wireguard-peer-list.c
@@ -24,9 +24,9 @@ G_DEFINE_TYPE(NmtWireguardPeerList, nmt_wireguard_peer_list, NMT_TYPE_NEWT_GRID)
 
 typedef struct {
     NMSettingWireGuard *setting;
-    GSList *            peers;
+    GSList             *peers;
 
-    NmtNewtListbox *  listbox;
+    NmtNewtListbox   *listbox;
     NmtNewtButtonBox *buttons;
 
     NmtNewtWidget *add;
@@ -98,8 +98,8 @@ static void
 nmt_wireguard_peer_list_init(NmtWireguardPeerList *list)
 {
     NmtWireguardPeerListPrivate *priv = NMT_WIREGUARD_PEER_LIST_GET_PRIVATE(list);
-    NmtNewtWidget *              listbox, *buttons;
-    NmtNewtGrid *                grid = NMT_NEWT_GRID(list);
+    NmtNewtWidget               *listbox, *buttons;
+    NmtNewtGrid                 *grid = NMT_NEWT_GRID(list);
 
     listbox       = g_object_new(NMT_TYPE_NEWT_LISTBOX,
                            "flags",
@@ -166,8 +166,8 @@ static void
 nmt_wireguard_peer_list_add_peer(NmtWireguardPeerList *list)
 {
     NmtWireguardPeerListPrivate *priv = NMT_WIREGUARD_PEER_LIST_GET_PRIVATE(list);
-    NMWireGuardPeer *            peer = nm_wireguard_peer_new();
-    NmtNewtForm *                editor;
+    NMWireGuardPeer             *peer = nm_wireguard_peer_new();
+    NmtNewtForm                 *editor;
 
     editor = nmt_wireguard_peer_editor_new(priv->setting, peer);
 
@@ -183,8 +183,8 @@ static void
 nmt_wireguard_peer_list_edit_peer(NmtWireguardPeerList *list)
 {
     NmtWireguardPeerListPrivate *priv = NMT_WIREGUARD_PEER_LIST_GET_PRIVATE(list);
-    NMWireGuardPeer *            orig_peer, *edit_peer;
-    NmtNewtForm *                editor;
+    NMWireGuardPeer             *orig_peer, *edit_peer;
+    NmtNewtForm                 *editor;
     int                          selected_row;
 
     selected_row = nmt_newt_listbox_get_active(priv->listbox);
@@ -216,10 +216,10 @@ nmt_wireguard_peer_list_remove_peer(NmtWireguardPeerList *list)
 }
 
 static void
-nmt_wireguard_peer_list_set_property(GObject *     object,
+nmt_wireguard_peer_list_set_property(GObject      *object,
                                      guint         prop_id,
                                      const GValue *value,
-                                     GParamSpec *  pspec)
+                                     GParamSpec   *pspec)
 {
     NmtWireguardPeerListPrivate *priv = NMT_WIREGUARD_PEER_LIST_GET_PRIVATE(object);
 
@@ -237,14 +237,14 @@ nmt_wireguard_peer_list_set_property(GObject *     object,
 }
 
 static void
-nmt_wireguard_peer_list_get_property(GObject *   object,
+nmt_wireguard_peer_list_get_property(GObject    *object,
                                      guint       prop_id,
-                                     GValue *    value,
+                                     GValue     *value,
                                      GParamSpec *pspec)
 {
     NmtWireguardPeerListPrivate *priv = NMT_WIREGUARD_PEER_LIST_GET_PRIVATE(object);
-    GPtrArray *                  peers;
-    GSList *                     iter;
+    GPtrArray                   *peers;
+    GSList                      *iter;
 
     switch (prop_id) {
     case PROP_SETTING:
@@ -269,10 +269,10 @@ static void
 nmt_wireguard_peer_list_rebuild(NmtWireguardPeerList *list)
 {
     NmtWireguardPeerListPrivate *priv = NMT_WIREGUARD_PEER_LIST_GET_PRIVATE(list);
-    GSList *                     iter;
-    NMWireGuardPeer *            peer, *selected_peer;
+    GSList                      *iter;
+    NMWireGuardPeer             *peer, *selected_peer;
     int                          i, row, selected_row, num;
-    NMSettingWireGuard *         setting = priv->setting;
+    NMSettingWireGuard          *setting = priv->setting;
 
     selected_row  = nmt_newt_listbox_get_active(priv->listbox);
     selected_peer = nmt_newt_listbox_get_active_key(priv->listbox);
diff --git a/src/nmtui/nmtui-connect.c b/src/nmtui/nmtui-connect.c
index 4aa91acb..fb456653 100644
--- a/src/nmtui/nmtui-connect.c
+++ b/src/nmtui/nmtui-connect.c
@@ -33,11 +33,11 @@
 static gboolean
 openconnect_authenticate(NMConnection *connection, char **cookie, char **gateway, char **gwcert)
 {
-    GError *      error = NULL;
+    GError       *error = NULL;
     NMSettingVpn *s_vpn;
     gboolean      ret;
     int           status = 0;
-    const char *  gw, *port;
+    const char   *gw, *port;
 
     nmt_newt_message_dialog(
         _("openconnect will be run to authenticate.\nIt will return to nmtui when completed."));
@@ -80,13 +80,13 @@ openconnect_authenticate(NMConnection *connection, char **cookie, char **gateway
 
 static void
 secrets_requested(NMSecretAgentSimple *agent,
-                  const char *         request_id,
-                  const char *         title,
-                  const char *         msg,
-                  GPtrArray *          secrets,
+                  const char          *request_id,
+                  const char          *title,
+                  const char          *msg,
+                  GPtrArray           *secrets,
                   gpointer             user_data)
 {
-    NmtNewtForm * form;
+    NmtNewtForm  *form;
     NMConnection *connection = NM_CONNECTION(user_data);
     int           i;
 
@@ -138,16 +138,16 @@ secrets_requested(NMSecretAgentSimple *agent,
 }
 
 typedef struct {
-    NMDevice *          device;
+    NMDevice           *device;
     NMActiveConnection *active;
-    NmtSyncOp *         op;
+    NmtSyncOp          *op;
 } ActivateConnectionInfo;
 
 static void
 connect_cancelled(NmtNewtForm *form, gpointer user_data)
 {
     ActivateConnectionInfo *info  = user_data;
-    GError *                error = NULL;
+    GError                 *error = NULL;
 
     error = g_error_new_literal(G_IO_ERROR, G_IO_ERROR_CANCELLED, "Cancelled");
     nmt_sync_op_complete_boolean(info->op, FALSE, error);
@@ -158,8 +158,8 @@ static void
 check_activated(ActivateConnectionInfo *info)
 {
     NMActiveConnectionState ac_state;
-    const char *            reason = NULL;
-    gs_free_error GError *error    = NULL;
+    const char             *reason = NULL;
+    gs_free_error GError   *error  = NULL;
 
     ac_state = nmc_activation_get_effective_state(info->active, info->device, &reason);
     if (!NM_IN_SET(ac_state,
@@ -193,9 +193,9 @@ activate_device_state_changed(GObject *object, GParamSpec *pspec, gpointer user_
 static void
 activate_callback(GObject *client, GAsyncResult *result, gpointer user_data)
 {
-    NmtSyncOp *         op = user_data;
+    NmtSyncOp          *op = user_data;
     NMActiveConnection *ac;
-    GError *            error = NULL;
+    GError             *error = NULL;
 
     ac = nm_client_activate_connection_finish(NM_CLIENT(client), result, &error);
     if (error)
@@ -207,9 +207,9 @@ activate_callback(GObject *client, GAsyncResult *result, gpointer user_data)
 static void
 add_and_activate_callback(GObject *client, GAsyncResult *result, gpointer user_data)
 {
-    NmtSyncOp *         op = user_data;
+    NmtSyncOp          *op = user_data;
     NMActiveConnection *ac;
-    GError *            error = NULL;
+    GError             *error = NULL;
 
     ac = nm_client_add_and_activate_connection_finish(NM_CLIENT(client), result, &error);
     if (error)
@@ -232,13 +232,13 @@ deactivate_connection(NMActiveConnection *ac)
 static void
 activate_connection(NMConnection *connection, NMDevice *device, NMObject *specific_object)
 {
-    NmtNewtForm *   form;
+    NmtNewtForm                         *form;
     gs_unref_object NMSecretAgentSimple *agent = NULL;
-    NmtNewtWidget *                      label;
+    NmtNewtWidget                       *label;
     NmtSyncOp                            op;
-    const char *                         specific_object_path;
-    NMActiveConnection *                 ac;
-    GError *                             error = NULL;
+    const char                          *specific_object_path;
+    NMActiveConnection                  *ac;
+    GError                              *error = NULL;
     ActivateConnectionInfo               info  = {};
 
     form  = g_object_new(NMT_TYPE_NEWT_FORM, "escape-exits", TRUE, NULL);
@@ -351,10 +351,10 @@ static void
 listbox_activated(NmtNewtListbox *listbox, gpointer user_data)
 {
     NmtConnectConnectionList *list = NMT_CONNECT_CONNECTION_LIST(listbox);
-    NMConnection *            connection;
-    NMDevice *                device;
-    NMObject *                specific_object;
-    NMActiveConnection *      ac;
+    NMConnection             *connection;
+    NMDevice                 *device;
+    NMObject                 *specific_object;
+    NMActiveConnection       *ac;
 
     if (!nmt_connect_connection_list_get_selection(list,
                                                    &connection,
@@ -379,9 +379,9 @@ static void
 listbox_active_changed(GObject *object, GParamSpec *pspec, gpointer button)
 {
     NmtConnectConnectionList *list = NMT_CONNECT_CONNECTION_LIST(object);
-    static const char *       activate, *deactivate;
+    static const char        *activate, *deactivate;
     static int                deactivate_padding, activate_padding;
-    NMActiveConnection *      ac;
+    NMActiveConnection       *ac;
     gboolean                  has_selection;
 
     if (G_UNLIKELY(activate == NULL)) {
@@ -412,7 +412,7 @@ static NmtNewtForm *
 nmt_connect_connection_list(gboolean is_top)
 {
     int            screen_width, screen_height;
-    NmtNewtForm *  form;
+    NmtNewtForm   *form;
     NmtNewtWidget *list, *activate, *quit, *bbox, *grid;
 
     newtGetScreenSize(&screen_width, &screen_height);
@@ -455,10 +455,10 @@ nmt_connect_connection_list(gboolean is_top)
 static NmtNewtForm *
 nmt_connect_connection(const char *identifier)
 {
-    NmtNewtWidget *     list;
-    NMConnection *      connection;
-    NMDevice *          device;
-    NMObject *          specific_object;
+    NmtNewtWidget      *list;
+    NMConnection       *connection;
+    NMDevice           *device;
+    NMObject           *specific_object;
     NMActiveConnection *ac;
 
     list = nmt_connect_connection_list_new();
diff --git a/src/nmtui/nmtui-edit.c b/src/nmtui/nmtui-edit.c
index 534643a7..ec80a203 100644
--- a/src/nmtui/nmtui-edit.c
+++ b/src/nmtui/nmtui-edit.c
@@ -45,13 +45,13 @@ list_remove_connection(NmtEditConnectionList *list, NMRemoteConnection *connecti
 
 static gboolean
 edit_connection_list_filter(NmtEditConnectionList *list,
-                            NMConnection *         connection,
+                            NMConnection          *connection,
                             gpointer               user_data)
 {
     NMSettingConnection *s_con;
-    const char *         master, *slave_type;
-    const char *         uuid, *ifname;
-    const GPtrArray *    conns;
+    const char          *master, *slave_type;
+    const char          *uuid, *ifname;
+    const GPtrArray     *conns;
     int                  i;
     gboolean             found_master = FALSE;
 
@@ -86,7 +86,7 @@ static NmtNewtForm *
 nmt_edit_main_connection_list(gboolean is_top)
 {
     int            screen_width, screen_height;
-    NmtNewtForm *  form;
+    NmtNewtForm   *form;
     NmtNewtWidget *quit, *list;
 
     newtGetScreenSize(&screen_width, &screen_height);
@@ -137,9 +137,9 @@ typedef struct {
     NmtNewtTextbox *textbox;
     NmtNewtListbox *listbox;
 
-    char *                     primary_text;
-    char *                     secondary_text;
-    NMConnection *             master;
+    char                      *primary_text;
+    char                      *secondary_text;
+    NMConnection              *master;
     NmtAddConnectionTypeFilter type_filter;
     gpointer                   type_filter_data;
 
@@ -181,8 +181,8 @@ static void
 nmt_add_connection_init(NmtAddConnection *form)
 {
     NmtAddConnectionPrivate *priv = NMT_ADD_CONNECTION_GET_PRIVATE(form);
-    NmtNewtWidget *          textbox, *listbox, *button;
-    NmtNewtGrid *            grid, *buttons;
+    NmtNewtWidget           *textbox, *listbox, *button;
+    NmtNewtGrid             *grid, *buttons;
 
     grid = NMT_NEWT_GRID(nmt_newt_grid_new());
 
@@ -222,9 +222,9 @@ nmt_add_connection_init(NmtAddConnection *form)
 static void
 nmt_add_connection_constructed(GObject *object)
 {
-    NmtAddConnectionPrivate *    priv = NMT_ADD_CONNECTION_GET_PRIVATE(object);
+    NmtAddConnectionPrivate     *priv = NMT_ADD_CONNECTION_GET_PRIVATE(object);
     NMEditorConnectionTypeData **types;
-    char *                       text;
+    char                        *text;
     int                          i, num_types;
 
     if (priv->secondary_text) {
@@ -275,10 +275,10 @@ nmt_add_connection_finalize(GObject *object)
 }
 
 static void
-nmt_add_connection_set_property(GObject *     object,
+nmt_add_connection_set_property(GObject      *object,
                                 guint         prop_id,
                                 const GValue *value,
-                                GParamSpec *  pspec)
+                                GParamSpec   *pspec)
 {
     NmtAddConnectionPrivate *priv = NMT_ADD_CONNECTION_GET_PRIVATE(object);
 
@@ -334,7 +334,7 @@ nmt_add_connection_get_property(GObject *object, guint prop_id, GValue *value, G
 static void
 nmt_add_connection_class_init(NmtAddConnectionClass *add_class)
 {
-    GObjectClass *    object_class = G_OBJECT_CLASS(add_class);
+    GObjectClass     *object_class = G_OBJECT_CLASS(add_class);
     NmtNewtFormClass *form_class   = NMT_NEWT_FORM_CLASS(add_class);
 
     g_type_class_add_private(add_class, sizeof(NmtAddConnectionPrivate));
@@ -404,9 +404,9 @@ nmt_add_connection(void)
 }
 
 void
-nmt_add_connection_full(const char *               primary_text,
-                        const char *               secondary_text,
-                        NMConnection *             master,
+nmt_add_connection_full(const char                *primary_text,
+                        const char                *secondary_text,
+                        NMConnection              *master,
                         NmtAddConnectionTypeFilter type_filter,
                         gpointer                   type_filter_data)
 {
@@ -453,7 +453,7 @@ static void
 connection_deleted_callback(GObject *connection, GAsyncResult *result, gpointer user_data)
 {
     ConnectionDeleteData *data  = user_data;
-    GError *              error = NULL;
+    GError               *error = NULL;
 
     if (!nm_remote_connection_delete_finish(data->connection, result, &error)) {
         nmt_newt_message_dialog(_("Unable to delete connection: %s"), error->message);
@@ -481,7 +481,7 @@ static void
 remove_one_connection(NMRemoteConnection *connection)
 {
     ConnectionDeleteData data;
-    GError *             error = NULL;
+    GError              *error = NULL;
 
     data.got_callback = data.got_signal = FALSE;
     nmt_sync_op_init(&data.op);
@@ -506,12 +506,12 @@ remove_one_connection(NMRemoteConnection *connection)
 void
 nmt_remove_connection(NMRemoteConnection *connection)
 {
-    const GPtrArray *    all_conns;
-    GSList *             slaves, *iter;
+    const GPtrArray     *all_conns;
+    GSList              *slaves, *iter;
     int                  i;
-    NMRemoteConnection * slave;
+    NMRemoteConnection  *slave;
     NMSettingConnection *s_con;
-    const char *         uuid, *iface, *master;
+    const char          *uuid, *iface, *master;
     int                  choice;
 
     choice = nmt_newt_choice_dialog(_("Cancel"),
diff --git a/src/nmtui/nmtui-edit.h b/src/nmtui/nmtui-edit.h
index 99e370b4..e8685602 100644
--- a/src/nmtui/nmtui-edit.h
+++ b/src/nmtui/nmtui-edit.h
@@ -13,9 +13,9 @@ typedef gboolean (*NmtAddConnectionTypeFilter)(GType connection_type, gpointer u
 NmtNewtForm *nmtui_edit(gboolean is_top, int argc, char **argv);
 
 void nmt_add_connection(void);
-void nmt_add_connection_full(const char *               primary_text,
-                             const char *               secondary_text,
-                             NMConnection *             master,
+void nmt_add_connection_full(const char                *primary_text,
+                             const char                *secondary_text,
+                             NMConnection              *master,
                              NmtAddConnectionTypeFilter type_filter,
                              gpointer                   type_filter_data);
 
diff --git a/src/nmtui/nmtui-hostname.c b/src/nmtui/nmtui-hostname.c
index 2f252428..65af73cc 100644
--- a/src/nmtui/nmtui-hostname.c
+++ b/src/nmtui/nmtui-hostname.c
@@ -21,12 +21,12 @@
 static char *
 nmtui_hostname_run_dialog(void)
 {
-    NmtNewtForm *     form;
-    NmtNewtWidget *   widget, *ok, *cancel;
-    NmtNewtGrid *     grid;
-    NmtNewtEntry *    entry;
+    NmtNewtForm      *form;
+    NmtNewtWidget    *widget, *ok, *cancel;
+    NmtNewtGrid      *grid;
+    NmtNewtEntry     *entry;
     NmtNewtButtonBox *bbox;
-    char *            hostname, *ret = NULL;
+    char             *hostname, *ret = NULL;
 
     form = g_object_new(NMT_TYPE_NEWT_FORM, "title", _("Set Hostname"), "escape-exits", TRUE, NULL);
 
@@ -79,9 +79,9 @@ NmtNewtForm *
 nmtui_hostname(gboolean is_top, int argc, char **argv)
 {
     const char *hostname;
-    char *      tmp = NULL;
+    char       *tmp = NULL;
     NmtSyncOp   op;
-    GError *    error = NULL;
+    GError     *error = NULL;
 
     if (argc == 2)
         hostname = argv[1];
diff --git a/src/nmtui/nmtui.c b/src/nmtui/nmtui.c
index 897e0911..c99d1641 100644
--- a/src/nmtui/nmtui.c
+++ b/src/nmtui/nmtui.c
@@ -27,14 +27,14 @@
 #include "nmtui-connect.h"
 #include "nmtui-hostname.h"
 
-NMClient *        nm_client;
+NMClient         *nm_client;
 static GMainLoop *loop;
 
 typedef NmtNewtForm *(*NmtuiSubprogram)(gboolean is_top, int argc, char **argv);
 
 static const struct {
-    const char *    name, *shortcut, *arg;
-    const char *    display_name;
+    const char     *name, *shortcut, *arg;
+    const char     *display_name;
     NmtuiSubprogram func;
 } subprograms[] = {
     {"edit", "nmtui-edit", N_("connection"), N_("Edit a connection"), nmtui_edit},
@@ -57,7 +57,7 @@ quit_func(int argc, char **argv)
 static void
 main_list_activated(NmtNewtWidget *widget, NmtNewtListbox *listbox)
 {
-    NmtNewtForm *   form;
+    NmtNewtForm    *form;
     NmtuiSubprogram sub;
 
     sub = nmt_newt_listbox_get_active_key(listbox);
@@ -73,10 +73,10 @@ main_list_activated(NmtNewtWidget *widget, NmtNewtListbox *listbox)
 static NmtNewtForm *
 nmtui_main(gboolean is_top, int argc, char **argv)
 {
-    NmtNewtForm *     form;
-    NmtNewtWidget *   widget, *ok;
-    NmtNewtGrid *     grid;
-    NmtNewtListbox *  listbox;
+    NmtNewtForm      *form;
+    NmtNewtWidget    *widget, *ok;
+    NmtNewtGrid      *grid;
+    NmtNewtListbox   *listbox;
     NmtNewtButtonBox *bbox;
     int               i;
 
@@ -162,7 +162,7 @@ usage(void)
 typedef struct {
     NmtuiSubprogram subprogram;
     int             argc;
-    char **         argv;
+    char          **argv;
 } NmtuiStartupData;
 
 static void
@@ -175,7 +175,7 @@ static gboolean
 idle_run_subprogram(gpointer user_data)
 {
     NmtuiStartupData *data = user_data;
-    NmtNewtForm *     form;
+    NmtNewtForm      *form;
 
     form = data->subprogram(TRUE, data->argc, data->argv);
     if (form) {
@@ -210,10 +210,10 @@ GOptionEntry entries[] = {{"sleep",
 int
 main(int argc, char **argv)
 {
-    GOptionContext * opts;
-    GError *         error = NULL;
+    GOptionContext  *opts;
+    GError          *error = NULL;
     NmtuiStartupData startup_data;
-    const char *     prgname;
+    const char      *prgname;
     int              i;
 
     setlocale(LC_ALL, "");