mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-25 03:40:07 +01:00
core: drop unused NMConnectionProvider typedef
We dopped NMConnectionProvider a while ago. Forgot something.
Fixes: 5337003c4c
This commit is contained in:
parent
1b532b5fdc
commit
dcbb5c07e1
3 changed files with 4 additions and 5 deletions
|
|
@ -12841,19 +12841,19 @@ cp_connection_added_or_updated (NMDevice *self, NMConnection *connection)
|
|||
}
|
||||
|
||||
static void
|
||||
cp_connection_added (NMConnectionProvider *cp, NMConnection *connection, gpointer user_data)
|
||||
cp_connection_added (NMSettings *settings, NMConnection *connection, gpointer user_data)
|
||||
{
|
||||
cp_connection_added_or_updated (user_data, connection);
|
||||
}
|
||||
|
||||
static void
|
||||
cp_connection_updated (NMConnectionProvider *cp, NMConnection *connection, gboolean by_user, gpointer user_data)
|
||||
cp_connection_updated (NMSettings *settings, NMConnection *connection, gboolean by_user, gpointer user_data)
|
||||
{
|
||||
cp_connection_added_or_updated (user_data, connection);
|
||||
}
|
||||
|
||||
static void
|
||||
cp_connection_removed (NMConnectionProvider *cp, NMConnection *connection, gpointer user_data)
|
||||
cp_connection_removed (NMSettings *settings, NMConnection *connection, gpointer user_data)
|
||||
{
|
||||
NMDevice *self = user_data;
|
||||
|
||||
|
|
|
|||
|
|
@ -38,7 +38,6 @@ typedef struct _NMDBusManager NMDBusManager;
|
|||
typedef struct _NMConfig NMConfig;
|
||||
typedef struct _NMConfigData NMConfigData;
|
||||
typedef struct _NMArpingManager NMArpingManager;
|
||||
typedef struct _NMConnectionProvider NMConnectionProvider;
|
||||
typedef struct _NMConnectivity NMConnectivity;
|
||||
typedef struct _NMDevice NMDevice;
|
||||
typedef struct _NMDhcp4Config NMDhcp4Config;
|
||||
|
|
|
|||
|
|
@ -57,7 +57,7 @@ nm_test_device_init (NMTestDevice *self)
|
|||
}
|
||||
|
||||
/* We jump over NMDevice's construct/destruct methods, which require NMPlatform
|
||||
* and NMConnectionProvider to be initialized.
|
||||
* and NMSettings to be initialized.
|
||||
*/
|
||||
static void
|
||||
constructed (GObject *object)
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue