mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-06-20 05:58:30 +02:00
Revert "libnm-glib: initialize NMRemoteSettings in nm_remote_settings_new() (rh #806664)"
This reverts commitdd0460697c. The commitdd0460697cmake nm_remote_settings_new() create the NMRemoteSettings object synchronously. It fixed getting properties, but undid the previous ability to initialize the object asynchronously. It can be reverted now, becausea4f450aa0bcommit ensure initialization in get_property() calls.
This commit is contained in:
parent
47f9eb80d8
commit
2b879e3a33
1 changed files with 1 additions and 6 deletions
|
|
@ -728,12 +728,7 @@ properties_changed_cb (DBusGProxy *proxy,
|
|||
NMRemoteSettings *
|
||||
nm_remote_settings_new (DBusGConnection *bus)
|
||||
{
|
||||
NMRemoteSettings *settings;
|
||||
|
||||
settings = g_object_new (NM_TYPE_REMOTE_SETTINGS, NM_REMOTE_SETTINGS_BUS, bus, NULL);
|
||||
|
||||
_nm_remote_settings_ensure_inited (settings);
|
||||
return settings;
|
||||
return g_object_new (NM_TYPE_REMOTE_SETTINGS, NM_REMOTE_SETTINGS_BUS, bus, NULL);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue