summaryrefslogtreecommitdiff
path: root/src/nm-active-connection.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-03-01 17:26:45 +0100
committerThomas Haller <thaller@redhat.com>2017-03-16 18:27:33 +0100
commit9e60de87f54c1832d26dc44b0e08326e63c39e2b (patch)
tree650b63872671ee6c90c40259174f7b159b36baf9 /src/nm-active-connection.c
parentc59532ee40419e4ed7d31f1d1edbaa6bc3c2278e (diff)
downloadNetworkManager-9e60de87f54c1832d26dc44b0e08326e63c39e2b.tar.gz
core: minor cleanups
Some minor changes that make the code more similar to what will be done later for the related bug bgo#746440.
Diffstat (limited to 'src/nm-active-connection.c')
-rw-r--r--src/nm-active-connection.c13
1 files changed, 6 insertions, 7 deletions
diff --git a/src/nm-active-connection.c b/src/nm-active-connection.c
index ab2a9b3b6b..a96f33b432 100644
--- a/src/nm-active-connection.c
+++ b/src/nm-active-connection.c
@@ -44,20 +44,19 @@ typedef struct _NMActiveConnectionPrivate {
char *pending_activation_id;
- gboolean is_default;
- gboolean is_default6;
NMActiveConnectionState state;
- gboolean state_set;
- gboolean vpn;
+ bool is_default:1;
+ bool is_default6:1;
+ bool state_set:1;
+ bool vpn:1;
+ bool assumed:1;
+ bool master_ready:1;
NMAuthSubject *subject;
NMActiveConnection *master;
- gboolean master_ready;
NMActiveConnection *parent;
- gboolean assumed;
-
NMAuthChain *chain;
const char *wifi_shared_permission;
NMActiveConnectionAuthResultFunc result_func;