mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-26 22:30:26 +01:00
wwan: Remove GDBusObjectManagerClient workaround
Tested with no ModemManager in the bus. NetworkManager is receiving object-added signal. So hack not needed anymore.
This commit is contained in:
parent
63e9b804e9
commit
8f9bc6af94
1 changed files with 1 additions and 10 deletions
|
|
@ -258,16 +258,7 @@ modm_handle_name_owner_changed(MMManager *modem_manager, GParamSpec *pspec, NMMo
|
|||
/* Available! */
|
||||
g_free(name_owner);
|
||||
|
||||
/* Hack alert: GDBusObjectManagerClient won't signal neither 'object-added'
|
||||
* nor 'object-removed' if it was created while there was no ModemManager in
|
||||
* the bus. This hack avoids this issue until we get a GIO with the fix
|
||||
* included... */
|
||||
modm_clear_manager(self);
|
||||
modm_ensure_manager(self);
|
||||
|
||||
/* Whenever GDBusObjectManagerClient is fixed, we can just do the following:
|
||||
* modm_manager_available (self);
|
||||
*/
|
||||
modm_manager_available(self);
|
||||
}
|
||||
|
||||
static void
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue