Commit 50d286eb authored by Dan Williams's avatar Dan Williams
Browse files

2005-06-09 Dan Williams <dcbw@redhat.com>

	* NetworkManager.h
	  src/vpn-manager/nm-vpn-service.c
		- NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)


git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@656 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent d37b770d
2005-06-09 Dan Williams <dcbw@redhat.com>
* NetworkManager.h
src/vpn-manager/nm-vpn-service.c
- NM_VPN_STATE_ERROR -> NM_VPN_STATE_UNKNOWN (more consistent with other enums)
2005-05-27 Dan Williams <dcbw@redhat.com>
* vpn-daemons/vpnc/nm-vpnc-service.c
......
......@@ -181,7 +181,7 @@ typedef enum NMDeviceAuthMethod
*/
typedef enum NMVPNState
{
NM_VPN_STATE_ERROR = 0,
NM_VPN_STATE_UNKNOWN = 0,
NM_VPN_STATE_INIT,
NM_VPN_STATE_SHUTDOWN,
NM_VPN_STATE_STARTING,
......
......@@ -126,7 +126,7 @@ void nm_vpn_service_set_program (NMVPNService *service, const char *program)
NMVPNState nm_vpn_service_get_state (NMVPNService *service)
{
g_return_val_if_fail (service != NULL, NM_VPN_STATE_ERROR);
g_return_val_if_fail (service != NULL, NM_VPN_STATE_UNKNOWN);
return service->state;
}
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment