summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2013-09-12 10:55:55 +0200
committerThomas Haller <thaller@redhat.com>2013-09-12 15:45:01 +0200
commit1e4b7c8ad0c9d1ad95b4dd6b5db0ad421c23c94b (patch)
treeb95c33a8ca93cc3a833265429418300b428309ea
parent2a6842d0dc2a93f05d9f446680c4fd5f2f81fa3f (diff)
downloadnetwork-manager-applet-1e4b7c8ad0c9d1ad95b4dd6b5db0ad421c23c94b.tar.gz
editor: don't remove unsubscribed handlers in eap-method-leap/eap-method-simple
During destroy of the security dialogs EAPMethodSimple and EAPMethodLEAP, the handlers are unsubscribed from the widget. Remove the unsubscription of 'wireless_security_changed_cb', because this function is actually never subscribed to the widget. Signed-off-by: Thomas Haller <thaller@redhat.com>
-rw-r--r--src/wireless-security/eap-method-leap.c3
-rw-r--r--src/wireless-security/eap-method-simple.c3
2 files changed, 0 insertions, 6 deletions
diff --git a/src/wireless-security/eap-method-leap.c b/src/wireless-security/eap-method-leap.c
index 12e11c1c..ad5d3696 100644
--- a/src/wireless-security/eap-method-leap.c
+++ b/src/wireless-security/eap-method-leap.c
@@ -162,9 +162,6 @@ destroy (EAPMethod *parent)
g_signal_handlers_disconnect_by_func (G_OBJECT (widget),
(GCallback) widgets_unrealized,
method);
- g_signal_handlers_disconnect_by_func (G_OBJECT (widget),
- (GCallback) wireless_security_changed_cb,
- method->ws_parent);
wireless_security_unref (method->ws_parent);
}
diff --git a/src/wireless-security/eap-method-simple.c b/src/wireless-security/eap-method-simple.c
index 401eeb21..c7068546 100644
--- a/src/wireless-security/eap-method-simple.c
+++ b/src/wireless-security/eap-method-simple.c
@@ -266,9 +266,6 @@ destroy (EAPMethod *parent)
g_signal_handlers_disconnect_by_func (G_OBJECT (widget),
(GCallback) widgets_unrealized,
method);
- g_signal_handlers_disconnect_by_func (G_OBJECT (widget),
- (GCallback) wireless_security_changed_cb,
- method->ws_parent);
wireless_security_unref (method->ws_parent);
}