core: forward declare NMVpnConnection in nm-types.h

Signed-off-by: Thomas Haller <thaller@redhat.com>
This commit is contained in:
Thomas Haller 2014-11-04 09:58:28 +01:00
parent c52e331014
commit 808ad85ff4
2 changed files with 3 additions and 2 deletions

View file

@ -23,6 +23,7 @@
/* core */
typedef struct _NMActiveConnection NMActiveConnection;
typedef struct _NMVpnConnection NMVpnConnection;
typedef struct _NMActRequest NMActRequest;
typedef struct _NMAuthSubject NMAuthSubject;
typedef struct _NMConnectionProvider NMConnectionProvider;

View file

@ -46,9 +46,9 @@
#define NM_VPN_CONNECTION_INTERNAL_RETRY_AFTER_FAILURE "internal-retry-after-failure"
typedef struct {
struct _NMVpnConnection {
NMActiveConnection parent;
} NMVpnConnection;
};
typedef struct {
NMActiveConnectionClass parent;