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
This commit is contained in:
@@ -1,3 +1,10 @@
|
||||
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;
|
||||
|
Reference in New Issue
Block a user