The problem is in nm_manager_new().

It calls:
singleton = (NMManager *) g_object_new (NM_TYPE_MANAGER, NULL);
to create the nmm object, which results in a call to nm_manager_init()
down the chain, which eventually leads to a nm_manager_update_state()
call, which calls:
nm_connectivity_set_online (priv->connectivity, new_state >=
NM_STATE_CONNECTED_LOCAL);
However, priv->connectivity is initialized only back in
nm_manager_new() AFTER it creates the nmm object.

Possible solution:
somehow move this line:
priv->connectivity = nm_connectivity_new (connectivity_uri,
connectivity_interval, connectivity_response);
into nm_manager_init() or one of its subroutines


-- 
To UNSUBSCRIBE, email to debian-bugs-rc-requ...@lists.debian.org
with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org

Reply via email to