summaryrefslogtreecommitdiff
path: root/libnm-core/nm-setting-ip4-config.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-05-15 09:55:18 -0400
committerDan Winship <danw@gnome.org>2014-08-01 14:34:40 -0400
commit2fc55941a333b387528802b6fb88887916ef6d9c (patch)
treecd80f3c221e8a14e2086181b96d6d1f8e0344b9f /libnm-core/nm-setting-ip4-config.h
parentbdda66a813ccbf31a70addc5fcf829706b027158 (diff)
downloadNetworkManager-2fc55941a333b387528802b6fb88887916ef6d9c.tar.gz
libnm: fix up class struct reserved slots
Add reserved slots to those classes that were missing them (or had run out), and sync up the number of slots across classes: - 8 slots for "important" classes, abstract base classes, and classes we expect we might need to add new virtual methods or signals to later. - 4 for everything else Also, rearrange the class elements in a few places into standard order (signals first, then methods).
Diffstat (limited to 'libnm-core/nm-setting-ip4-config.h')
-rw-r--r--libnm-core/nm-setting-ip4-config.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/libnm-core/nm-setting-ip4-config.h b/libnm-core/nm-setting-ip4-config.h
index e368212472..3572a1e3c8 100644
--- a/libnm-core/nm-setting-ip4-config.h
+++ b/libnm-core/nm-setting-ip4-config.h
@@ -170,11 +170,8 @@ typedef struct {
typedef struct {
NMSettingClass parent;
- /* Padding for future expansion */
- void (*_reserved1) (void);
- void (*_reserved2) (void);
- void (*_reserved3) (void);
- void (*_reserved4) (void);
+ /*< private >*/
+ gpointer padding[4];
} NMSettingIP4ConfigClass;
GType nm_setting_ip4_config_get_type (void);