[gnome-control-center] network: Fix crash in VPN when removing Wi-Fi connection



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]