[gnome-control-center] Disconnect wifi device changed callback
- From: Robert Ancell <rancell src gnome org>
- To: commits-list gnome org
- Cc:
- Subject: [gnome-control-center] Disconnect wifi device changed callback
- Date: Tue, 30 Jun 2020 04:04:59 +0000 (UTC)
commit f103ca3d04e3ead8c29780356c68468ec1fc10b0
Author: Jamison Lofthouse <jamison lofthouse gmail com>
Date: Wed Jun 24 17:50:38 2020 -0400
Disconnect wifi device changed callback
panels/network/cc-wifi-panel.c | 4 ++++
1 file changed, 4 insertions(+)
---
diff --git a/panels/network/cc-wifi-panel.c b/panels/network/cc-wifi-panel.c
index 95e01f28b..1c958621d 100644
--- a/panels/network/cc-wifi-panel.c
+++ b/panels/network/cc-wifi-panel.c
@@ -512,6 +512,10 @@ device_removed_cb (CcWifiPanel *self, NMDevice *device)
remove_wifi_device (self, device);
check_main_stack_page (self);
+
+ g_signal_handlers_disconnect_by_func (device,
+ G_CALLBACK (device_state_changed_cb),
+ self);
}
static void
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]