summaryrefslogtreecommitdiff
path: root/libnm/nm-remote-connection.h
diff options
context:
space:
mode:
authorDan Winship <danw@gnome.org>2014-10-09 09:12:42 -0400
committerDan Winship <danw@gnome.org>2014-10-10 13:10:18 -0400
commit8c3d6f734b3d53bf55cfb6b5d26ca8b3d748fd1c (patch)
tree070535639f71170a5df6cf576dcd7c53b2bb6eda /libnm/nm-remote-connection.h
parentdccaffe143410c9f5379f1d92e2a95d4de2072c0 (diff)
downloadNetworkManager-8c3d6f734b3d53bf55cfb6b5d26ca8b3d748fd1c.tar.gz
libnm: add nm-types.h, to avoid include loops
Add nm-types.h defining all the type structs, to avoid future include loops. Clean up the includes in all of the installed headers.
Diffstat (limited to 'libnm/nm-remote-connection.h')
-rw-r--r--libnm/nm-remote-connection.h5
1 files changed, 2 insertions, 3 deletions
diff --git a/libnm/nm-remote-connection.h b/libnm/nm-remote-connection.h
index 6631e01b0a..191a8c3fa9 100644
--- a/libnm/nm-remote-connection.h
+++ b/libnm/nm-remote-connection.h
@@ -26,7 +26,6 @@
#error "Only <NetworkManager.h> can be included directly."
#endif
-#include <nm-connection.h>
#include <nm-object.h>
G_BEGIN_DECLS
@@ -58,9 +57,9 @@ GQuark nm_remote_connection_error_quark (void);
#define NM_REMOTE_CONNECTION_UNSAVED "unsaved"
#define NM_REMOTE_CONNECTION_VISIBLE "visible"
-typedef struct {
+struct _NMRemoteConnection {
NMObject parent;
-} NMRemoteConnection;
+};
typedef struct {
NMObjectClass parent_class;