[gnome-control-center] network: Fix crash in VPN when removing Wi-Fi connection
- From: Bastien Nocera <hadess src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: Fix crash in VPN when removing Wi-Fi connection
- Date: Tue, 7 Jun 2016 16:51:06 +0000 (UTC)
commit f5bcb2ed83ba420a3d5845a3857a062b50976601
Author: Bastien Nocera <hadess hadess net>
Date: Tue Jun 7 15:39:36 2016 +0200
network: Fix crash in VPN when removing Wi-Fi connection
Wrong number of arguments to the callback.
panels/network/net-vpn.c | 5 +++--
1 files changed, 3 insertions(+), 2 deletions(-)
---
diff --git a/panels/network/net-vpn.c b/panels/network/net-vpn.c
index 1fd7c93..4ed09e3 100644
--- a/panels/network/net-vpn.c
+++ b/panels/network/net-vpn.c
@@ -68,8 +68,9 @@ connection_changed_cb (NMConnection *connection,
}
static void
-connection_removed_cb (NMConnection *connection,
- NetVpn *vpn)
+connection_removed_cb (NMClient *client,
+ NMConnection *connection,
+ NetVpn *vpn)
{
NetVpnPrivate *priv = vpn->priv;
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]