From 2fc55941a333b387528802b6fb88887916ef6d9c Mon Sep 17 00:00:00 2001 From: Dan Winship Date: Thu, 15 May 2014 09:55:18 -0400 Subject: 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). --- libnm-core/nm-setting-ip4-config.h | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'libnm-core/nm-setting-ip4-config.h') 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); -- cgit v1.2.1