mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-19 10:20:31 +01:00
libnm: hide NMSimpleConnection type from public headers
(cherry picked from commit 860b280248)
This commit is contained in:
parent
65278461a3
commit
fd2c614b71
2 changed files with 15 additions and 13 deletions
|
|
@ -20,6 +20,20 @@
|
|||
|
||||
/*****************************************************************************/
|
||||
|
||||
/**
|
||||
* NMSimpleConnection:
|
||||
*/
|
||||
struct _NMSimpleConnection {
|
||||
GObject parent;
|
||||
};
|
||||
|
||||
struct _NMSimpleConnectionClass {
|
||||
GObjectClass parent;
|
||||
|
||||
/* In the past, this struct was public API. Preserve ABI! */
|
||||
gpointer padding[4];
|
||||
};
|
||||
|
||||
static void nm_simple_connection_interface_init(NMConnectionInterface *iface);
|
||||
|
||||
G_DEFINE_TYPE_WITH_CODE(NMSimpleConnection,
|
||||
|
|
|
|||
|
|
@ -25,19 +25,7 @@ G_BEGIN_DECLS
|
|||
#define NM_SIMPLE_CONNECTION_GET_CLASS(obj) \
|
||||
(G_TYPE_INSTANCE_GET_CLASS((obj), NM_TYPE_SIMPLE_CONNECTION, NMSimpleConnectionClass))
|
||||
|
||||
/**
|
||||
* NMSimpleConnection:
|
||||
*/
|
||||
struct _NMSimpleConnection {
|
||||
GObject parent;
|
||||
};
|
||||
|
||||
typedef struct {
|
||||
GObjectClass parent_class;
|
||||
|
||||
/*< private >*/
|
||||
gpointer padding[4];
|
||||
} NMSimpleConnectionClass;
|
||||
typedef struct _NMSimpleConnectionClass NMSimpleConnectionClass;
|
||||
|
||||
GType nm_simple_connection_get_type(void);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue