mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2025-12-24 12:30:07 +01:00
settings: remove some NMSettingsPlugin cruft
This commit is contained in:
parent
dfb77e3b19
commit
b3d56e4885
3 changed files with 3 additions and 5 deletions
|
|
@ -117,8 +117,7 @@ nm_settings_plugin_get_type (void)
|
|||
}
|
||||
|
||||
void
|
||||
nm_settings_plugin_init (NMSettingsPlugin *config,
|
||||
gpointer unused)
|
||||
nm_settings_plugin_init (NMSettingsPlugin *config)
|
||||
{
|
||||
g_return_if_fail (config != NULL);
|
||||
|
||||
|
|
|
|||
|
|
@ -140,8 +140,7 @@ struct _NMSettingsPlugin {
|
|||
|
||||
GType nm_settings_plugin_get_type (void);
|
||||
|
||||
void nm_settings_plugin_init (NMSettingsPlugin *config,
|
||||
gpointer unused);
|
||||
void nm_settings_plugin_init (NMSettingsPlugin *config);
|
||||
|
||||
GSList *nm_settings_plugin_get_connections (NMSettingsPlugin *config);
|
||||
|
||||
|
|
|
|||
|
|
@ -644,7 +644,7 @@ add_plugin (NMSettings *self, NMSettingsPlugin *plugin)
|
|||
}
|
||||
|
||||
priv->plugins = g_slist_append (priv->plugins, g_object_ref (plugin));
|
||||
nm_settings_plugin_init (plugin, NULL);
|
||||
nm_settings_plugin_init (plugin);
|
||||
|
||||
g_object_get (G_OBJECT (plugin),
|
||||
NM_SETTINGS_PLUGIN_NAME, &pname,
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue