Commit d1a897eb authored by Dan Williams's avatar Dan Williams

2008-07-21 Dan Williams <dcbw@redhat.com>

	* src/nm-pptp-service.c
		- (state_changed_cb): remove the timeout handler when it's no longer
			needed either; if pppd died on startup (wrong options) then the
			timeout wouldn't have been removed before



git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@3841 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
parent 481db502
2008-07-21 Dan Williams <dcbw@redhat.com>
* src/nm-pptp-service.c
- (state_changed_cb): remove the timeout handler when it's no longer
needed either; if pppd died on startup (wrong options) then the
timeout wouldn't have been removed before
2008-07-20 Dan Williams <dcbw@redhat.com>
Port to NM 0.7 VPN plugin API
......
......@@ -944,6 +944,7 @@ state_changed_cb (GObject *object, NMVPNServiceState state, gpointer user_data)
case NM_VPN_SERVICE_STATE_STARTED:
case NM_VPN_SERVICE_STATE_STOPPING:
case NM_VPN_SERVICE_STATE_STOPPED:
remove_timeout_handler (NM_PPTP_PLUGIN (object));
if (priv->service) {
g_object_unref (priv->service);
priv->service = NULL;
......
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