summaryrefslogtreecommitdiff
path: root/src/nm-exported-object.c
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2016-03-30 12:00:58 +0200
committerThomas Haller <thaller@redhat.com>2016-04-01 08:58:18 +0200
commit2b9462f172f2410b9a24fa06d345126a645b75cd (patch)
tree70b8ae67b38e5f482d4b3e759026560172b1dc25 /src/nm-exported-object.c
parent89f3f6ade0bcb93db03988b3a8900eddf4ddce1d (diff)
downloadNetworkManager-2b9462f172f2410b9a24fa06d345126a645b75cd.tar.gz
exported-object: reorder fields in NMExportedObjectPrivate struct
For now, this doesn't change the overall size of the struct. But with the next commits this ordering allows tighter packing.
Diffstat (limited to 'src/nm-exported-object.c')
-rw-r--r--src/nm-exported-object.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/nm-exported-object.c b/src/nm-exported-object.c
index 38a6271cb7..1518b492bc 100644
--- a/src/nm-exported-object.c
+++ b/src/nm-exported-object.c
@@ -39,16 +39,17 @@ G_DEFINE_ABSTRACT_TYPE_WITH_CODE (NMExportedObject, nm_exported_object, G_TYPE_D
)
typedef struct {
- GSList *interfaces;
-
NMBusManager *bus_mgr;
char *path;
GHashTable *pending_notifies;
+
+ GSList *interfaces;
+
guint notify_idle_id;
#ifdef _ASSERT_NO_EARLY_EXPORT
- gboolean _constructed;
+ bool _constructed:1;
#endif
} NMExportedObjectPrivate;