summaryrefslogtreecommitdiff
path: root/src/settings/nm-settings.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/settings/nm-settings.c')
-rw-r--r--src/settings/nm-settings.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/src/settings/nm-settings.c b/src/settings/nm-settings.c
index 852fa6d145..3c59a5925e 100644
--- a/src/settings/nm-settings.c
+++ b/src/settings/nm-settings.c
@@ -120,7 +120,7 @@ static void impl_settings_save_hostname (NMSettings *self,
static void unmanaged_specs_changed (NMSystemConfigInterface *config, gpointer user_data);
static void unrecognized_specs_changed (NMSystemConfigInterface *config, gpointer user_data);
-static void connection_provider_init (NMConnectionProvider *cp_class);
+static void connection_provider_init (NMConnectionProviderInterface *cp_iface);
G_DEFINE_TYPE_EXTENDED (NMSettings, nm_settings, G_TYPE_OBJECT, 0,
G_IMPLEMENT_INTERFACE (NM_TYPE_CONNECTION_PROVIDER, connection_provider_init))
@@ -1815,12 +1815,12 @@ nm_settings_new (GError **error)
}
static void
-connection_provider_init (NMConnectionProvider *cp_class)
+connection_provider_init (NMConnectionProviderInterface *cp_iface)
{
- cp_class->get_best_connections = get_best_connections;
- cp_class->get_connections = get_connections;
- cp_class->add_connection = _nm_connection_provider_add_connection;
- cp_class->get_connection_by_uuid = cp_get_connection_by_uuid;
+ cp_iface->get_best_connections = get_best_connections;
+ cp_iface->get_connections = get_connections;
+ cp_iface->add_connection = _nm_connection_provider_add_connection;
+ cp_iface->get_connection_by_uuid = cp_get_connection_by_uuid;
}
static void