mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-05-02 11:58:06 +02:00
manager: use priv->config instead of singleton getter nm_config_get()
This commit is contained in:
parent
9f22f4e1ee
commit
5bded081a4
1 changed files with 2 additions and 2 deletions
|
|
@ -914,7 +914,7 @@ check_if_startup_complete (NMManager *self)
|
|||
g_signal_handlers_disconnect_by_func (dev, G_CALLBACK (device_has_pending_action_changed), self);
|
||||
}
|
||||
|
||||
if (nm_config_get_configure_and_quit (nm_config_get ()))
|
||||
if (nm_config_get_configure_and_quit (priv->config))
|
||||
g_signal_emit (self, signals[CONFIGURE_QUIT], 0);
|
||||
}
|
||||
|
||||
|
|
@ -960,7 +960,7 @@ remove_device (NMManager *self,
|
|||
nm_device_set_unmanaged_by_quitting (device);
|
||||
else
|
||||
nm_device_set_unmanaged_by_flags (device, NM_UNMANAGED_PLATFORM_INIT, TRUE, NM_DEVICE_STATE_REASON_REMOVED);
|
||||
} else if (quitting && nm_config_get_configure_and_quit (nm_config_get ())) {
|
||||
} else if (quitting && nm_config_get_configure_and_quit (priv->config)) {
|
||||
nm_device_spawn_iface_helper (device);
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue