[gnome-control-center] network: vpn: disconnect signals from NM's objects
- From: Lionel Landwerlin <llandwerlin src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] network: vpn: disconnect signals from NM's objects
- Date: Wed, 15 May 2013 13:32:18 +0000 (UTC)
commit f9000c6f5eddc73523568557c6273d25b5503b69
Author: Lionel Landwerlin <llandwerlin gmail com>
Date: Wed May 15 12:11:23 2013 +0100
network: vpn: disconnect signals from NM's objects
https://bugzilla.gnome.org/show_bug.cgi?id=700379
panels/network/net-vpn.c | 9 +++++++++
1 files changed, 9 insertions(+), 0 deletions(-)
---
diff --git a/panels/network/net-vpn.c b/panels/network/net-vpn.c
index 31caddb..9125aa6 100644
--- a/panels/network/net-vpn.c
+++ b/panels/network/net-vpn.c
@@ -521,6 +521,15 @@ net_vpn_finalize (GObject *object)
g_object_unref (priv->active_connection);
}
+ g_signal_handlers_disconnect_by_func (priv->connection,
+ connection_vpn_state_changed_cb,
+ vpn);
+ g_signal_handlers_disconnect_by_func (priv->connection,
+ connection_removed_cb,
+ vpn);
+ g_signal_handlers_disconnect_by_func (priv->connection,
+ connection_changed_cb,
+ vpn);
g_object_unref (priv->connection);
g_free (priv->service_type);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]