• Tambet Ingo's avatar
    Update to NetworkManager 0.7 API · 3ef6a604
    Tambet Ingo authored
    2008-04-11  Tambet Ingo  <tambet@gmail.com>
    	Adapt the API changes of libnm-glib.
    	See https://bugzilla.novell.com/show_bug.cgi?id=377019 for the
    	request to update to this API.
    	* main-menu/src/network-status-agent.c
    	(nm_get_first_active_device_info): nm_client_get_devices() now
    	returns a 'const GPtrArray', update.
    	(nm_get_device_info): The device properties returned from libnm-glib
    	have been changed to constants, update.
    	To allow notifications for all NMObject property changes, the
    	"state-changed" signal is removed from NMDevice and replaced by a
    	generic "notify::" signal.
    	(nm_state_change_cb): Update the signature, ask for the state.
    Signed-off-by: 's avatarFederico Mena Quintero <federico@gnu.org>
    svn path=/trunk/; revision=446
network-status-agent.c 8.57 KB