mirror of
https://gitlab.freedesktop.org/NetworkManager/NetworkManager.git
synced 2026-01-11 21:30:20 +01:00
2005-12-12 Robert Love <rml@novell.com>
* src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function nm_vpn_manager_remove_connection() unless vpn is non-NULL. git-svn-id: http://svn-archive.gnome.org/svn/NetworkManager/trunk@1178 4912f4e0-d625-0410-9fb7-b9a5a253dbdc
This commit is contained in:
parent
e623ea3b22
commit
2dcaedf999
2 changed files with 7 additions and 1 deletions
|
|
@ -1,3 +1,8 @@
|
|||
2005-12-12 Robert Love <rml@novell.com>
|
||||
|
||||
* src/vpn-manager/nm-dbus-vpn.c: Do not call the lengthy-named function
|
||||
nm_vpn_manager_remove_connection() unless vpn is non-NULL.
|
||||
|
||||
2005-12-12 Robert Love <rml@novell.com>
|
||||
|
||||
* src/named-manager/nm-named-manager.c: Don't unref the config until
|
||||
|
|
|
|||
|
|
@ -391,7 +391,8 @@ static void nm_dbus_vpn_update_one_connection_cb (DBusPendingCall *pcall, void *
|
|||
|
||||
if (new)
|
||||
vpn = nm_vpn_manager_add_connection (cb_data->data->vpn_manager, con_name, service_name, user_name);
|
||||
nm_dbus_vpn_signal_vpn_connection_update (cb_data->data->dbus_connection, vpn, new ? "VPNConnectionAdded" : "VPNConnectionUpdate");
|
||||
if (vpn)
|
||||
nm_dbus_vpn_signal_vpn_connection_update (cb_data->data->dbus_connection, vpn, new ? "VPNConnectionAdded" : "VPNConnectionUpdate");
|
||||
}
|
||||
dbus_message_unref (reply);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue